NetBSD/sys/dev/usb
dyoung 5493f188c7 KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous
parentheses in return statements.

Cosmetic: don't open-code TAILQ_FOREACH().

Cosmetic: change types of variables to avoid oodles of casts: in
   in6_src.c, avoid casts by changing several route_in6 pointers
   to struct route pointers.  Remove unnecessary casts to caddr_t
   elsewhere.

Pave the way for eliminating address family-specific route caches:
   soon, struct route will not embed a sockaddr, but it will hold
   a reference to an external sockaddr, instead.  We will set the
   destination sockaddr using rtcache_setdst().  (I created a stub
   for it, but it isn't used anywhere, yet.)  rtcache_free() will
   free the sockaddr.  I have extracted from rtcache_free() a helper
   subroutine, rtcache_clear().  rtcache_clear() will "forget" a
   cached route, but it will not forget the destination by releasing
   the sockaddr.  I use rtcache_clear() instead of rtcache_free()
   in rtcache_update(), because rtcache_update() is not supposed
   to forget the destination.

Constify:

   1 Introduce const accessor for route->ro_dst, rtcache_getdst().

   2 Constify the 'dst' argument to ifnet->if_output().  This
     led me to constify a lot of code called by output routines.

   3 Constify the sockaddr argument to protosw->pr_ctlinput.  This
     led me to constify a lot of code called by ctlinput routines.

   4 Introduce const macros for converting from a generic sockaddr
     to family-specific sockaddrs, e.g., sockaddr_in: satocsin6,
     satocsin, et cetera.
2007-02-17 22:34:07 +00:00
..
devlist2h.awk merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ehci.c The diagnostic code doesn't track busy_free correctly when a 2007-02-10 07:52:29 +00:00
ehcireg.h It is sufficient to have the members volatile. 2006-10-09 11:38:54 +00:00
ehcivar.h Remove the code which disables port status change interrupts for 1s 2007-01-07 16:44:44 +00:00
ezload.c Coverity CID 729: Remove dead code. 2006-04-14 17:21:17 +00:00
ezload.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
FILES The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219. 2006-08-19 16:35:02 +00:00
files.usb Add device driver for Microsoft Xbox controller. Exposes itself as a 2007-01-05 17:16:22 +00:00
hid.c Bluetooth fixes by Iain Hibbert: 2006-07-26 10:40:50 +00:00
hid.h Bluetooth fixes by Iain Hibbert: 2006-07-26 10:40:50 +00:00
if_atu.c Spell "separate" correctly. From Zafer Aydogan. 2006-12-25 18:39:47 +00:00
if_atureg.h Spell "separate" correctly. From Zafer Aydogan. 2006-12-25 18:39:47 +00:00
if_aue.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_auereg.h aue_ioctl() for the murpose of adding/deleting multicast addresses is called 2006-09-15 10:47:34 +00:00
if_axe.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_axereg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_cdce.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_cdcereg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_cue.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_cuereg.h
if_kue.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_kuereg.h
if_rum.c PR/35552: Yojiro UO: add new devices for rum(4) 2007-02-06 14:30:09 +00:00
if_rumreg.h Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD. 2006-10-31 22:21:16 +00:00
if_rumvar.h Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD. 2006-10-31 22:21:16 +00:00
if_udav.c change some commented-out code to use the interrupt descriptor's polling 2006-12-01 20:56:42 +00:00
if_udavreg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
if_upl.c KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous 2007-02-17 22:34:07 +00:00
if_ural.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
if_uralreg.h Patches contributed by KIYOHARA Takashi, taken from FreeBSD. 2006-07-05 18:46:42 +00:00
if_uralvar.h Move AMRR code out of wpi(4) and ural(4) into net80211 itself. 2006-10-31 21:53:41 +00:00
if_url.c change some commented-out code to use the interrupt descriptor's polling 2006-12-01 20:56:42 +00:00
if_urlreg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
kue_fw.h
Makefile integrate kauth. 2006-05-14 21:42:26 +00:00
Makefile.usbdevs
ohci.c The diagnostic code doesn't track busy_free correctly when a 2007-02-10 07:52:29 +00:00
ohcireg.h Add the 'volatile' qualifier to all descriptor fields to prevent the 2006-10-08 11:52:48 +00:00
ohcivar.h changes for making DIAGNOSTIC not change the kernel ABI: 2005-12-27 04:06:45 +00:00
TODO Remove an item - uhidev(4) now exists. 2005-03-13 08:21:50 +00:00
uaudio.c Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
uaudioreg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ubsa.c Add support for CDMA modems sold by Eurotel (now O2) in .cz 2007-02-10 14:28:55 +00:00
ubt.c merge yamt-splraiseipl branch. 2006-12-21 15:55:21 +00:00
ucom.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ucomvar.h cleanup more SET/CLR/ISSET lossage 2006-03-05 17:33:33 +00:00
ucycom.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
udsbr.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uep.c Tidy away wsmouse_input() abstractions and update 2006-11-12 19:00:42 +00:00
uftdi.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
uftdireg.h
ugen.c Restore compatibility of USB_DEVICEINFO ioctl and reads from /dev/usb with 2006-12-03 22:34:58 +00:00
ugensa.c Add Novatel Merlin, used in VZ V620. 2007-02-05 15:13:28 +00:00
ugraphire_rdesc.h The Graphire's are 4x5 and 6x8, not 4x6. 2007-01-22 19:48:57 +00:00
uhci.c The diagnostic code doesn't track busy_free correctly when a 2007-02-10 07:52:29 +00:00
uhcireg.h Add the 'volatile' qualifier to all descriptor fields to prevent the 2006-10-08 11:52:48 +00:00
uhcivar.h changes for making DIAGNOSTIC not change the kernel ABI: 2005-12-27 04:06:45 +00:00
uhid.c Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
uhidev.c Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by 2007-01-22 19:39:37 +00:00
uhidev.h Normally a ugen device only attaches if no other driver wants the device. 2005-11-23 08:54:47 +00:00
uhub.c Allocate storage for status change notifications dynamically, depending 2007-01-07 16:50:02 +00:00
uipaq.c PR kern/35527 - Patch applied, thanks! 2007-01-31 10:09:17 +00:00
uirda.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ukbd.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ukbdmap.c Fix apostrophe key on Spanish keyboards. 2006-03-18 17:33:16 +00:00
ukbdvar.h
ukyopon.c Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
ukyopon.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ulpt.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
umass_isdata.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
umass_isdata.h
umass_quirks.c PR/35385: Mihai Chelaru: Add a quirk for the Sony Cybershot USB camera, which 2007-01-09 16:46:02 +00:00
umass_quirks.h
umass_scsipi.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
umass_scsipi.h
umass.c PR/35385: Mihai Chelaru: Add a quirk for the Sony Cybershot USB camera, which 2007-01-09 16:46:02 +00:00
umassvar.h PR/35385: Mihai Chelaru: Add a quirk for the Sony Cybershot USB camera, which 2007-01-09 16:46:02 +00:00
umct.c Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
umct.h
umidi_quirks.c fix initializers. 2006-09-03 21:28:03 +00:00
umidi_quirks.h fix initializers. 2006-09-03 21:28:03 +00:00
umidi.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
umidireg.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
umidivar.h Ankh-Morpork, we have a MIDI driver.... 2006-06-30 13:56:25 +00:00
umodem_common.c Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
umodem.c Remove more duplicate headers. 2007-01-29 01:52:43 +00:00
umodemvar.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ums.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
uplcom.c add an entry for Willcom WS002IN PHS device(Prolific Technology PL2303X). 2007-01-31 10:11:50 +00:00
urio.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
urio.h
usb_mem.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
usb_mem.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
usb_port.h __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
usb_quirks.c Add support for CDMA modems sold by Eurotel (now O2) in .cz 2007-02-10 14:28:55 +00:00
usb_quirks.h In usbd_set_config_index(), remove the code which tries to draw conclusions 2007-01-19 22:42:05 +00:00
usb_subr.c There are devices which don't report the "self powered" state correctly 2007-01-24 12:36:56 +00:00
usb.c Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
usb.h Kill the "bus powered" bit in the configuration descriptor. This doesn't 2007-01-19 22:46:21 +00:00
usbcdc.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
usbdevices.config Add utoppy* at uhub? 2006-04-03 08:53:22 +00:00
usbdevs Add support for CDMA modems sold by Eurotel (now O2) in .cz 2007-02-10 14:28:55 +00:00
usbdevs_data.h regen. 2007-02-10 14:30:38 +00:00
usbdevs.h regen. 2007-02-10 14:30:38 +00:00
usbdi_util.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
usbdi_util.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
usbdi.c The diagnostic code doesn't track busy_free correctly when a 2007-02-10 07:52:29 +00:00
usbdi.h fix compilation issues. 2006-12-05 17:35:35 +00:00
usbdivar.h -comment out transaction translator support for now, it doesn't do more 2006-12-01 20:48:50 +00:00
usbhid.h enable 'Application Control Pan' in Consumer usage group as an equivalent 2006-10-31 19:17:04 +00:00
uscanner.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
usscanner.c If no scsibus is configured, do not silently fail the attach but print 2006-11-26 20:14:41 +00:00
ustir.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
ustirreg.h
utoppy.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
utoppy.h Add a kernel driver and userland program for the Topfield TF5000PVR range 2006-04-03 08:15:48 +00:00
uvisor.c In detach(), check for incomplete initialisation which might happen if 2007-01-24 12:26:49 +00:00
uvscom.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
uyap_firmware.h merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uyap.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
xboxcontroller.c Change left/right/middle click to be left-stick-click, right-stick-click, 2007-01-07 19:08:05 +00:00