diff options
author | dg <dg@FreeBSD.org> | 1995-05-17 13:15:35 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-17 13:15:35 +0000 |
commit | 795504cd3724527d413d54f657c8c077ca836b59 (patch) | |
tree | 50f4b7a7555c23d8441296ed009578bbe3d970c9 /sys/dev/lnc | |
parent | c606c641255efa424e3a39aeeec212fc2e03fc01 (diff) | |
download | FreeBSD-src-795504cd3724527d413d54f657c8c077ca836b59.zip FreeBSD-src-795504cd3724527d413d54f657c8c077ca836b59.tar.gz |
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
Diffstat (limited to 'sys/dev/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index e1105eb..8477f58 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -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); |