diff options
author | Warner Losh <imp@FreeBSD.org> | 2000-12-26 06:38:04 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2000-12-26 06:38:04 +0000 |
commit | cc9e9343cdab406a20340524ead36981473ec609 (patch) | |
tree | 718aee02190fbca989398c99068d30ee16054be7 /sys/dev/ed/if_ed_isa.c | |
parent | 04ef3c0301734071192811fe1a69b7acd02dd6bc (diff) | |
download | src-cc9e9343cdab406a20340524ead36981473ec609.tar.gz src-cc9e9343cdab406a20340524ead36981473ec609.zip |
Minor newbus/style(9) cleanups.
o Move the ax88190 code to its own function.
o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the
end of files.
o Wrap a few lines > 80 characters.
o Use the same devclass for all ed drivers. This allows machines with
multiple types of cards to have their cards numbered correctly. Before,
you could wind up with two ed0's.
o Protect if_edvar.h from multiple includes because I was there.
Notes
Notes:
svn path=/head/; revision=70355
Diffstat (limited to 'sys/dev/ed/if_ed_isa.c')
-rw-r--r-- | sys/dev/ed/if_ed_isa.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c index 18e5ceac9995..fe00356d94e4 100644 --- a/sys/dev/ed/if_ed_isa.c +++ b/sys/dev/ed/if_ed_isa.c @@ -151,6 +151,4 @@ static driver_t ed_isa_driver = { sizeof(struct ed_softc) }; -static devclass_t ed_isa_devclass; - -DRIVER_MODULE(if_ed, isa, ed_isa_driver, ed_isa_devclass, 0, 0); +DRIVER_MODULE(if_ed, isa, ed_isa_driver, ed_devclass, 0, 0); |