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:
parent
dfa4c76f74
commit
4039006ad7
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user