diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-04-16 21:29:55 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-04-16 21:29:55 +0000 |
commit | 5cac23bef1739648ecf1bea4eecebaecfae51fd4 (patch) | |
tree | be08d49653307a83e00f5c40df0252e99c1b98f8 /sys | |
parent | ee5876a9425ff09916547f60f3edd5fdaba40d4e (diff) |
move prototypes of dc_eeprom_width, dc_read_srom, and dc_parse_21143_srom to dcreg.h and out of the bus specific drivers
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cardbus/if_dc_cardbus.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/dcreg.h | 5 | ||||
-rw-r--r-- | sys/dev/pci/if_dc_pci.c | 6 |
3 files changed, 6 insertions, 11 deletions
diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c index b3df0655bbb..8203364e71c 100644 --- a/sys/dev/cardbus/if_dc_cardbus.c +++ b/sys/dev/cardbus/if_dc_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_cardbus.c,v 1.9 2002/03/14 01:26:53 millert Exp $ */ +/* $OpenBSD: if_dc_cardbus.c,v 1.10 2002/04/16 21:29:54 jason Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -57,10 +57,6 @@ int dc_cardbus_detach(struct device *, int); void dc_cardbus_setup(struct dc_cardbus_softc *csc); -extern void dc_eeprom_width(struct dc_softc *); -extern void dc_read_srom(struct dc_softc *, int); -extern void dc_parse_21143_srom(struct dc_softc *); - struct cfattach dc_cardbus_ca = { sizeof(struct dc_cardbus_softc), dc_cardbus_match, dc_cardbus_attach, dc_cardbus_detach diff --git a/sys/dev/ic/dcreg.h b/sys/dev/ic/dcreg.h index a8a650a07aa..aa50f945255 100644 --- a/sys/dev/ic/dcreg.h +++ b/sys/dev/ic/dcreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dcreg.h,v 1.22 2002/03/14 01:26:54 millert Exp $ */ +/* $OpenBSD: dcreg.h,v 1.23 2002/04/16 21:29:54 jason Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1008,6 +1008,9 @@ extern void dc_attach(struct dc_softc *); extern int dc_detach(struct dc_softc *); extern int dc_intr(void *); extern void dc_reset(struct dc_softc *); +extern void dc_eeprom_width(struct dc_softc *); +extern void dc_read_srom(struct dc_softc *, int); +extern void dc_parse_21143_srom(struct dc_softc *); #if BYTE_ORDER == BIG_ENDIAN #define DC_SP_FIELD_C(x) ((x) << 16) diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c index f8f5c5422aa..ff14a130351 100644 --- a/sys/dev/pci/if_dc_pci.c +++ b/sys/dev/pci/if_dc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_pci.c,v 1.30 2002/04/01 18:41:47 nate Exp $ */ +/* $OpenBSD: if_dc_pci.c,v 1.31 2002/04/16 21:29:54 jason Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -106,10 +106,6 @@ int dc_pci_match(struct device *, void *, void *); void dc_pci_attach(struct device *, struct device *, void *); void dc_pci_acpi(struct device *, void *); -extern void dc_eeprom_width(struct dc_softc *); -extern void dc_read_srom(struct dc_softc *, int); -extern void dc_parse_21143_srom(struct dc_softc *); - /* * Probe for a 21143 or clone chip. Check the PCI vendor and device * IDs against our list and return a device name if we find a match. |