mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Make it clear that the macro `inb' is being overridden.
This commit is contained in:
parent
9935405bd2
commit
c9fce3556d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70828
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user