From aef67c0d53abe10023b22bcdfaeac2448a8c22d5 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Mon, 7 Apr 2008 11:38:42 +0000 Subject: "Prettyfy" numbers in hexadecimal. No functional change. --- sys/dev/asmc/asmcvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/asmc') diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h index baee9c9..ee5fbfd 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 -- cgit v1.1