Changed read_csr and write_csr to static so that they don't clash

with another driver.

Reviewed by:	Paul Richards
Submitted by:	Brian Litzinger
This commit is contained in:
David Greenman 1995-05-17 13:15:35 +00:00
parent dfa4c76f74
commit 4039006ad7
2 changed files with 4 additions and 4 deletions

View File

@ -154,14 +154,14 @@ static struct kern_devconf kdc_lnc = {
DC_CLS_NETIF
};
inline void
static inline void
write_csr(int unit, u_short port, u_short val)
{
outw(lnc_softc[unit].rap, port);
outw(lnc_softc[unit].rdp, val);
}
inline u_short
static inline u_short
read_csr(int unit, u_short port)
{
outw(lnc_softc[unit].rap, port);

View File

@ -154,14 +154,14 @@ static struct kern_devconf kdc_lnc = {
DC_CLS_NETIF
};
inline void
static inline void
write_csr(int unit, u_short port, u_short val)
{
outw(lnc_softc[unit].rap, port);
outw(lnc_softc[unit].rdp, val);
}
inline u_short
static inline u_short
read_csr(int unit, u_short port)
{
outw(lnc_softc[unit].rap, port);