diff options
author | wollman <wollman@FreeBSD.org> | 2001-01-09 04:23:56 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2001-01-09 04:23:56 +0000 |
commit | 84da8d820c0ca28d5b12acde5b29d4a1ad9e1587 (patch) | |
tree | 4241ce46fc51a7f7c3249b4e1ef761081618b17e /sys/dev/lnc/if_lnc.c | |
parent | cab9efa1c5175b9d04f1c5cc0cf77c20d52e815c (diff) | |
download | FreeBSD-src-84da8d820c0ca28d5b12acde5b29d4a1ad9e1587.zip FreeBSD-src-84da8d820c0ca28d5b12acde5b29d4a1ad9e1587.tar.gz |
Make it clear that the macro `inb' is being overridden.
Diffstat (limited to 'sys/dev/lnc/if_lnc.c')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index 05c3476..e402799 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -158,6 +158,7 @@ write_csr(struct lnc_softc *sc, u_short port, u_short val) bus_space_write_2(sc->lnc_btag, sc->lnc_bhandle, sc->rdp, val); } +#undef inb #define inb(port) bus_space_read_1(sc->lnc_btag, sc->lnc_bhandle, port) #define inw(port) bus_space_read_2(sc->lnc_btag, sc->lnc_bhandle, port) #define outw(port, val) bus_space_write_2(sc->lnc_btag, sc->lnc_bhandle, port, val) |