mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8575
@ -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