summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_edvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-12-26 06:38:04 +0000
committerimp <imp@FreeBSD.org>2000-12-26 06:38:04 +0000
commite60a899d719914bd1c04c0647458145c90c8276f (patch)
tree75be47731d13c8e57800415deb308132bad98de1 /sys/dev/ed/if_edvar.h
parent3952616eceff82bad15fb54dfa34cb453a132a7a (diff)
downloadFreeBSD-src-e60a899d719914bd1c04c0647458145c90c8276f.zip
FreeBSD-src-e60a899d719914bd1c04c0647458145c90c8276f.tar.gz
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.
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r--sys/dev/ed/if_edvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h
index 7dcd2f4..d4e896f 100644
--- a/sys/dev/ed/if_edvar.h
+++ b/sys/dev/ed/if_edvar.h
@@ -27,6 +27,8 @@
* $FreeBSD$
*/
+#ifndef SYS_DEV_ED_IF_EDVAR_H
+#define SYS_DEV_ED_IF_EDVAR_H
/*
* ed_softc: per line info and status
*/
@@ -206,3 +208,5 @@ void ed_pio_writemem __P((struct ed_softc *, char *,
driver_intr_t edintr;
+extern devclass_t ed_devclass;
+#endif /* SYS_DEV_ED_IF_EDVAR_H */
OpenPOWER on IntegriCloud