From 4039006ad712a114689353aafd22b97c24b6ee6d Mon Sep 17 00:00:00 2001 From: David Greenman Date: Wed, 17 May 1995 13:15:35 +0000 Subject: [PATCH] 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 --- sys/dev/lnc/if_lnc.c | 4 ++-- 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);