freebsd-skq/sys/dev
Brooks Davis 9bf40ede4a Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
..
aac Change all SYSCTLS which are readonly and have a related TUNABLE 2003-10-21 18:28:36 +00:00
acpica Add devctl(4) notify support to ACPI. Various subsystems now notify 2003-10-25 05:03:25 +00:00
adlink The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
advansys Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
agp Add simple support for AGP 3.0 including enabling 8x mode. The simple 2003-10-23 18:08:56 +00:00
aha Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ahb Make this at least compile on 64 bit platforms. Its been breaking 2003-07-30 20:09:22 +00:00
aic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
aic7xxx 0x7FFFFFFFFF is >32 bits and needs an explicit LL. 2003-10-23 13:42:03 +00:00
amd Prefer new location of pci include files (which have only been in the 2003-08-22 05:54:52 +00:00
amr crashdump support. 2003-10-10 22:49:40 +00:00
an Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ar Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
asr Remove code previously under #ifdef ASR_VERY_BROKEN 2003-09-26 15:56:42 +00:00
ata Add support for the VIA 8237 (both PATA and SATA part). 2003-10-30 13:16:21 +00:00
ath Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
atkbdc Assign keycodes for Power, Sleep and Wake keys. 2003-10-07 09:21:59 +00:00
awi Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bfe Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
bktr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
buslogic Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
cardbus remove obsolete quirks for cardbus cis. none have proven to be needed. 2003-10-07 03:40:17 +00:00
ciss Print the correct logical drive lun number returned by the controller. 2003-10-15 18:52:44 +00:00
cm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cnw Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
cs Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ct Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cy MFsio (sio.c 1.413: cleaned up and fixed setting of speeds in comparam()). 2003-09-27 12:40:23 +00:00
dc Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
dcons Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
de Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dgb Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
digi Eliminate bogus use of makedev(): rather than synthesize the dev_t, use 2003-09-26 09:05:57 +00:00
dpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
drm Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL) 2003-10-24 21:45:21 +00:00
ed Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
en Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ep Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ex Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
exca Card type stuff was backwards, so assume io for the moment. mem needs 2003-10-07 04:29:04 +00:00
fatm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
fb Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
fdc Look at the equipment list for amd64 as well as i386 for autodetecting 2003-10-23 05:52:52 +00:00
fe Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
firewire Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
fxp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
gem Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
gfb Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
gx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
harp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
hatm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
hea Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hfa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hifn Add symmetric crypto support for the 7955 and 7956. 2003-10-08 20:25:47 +00:00
hme Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ic Added definitions of most of the interesting 16950 register numbers 2003-09-16 14:21:17 +00:00
ichsmb Update the comment to indicate ICH5 support 2003-08-31 19:23:00 +00:00
ida Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
idt Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ie Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iicbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
iir Update email addresses, copyrights, and tweak the management interface. 2003-09-26 15:36:47 +00:00
ips Eliminate reporting of bio_blkno. 2003-10-18 17:28:36 +00:00
isp Turn off ISP_SMPLOCK- not to be turned on again. 2003-10-21 21:52:23 +00:00
ispfw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
joy Use __FBSDID(). 2003-08-24 17:55:58 +00:00
kbd Assign keycodes for Power, Sleep and Wake keys. 2003-10-07 09:21:59 +00:00
lge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
lmc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lnc Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
matcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
md Don't initialize unused bio_blkno field. 2003-10-18 11:25:42 +00:00
mii Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Prepare for locking mlx(4) by cleaning up the use of busdma. No real 2003-09-02 08:30:31 +00:00
mly Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mse Use __FBSDID(). 2003-06-02 16:32:55 +00:00
musycc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
my Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ncv Const poison string accessor functions. 2003-10-26 00:51:40 +00:00
nge Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
nmdm I don't know from where the notion that device driver should or 2003-09-28 20:48:13 +00:00
nsp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
null Mark as __unused some arguments that are, erm, unused. 2003-10-18 09:16:01 +00:00
ofw Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
owi Fix a race condition in owi. If you eject a card, then the wi_inquire 2003-10-14 05:25:31 +00:00
patm Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
pccard sync to 1.77 2003-10-27 05:37:34 +00:00
pccbb Backswards is as backwards does: If we're MPSAFE, then we don't need 2003-10-24 07:20:13 +00:00
pcf fix another LP64 problem. READ_IVAR takes a pointer to an uintptr_t, not 2003-06-20 07:22:54 +00:00
pci Change all SYSCTLS which are readonly and have a related TUNABLE 2003-10-21 18:28:36 +00:00
pcic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pdq Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppbus Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
ppc Forgot an added file in the last commit. 2003-08-01 05:02:55 +00:00
pst Dont re-arm the timeout twice on a timeout error. 2003-09-08 06:28:50 +00:00
puc const char ** needs to be passed, not char **. 2003-10-27 06:41:40 +00:00
raidframe Use bio_offset instead of bio_blkno 2003-10-18 17:26:13 +00:00
random Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ray Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
rc Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
re Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
sab OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00
safe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
sbni Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
sbsh Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
scd Discontinue bio_blkno, use bio_offset instead. 2003-10-18 17:44:01 +00:00
sf Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
si Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sio Include pccard/pccard_cis.h here too 2003-10-07 04:26:14 +00:00
sk Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
smbus No need for a separate nfpm driver now - amdpm handles both. 2003-09-06 13:58:06 +00:00
sn Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
snc Use __FBSDID(). 2003-08-24 18:03:45 +00:00
snp Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sound Don't attempt to destroy the driver mutex when it hasn't yet 2003-10-29 21:54:37 +00:00
speaker Use __FBSDID(). 2003-06-02 16:32:55 +00:00
sr Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
stg Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
streams falloc allocates a file structure and adds it to the file descriptor 2003-10-19 20:41:07 +00:00
sym Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
syscons Fix a panic that occurs when resuming. For some reason, sc->cur_scp is 2003-10-29 20:48:13 +00:00
tdfx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
tga Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ti Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
trm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
twe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
tx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
txp Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
uart Include pccard/pccard_cis.h here too 2003-10-07 04:26:14 +00:00
ubsec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
usb Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
utopia Generate events when the carrier goes up or down. 2003-07-30 08:35:58 +00:00
vinum Do not initialize bp->b_pblkno, it is going away. 2003-10-18 17:57:48 +00:00
vr Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
vx Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
wl Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
xe Replace the if_name and if_unit members of struct ifnet with new members 2003-10-31 18:32:15 +00:00
zs OK, I messed up /dev/console with what I had hoped would be compat 2003-09-26 19:35:50 +00:00