mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +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