diff options
author | scottl <scottl@FreeBSD.org> | 2002-11-12 09:45:59 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-11-12 09:45:59 +0000 |
commit | 55d3589a830a748022470c0bf559daae119c903a (patch) | |
tree | 3f27e7175e61c94533c470107162f593ed3b109f /sys/dev | |
parent | 57f021e104a4f3c1f693cd01da9ef1851e243997 (diff) | |
download | FreeBSD-src-55d3589a830a748022470c0bf559daae119c903a.zip FreeBSD-src-55d3589a830a748022470c0bf559daae119c903a.tar.gz |
Fix two typos from the previous commit. This code is definitely infectious.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cardbus/cardbus_cis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.c b/sys/dev/cardbus/cardbus_cis.c index c8bf780..c313745 100644 --- a/sys/dev/cardbus/cardbus_cis.c +++ b/sys/dev/cardbus/cardbus_cis.c @@ -441,7 +441,7 @@ cardbus_read_tuple_init(device_t cbdev, device_t child, u_int32_t *start, /* * This bit has a different meaning depending if we are dealing - * with normal a normal BAR or an Option ROM BAR. + * with a normal BAR or an Option ROM BAR. */ if (((testval & 0x1) == 0x1) && (*rid != CARDBUS_ROM_REG)) { device_printf(cbdev, "CIS Space is IO, expecting memory.\n"); @@ -522,7 +522,7 @@ cardbus_read_tuple_init(device_t cbdev, device_t child, u_int32_t *start, imagesize <<= 9; if ((bus_space_read_1(bt, bh, pcidata + - CARDBUS_EXROM_DATA_INDICATOR) & 0x80) == 1) { + CARDBUS_EXROM_DATA_INDICATOR) & 0x80) != 0) { device_printf(cbdev, "Cannot find CIS in " "Option ROM\n"); bus_release_resource(cbdev, SYS_RES_MEMORY, |