summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-12 18:50:06 +0000
committerru <ru@FreeBSD.org>2005-11-12 18:50:06 +0000
commit766dba9e177ed260f68eb97810fe8a9cfe289386 (patch)
tree9191d645c9025cbff7fb224a4aff87edbfa9503c /sys
parent6e7cfb2c912571c1f0de79ab8c1360abdf51f98c (diff)
downloadFreeBSD-src-766dba9e177ed260f68eb97810fe8a9cfe289386.zip
FreeBSD-src-766dba9e177ed260f68eb97810fe8a9cfe289386.tar.gz
Attempt to fix pc98 GENERIC compile breakage.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/lnc/if_lnc_cbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/lnc/if_lnc_cbus.c b/sys/dev/lnc/if_lnc_cbus.c
index 1ce7f33..6469456 100644
--- a/sys/dev/lnc/if_lnc_cbus.c
+++ b/sys/dev/lnc/if_lnc_cbus.c
@@ -261,9 +261,9 @@ lnc_isa_attach(device_t dev)
*
* Contec uses 00 80 4c ?? ?? ??
*/
- if (IF_LLADDR(sc->ifp)[0] == (u_char)0x00 &&
- IF_LLADDR(sc->ifp)[1] == (u_char)0x80 &&
- IF_LLADDR(sc->ifp)[2] == (u_char)0x4c) {
+ if (IF_LLADDR(sc->ifp)[0] == 0x00 &&
+ IF_LLADDR(sc->ifp)[1] == 0x80 &&
+ IF_LLADDR(sc->ifp)[2] == 0x4c) {
lnc_outw(sc->rap, MSRDA);
lnc_outw(CNET98S_IDP, 0x0006);
lnc_outw(sc->rap, MSWRA);
OpenPOWER on IntegriCloud