diff options
author | Warner Losh <imp@FreeBSD.org> | 2004-07-16 23:07:38 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2004-07-16 23:07:38 +0000 |
commit | 59f7a82d5265ba5708811cdd93892054f26ec4bf (patch) | |
tree | a307c74870c990c6f689e64fece5455f4db5512d /sys | |
parent | d49311a74fad752b288d47a2620c6a6c825dc43c (diff) | |
download | src-59f7a82d5265ba5708811cdd93892054f26ec4bf.tar.gz src-59f7a82d5265ba5708811cdd93892054f26ec4bf.zip |
Be consistant with probe
Notes
Notes:
svn path=/head/; revision=132271
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdc/fdc_isa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc_isa.c b/sys/dev/fdc/fdc_isa.c index a1a6dd32e7ac..6e2f820b4b27 100644 --- a/sys/dev/fdc/fdc_isa.c +++ b/sys/dev/fdc/fdc_isa.c @@ -247,8 +247,7 @@ fdc_isa_attach(device_t dev) if (error == 0) fdc->flags |= FDC_ISPNP; if (fd_cmd(fdc, 1, NE7CMD_VERSION, 1, &ic_type) == 0) { - ic_type = (u_char)ic_type; - switch (ic_type) { + switch (ic_type & 0xff) { case 0x80: fdc->fdct = FDC_NE765; break; |