Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/usb_pci.c
RevisionDateAuthorComments
 1.9  31-Mar-2025  riastradh ehci(4): Make usb_*_rem work as noop on zero-initialized input.

This way, if some *hci_attach function fails before usb_*_add, the
caller need not maintain boolean state to decide whether to call
usb_*_rem on detach -- it'll just work without extra effort.

Cleanup in preparation for:

PR port-amd64/59180: System reboots instead of shutting down
 1.8  31-Mar-2025  riastradh ehci(4): Sprinkle KERNEL_LOCKED_P and KNF on usb_*_add/rem.

Mark with XXXSMP comments to be fixed later without the kernel lock.

No functional change intended: callers generally do this from
autoconf *_attach/detach routines, which run kernel-locked anyway
(for the moment).

Cleanup in preparation for:

PR port-amd64/59180: System reboots instead of shutting down
 1.7  28-Apr-2008  martin branches: 1.7.126;
Remove clause 3 and 4 from TNF licenses
 1.6  28-Mar-2008  drochner branches: 1.6.2; 1.6.4;
split device/softc for USB host controllers and the usb (control)
device,
this is hairy stuff, and I've only tested with uhci/ehci at pci,
please test the rest and report problems
 1.5  11-Dec-2005  christos branches: 1.5.70;
merge ktrace-lwp.
 1.4  21-Dec-2004  fvdl Implement an USB memory reserve. Allocate some memory per host controller
in the wanted bus_dma space. If an allocation fails during operation
(i.e. when hotplugging an umass device), fall back to using the reserve.

The amount can be configured as USB_MEM_RESERVE. The default value is
256k.

Ideally, there would be a way to steal pages in the desired area from
UVM, but that's far more complicated, and this is not intrusive, plus
it works.
 1.3  14-Feb-2002  augustss branches: 1.3.16; 1.3.22;
Use the correct years for copyright.
 1.2  12-Jan-2002  enami Make ehci_pci.c compiles again.
 1.1  09-Jan-2002  augustss branches: 1.1.2; 1.1.4;
Split out some code so you can have cardbus ehci without pci.
 1.1.4.3  17-Apr-2002  nathanw Catch up to -current.
 1.1.4.2  11-Jan-2002  nathanw More catchup.
 1.1.4.1  09-Jan-2002  nathanw file usb_pci.c was added on branch nathanw_sa on 2002-01-11 23:39:28 +0000
 1.1.2.4  16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.3  11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1  09-Jan-2002  thorpej file usb_pci.c was added on branch kqueue on 2002-01-10 19:57:08 +0000
 1.3.22.1  13-May-2005  riz Pull up revision 1.4 (requested by bad in ticket #1479):
Implement an USB memory reserve. Allocate some memory per host controller
in the wanted bus_dma space. If an allocation fails during operation
(i.e. when hotplugging an umass device), fall back to using the reserve.
The amount can be configured as USB_MEM_RESERVE. The default value is
256k.
Ideally, there would be a way to steal pages in the desired area from
UVM, but that's far more complicated, and this is not intrusive, plus
it works.
 1.3.16.1  17-Jan-2005  skrll Sync with HEAD.
 1.5.70.2  02-Jun-2008  mjf Sync with HEAD.
 1.5.70.1  03-Apr-2008  mjf Sync with HEAD.
 1.6.4.1  16-May-2008  yamt sync with head.
 1.6.2.1  18-May-2008  yamt sync with head.
 1.7.126.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed