summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-12 19:14:21 +0000
committerru <ru@FreeBSD.org>2005-11-12 19:14:21 +0000
commitcee3f994697e70586664236902296c9b6395538f (patch)
tree85486b6a917b3ebe29d5e9334e38f551fec1c818 /sys
parent766dba9e177ed260f68eb97810fe8a9cfe289386 (diff)
downloadFreeBSD-src-cee3f994697e70586664236902296c9b6395538f.zip
FreeBSD-src-cee3f994697e70586664236902296c9b6395538f.tar.gz
Really fix it this time.
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 6469456..0657f40 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] == 0x00 &&
- IF_LLADDR(sc->ifp)[1] == 0x80 &&
- IF_LLADDR(sc->ifp)[2] == 0x4c) {
+ if (IF_LLADDR(sc->ifp)[0] == (char)0x00 &&
+ IF_LLADDR(sc->ifp)[1] == (char)0x80 &&
+ IF_LLADDR(sc->ifp)[2] == (char)0x4c) {
lnc_outw(sc->rap, MSRDA);
lnc_outw(CNET98S_IDP, 0x0006);
lnc_outw(sc->rap, MSWRA);
OpenPOWER on IntegriCloud