"Prettyfy" numbers in hexadecimal. No functional change.

This commit is contained in:
Rui Paulo 2008-04-07 11:38:42 +00:00
parent b01959107e
commit 2208c50409

View File

@ -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