diff options
author | imp <imp@FreeBSD.org> | 2005-02-08 05:59:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-08 05:59:43 +0000 |
commit | 92b8d4843ebd3baaf5e64c6d9d81eeb24c4c7beb (patch) | |
tree | 9346f4cd332989869cd7f440f49af6c9cdfbf0f2 /sys/dev/ed/if_edvar.h | |
parent | 7bb35cb182703c30113f937e43890f82e0da8cf8 (diff) | |
download | FreeBSD-src-92b8d4843ebd3baaf5e64c6d9d81eeb24c4c7beb.zip FreeBSD-src-92b8d4843ebd3baaf5e64c6d9d81eeb24c4c7beb.tar.gz |
use fixed types for the calls to ed_pio_readmem, ed_pio_writemem.
Make the special hp versions match the general ones. Also use fixed
types in the WD80x3_generic probe, and change callers' arrays to
match. Fix a couple of minor style issues by using newstyle function
definitions in a couple places.
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r-- | sys/dev/ed/if_edvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h index ff693f4..0abc95e 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -197,7 +197,7 @@ int ed_alloc_irq(device_t, int, int); int ed_probe_generic8390(struct ed_softc *); int ed_probe_WD80x3(device_t, int, int); -int ed_probe_WD80x3_generic(device_t, int, unsigned short *[]); +int ed_probe_WD80x3_generic(device_t, int, uint16_t *[]); int ed_probe_3Com(device_t, int, int); int ed_probe_SIC(device_t, int, int); int ed_probe_Novell(device_t, int, int); @@ -207,8 +207,8 @@ int ed_probe_HP_pclanp(device_t, int, int); int ed_attach(device_t); int ed_detach(device_t); void ed_stop(struct ed_softc *); -void ed_pio_readmem(struct ed_softc *, long, unsigned char *, unsigned short); -void ed_pio_writemem(struct ed_softc *, char *, unsigned short, unsigned short); +void ed_pio_readmem(struct ed_softc *, long, uint8_t *, uint16_t); +void ed_pio_writemem(struct ed_softc *, uint8_t *, uint16_t, uint16_t); #ifndef ED_NO_MIIBUS int ed_miibus_readreg(device_t, int, int); void ed_miibus_writereg(device_t, int, int, int); |