1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8575
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);