diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2008-04-07 11:38:42 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2008-04-07 11:38:42 +0000 |
| commit | 2208c50409d88d25cd0da5a895c8b7bc1365598d (patch) | |
| tree | 7d26adc39ce10b85be9d79e15ba241e0378cab1b /sys/dev/asmc | |
| parent | b01959107ee4975a793718ee1613a5627076eb6e (diff) | |
Notes
Diffstat (limited to 'sys/dev/asmc')
| -rw-r--r-- | sys/dev/asmc/asmcvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h index baee9c9f158d..ee5fbfd4e356 100644 --- a/sys/dev/asmc/asmcvar.h +++ b/sys/dev/asmc/asmcvar.h @@ -56,7 +56,7 @@ struct asmc_softc { */ #define ASMC_DATAPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x00) #define ASMC_DATAPORT_WRITE(sc, val) \ - bus_write_1(sc->sc_ioport, 0, val) + bus_write_1(sc->sc_ioport, 0x00, val) #define ASMC_STATUS_MASK 0x0f /* @@ -64,7 +64,7 @@ struct asmc_softc { */ #define ASMC_CMDPORT_READ(sc) bus_read_1(sc->sc_ioport, 0x04) #define ASMC_CMDPORT_WRITE(sc, val) \ - bus_write_1(sc->sc_ioport, 4, val) + bus_write_1(sc->sc_ioport, 0x04, val) #define ASMC_CMDREAD 0x10 #define ASMC_CMDWRITE 0x11 |
