From 795504cd3724527d413d54f657c8c077ca836b59 Mon Sep 17 00:00:00 2001 From: dg Date: Wed, 17 May 1995 13:15:35 +0000 Subject: 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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.1