freebsd-skq/sys/dev
Bill Paul 0355003f26 Un-do the changes to the DRIVER_MODULE() declarations in these drivers.
This whole idea isn't going to work until somebody makes the bus/kld
code smarter. The idea here is to change the module's internal name
from "foo" to "if_foo" so that ifconfig can tell a network driver from
a non-network one. However doing this doesn't work correctly no matter
how you slice it. For everything to work, you have to change the name
in both the driver_t struct and the DRIVER_MODULE() declaration. The
problems are:

- If you change the name in both places, then the kernel thinks that
  the device's name is now "if_foo", so you get things like:

if_foo0: <FOO ethernet> irq foo at device foo on pcifoo
if_foo0: Ethernet address: foo:foo:foo:foo:foo:foo

  This is bogus. Now the device name doesn't agree with the logical
  interface name. There's no reason for this, and it violates the
  principle of least astonishment.

- If you leave the name in the driver_t struct as "foo" and only
  change the names in the DRIVER_MODULE() declaration to "if_foo" then
  attaching drivers to child devices doesn't work because the names don't
  agree. This breaks miibus: drivers that need to have miibuses and PHY
  drivers attached never get them.

In other words: damned if you do, damned if you don't.

This needs to be thought through some more. Since the drivers that
use miibus are broken, I have to change these all back in order to
make them work again. Yes this will stop ifconfig from being able
to demand load driver modules. On the whole, I'd rather have that
than having the drivers not work at all.
1999-09-20 19:06:45 +00:00
..
advansys Fix a compile warning. 1999-09-11 16:03:57 +00:00
aha Remove vestiges of old pnp code. 1999-09-03 20:11:25 +00:00
ahb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
aic7xxx Clear the SELINGO bit after a selection timeout occurs. SELINGO is 1999-09-20 19:04:22 +00:00
amd Properly set the alignment argument to bus_dma_tag_create(). If we 1999-08-16 01:52:21 +00:00
ar $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ata Use devstat_end_transaction_buf() rather than Use devstat_end_transaction() 1999-09-18 21:30:27 +00:00
atkbdc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bktr Update to driver release 1.74 1999-09-17 21:28:23 +00:00
buslogic This adds support for the Buslogic/Bustek/Storage Dimensions 1999-09-03 03:50:55 +00:00
ccd Use devstat_end_transaction_buf() rather than Use devstat_end_transaction() 1999-09-18 21:30:27 +00:00
cs Stub out the old pnp code till these are converted so GENERIC builds again. 1999-09-02 04:37:07 +00:00
cy $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
de Add missing include. 1999-08-21 21:35:59 +00:00
dec $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dgb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dpt $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ed Make if_ed work again on pci, isa, isapnp. The hack to make it work on 1999-09-20 05:48:16 +00:00
eisa $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
en Clean up after removing sys/eventhandler.h from sys/systm.h at the last 1999-08-21 22:10:49 +00:00
ep This adds support for the 3Com Megahertz 574B ethernet 16-bit PC-Card. 1999-09-19 06:20:23 +00:00
ex $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
fdc Two more devstat_end_transaction() -> devstat_end_transaction_buf(). 1999-09-19 12:43:34 +00:00
fe C-NET(9N)C support (PC-98 only). 1999-08-31 12:37:35 +00:00
fxp Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
hea $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
hfa Fixed printf format errors (don't assume that ntohl() returns u_long; 1999-08-29 10:28:10 +00:00
ic $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ida Use devstat_end_transaction_buf() rather than Use devstat_end_transaction() 1999-09-18 21:30:27 +00:00
ie $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
iicbus $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
isp $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
joy Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +00:00
kbd $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lnc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
mc146818 Major changes to the generic device framework for FreeBSD/alpha: 1998-06-14 13:46:10 +00:00
mca This is the rest of the MCA support; new_bus code to be exact. 1999-09-03 03:40:00 +00:00
mcd Trying to set BAD144 handling on a CD is sufficiently "Dont Do That 1999-09-20 17:06:29 +00:00
mii Allow the AMD PHY driver to support the DM9101 PHY. The DM9101 and the 1999-09-19 21:56:08 +00:00
mse $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pccard $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pcf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pci Handle for passthru resource release correctly. 1999-09-03 04:30:01 +00:00
pcm Fix the "dsp sync" debugging printf that was unconditional. Fix a few 1999-09-19 09:53:57 +00:00
pdq $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppbus $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppc $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
rc Convert DEVFS hooks in (most) drivers to make_dev(). 1999-08-23 20:59:21 +00:00
rp $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
scd Trying to set BAD144 handling on a CD is sufficiently "Dont Do That 1999-09-20 17:06:29 +00:00
sf Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
si Null commit to get last commit message recorded: 1999-08-30 20:52:14 +00:00
sio Make it build, copy from dev/sio/sio.c: 1999-09-08 13:46:54 +00:00
sk Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
smbus $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
snp $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sound Fix the "dsp sync" debugging printf that was unconditional. Fix a few 1999-09-19 09:53:57 +00:00
speaker $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
streams $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscons - Hang the scr_stat struct from dev_t. 1999-09-19 08:58:53 +00:00
ti Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
tx $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
usb Typo: 'x' should be 'y' (only affects debugging output) 1999-09-01 21:37:56 +00:00
vinum Changes to centralise the default blocksize behaviour. 1999-09-09 19:08:44 +00:00
vn Fix the situation where an I/O crosses the EOF point. We need to properly 1999-09-20 18:06:17 +00:00
vr Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
vx $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
wi $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
wl wlinit() must be called to recalculate the multicast filter. 1999-09-15 12:49:03 +00:00
xe $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00