diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-05-17 13:15:35 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-05-17 13:15:35 +0000 |
| commit | 4039006ad712a114689353aafd22b97c24b6ee6d (patch) | |
| tree | 50f4b7a7555c23d8441296ed009578bbe3d970c9 | |
| parent | dfa4c76f746e987f98fec2e01624b45334e384f7 (diff) | |
Notes
| -rw-r--r-- | sys/dev/lnc/if_lnc.c | 4 | ||||
| -rw-r--r-- | sys/i386/isa/if_lnc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index e1105eb3eb80..8477f5878603 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); diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index e1105eb3eb80..8477f5878603 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/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); |
