freebsd-nq/sys/dev/usb
Marius Strobl 10d8cebc7a Refine the previous change to only call bus_dmamap_sync() in case of
an URQ_REQUEST when DMA segments are passed to usbd_start_transfer();
when the request doesn't include the optional data buffer the size of
the transfer (xfer->length) is 0, in which case usbd_transfer() won't
create a DMA map but call usbd_start_transfer() with no DMA segments.
With the previous change this could result in the bus_dmamap_sync()
implementation dereferencing the NULL-pointer passed as the DMA map
argument.
While at it fix what appears to be a typo in usbd_start_transfer();
in order to determine wheter usbd_start_transfer() was called with
DMA segments check whether the number of segments is > 0 rather than
the pointer to them being > 0.

OK'ed by:	imp
2006-11-27 18:39:02 +00:00
..
dsbr100io.h
ehci_pci.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ehci.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
ehcireg.h ehcivar.h: 2005-09-18 11:45:39 +00:00
ehcivar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
FILES Acknowledge (dearly) departed files 2006-11-21 22:29:06 +00:00
hid.c s/Static/static/g 2006-09-06 23:44:25 +00:00
hid.h
if_aue.c Add support for Netgear FA101 ethernet USB NIC. 2006-10-07 17:58:50 +00:00
if_auereg.h
if_axe.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
if_axereg.h Add a sleep lock that protects access to sequences of blocking 2006-06-04 14:42:38 +00:00
if_cdce.c Add support for Familiar Linux powered iPaq handhelds to cdce(4). 2006-10-07 17:35:37 +00:00
if_cdcereg.h Add dummy support for ifmedia subsystem. This allows devd to see cdce as an 2005-09-26 05:29:46 +00:00
if_cue.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
if_cuereg.h
if_kue.c Add support for Psion Gold Port Ethernet USB NIC. 2006-10-07 18:03:39 +00:00
if_kuereg.h
if_rue.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
if_ruereg.h
if_udav.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
if_udavreg.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
if_ural.c add codes for Atheros USB devices; shuffle one ural code to 2006-11-23 00:50:48 +00:00
if_uralreg.h o fix initialization sequence. 2006-01-21 10:25:51 +00:00
if_uralvar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
kue_fw.h s/Static/static/g 2006-09-06 23:44:25 +00:00
ohci_pci.c add a newbus method for obtaining the bus's bus_dma_tag_t... This is 2006-09-03 00:27:42 +00:00
ohci.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
ohcireg.h Use the limited scatter-gather capabilities of ehci, ohci and uhci 2006-05-28 05:27:09 +00:00
ohcivar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
rio500_usb.h
sl811hs.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
sl811hsreg.h
sl811hsvar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
slhci_pccard.c Remove OLDCARD shims 2005-09-22 05:06:37 +00:00
uark.c o Add uark(4), a driver for Arkmicro Technologies ARK3116 based serial 2006-11-15 09:13:25 +00:00
ubsa.c Add support for Option GT 3G/3G quad datacard in ubsa. 2006-10-31 02:27:24 +00:00
ubser.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ubser.h
ucom.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ucomvar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ucycom.c Eliminate two unused arguments to ttycreate(). 2005-10-16 20:22:56 +00:00
udbp.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
udbp.h
ufm.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ufoma.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uftdi.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uftdireg.h
ugen.c More antideclarification. 2006-09-06 23:29:53 +00:00
ugraphire_rdesc.h Add support for the Wacom Graphire 3 4x5. Like the Graphire 3, it has a 2005-12-31 04:38:50 +00:00
uhci_pci.c Use the limited scatter-gather capabilities of ehci, ohci and uhci 2006-05-28 05:27:09 +00:00
uhci.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
uhcireg.h
uhcivar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uhid.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uhub.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ukbd.c Fix non-working CAPS LED under X by applying fix from atkbd.c,v 1.27: 2006-10-25 12:22:19 +00:00
ulpt.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
umass.c 2nd and final commit that moves us to CAM_NEW_TRAN_CODE 2006-11-02 00:54:38 +00:00
umct.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
umodem.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
ums.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uplcom.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
urio.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
usb_ethersubr.c s/Static/static/g 2006-09-06 23:44:25 +00:00
usb_ethersubr.h
usb_if.m
usb_mem.c s/Static/static/g 2006-09-06 23:44:25 +00:00
usb_mem.h
usb_port.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
usb_quirks.c Add entry and no-UHID quirk for I-tuner networks USB-LCD 2x20 as found 2006-11-26 11:07:37 +00:00
usb_quirks.h Add a UQ_OPEN_CLEARSTALL quirk for devices that need a clear-stall 2006-02-19 14:48:02 +00:00
usb_subr.c When changing the device address and max packet size in usbd_new_device(), 2006-10-03 01:13:26 +00:00
usb.c Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
usb.h s/Static/static/g 2006-09-06 23:44:25 +00:00
usbcdc.h
usbdevs Add entry and no-UHID quirk for I-tuner networks USB-LCD 2x20 as found 2006-11-26 11:07:37 +00:00
usbdi_util.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
usbdi_util.h s/Static/static/g 2006-09-06 23:44:25 +00:00
usbdi.c Refine the previous change to only call bus_dmamap_sync() in case of 2006-11-27 18:39:02 +00:00
usbdi.h Use a different task queue for host controller and peripheral driver 2006-10-19 01:15:58 +00:00
usbdivar.h More removing compatibility macros. 2006-09-07 00:06:42 +00:00
usbhid.h
uscanner.c Add support for Epson Stylus CX4200 in uscanner(4). 2006-10-07 18:09:27 +00:00
uvisor.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uvscom.c More removing compatibility macros. 2006-09-07 00:06:42 +00:00
uxb360gp_rdesc.h Add support for the Wacom Graphire 3 4x5. Like the Graphire 3, it has a 2005-12-31 04:38:50 +00:00