cbb_probe() assumes that the subclass field is unique. This patch further
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 May 2006 17:28:36 +0000 (17:28 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 14 May 2006 17:28:36 +0000 (17:28 +0000)
commitf8d454781cef1320354a2bdb927ac60d3cfc13e2
tree45b864155a8d8ada85b65477b2a190c25fdfd8a3
parent35fc1b9292ed990051cdfa90069b32cf2c01bbdb
cbb_probe() assumes that the subclass field is unique. This patch further
qualifies the check to verify that the device belongs to the bus class as
well before claiming the device.

Submitted-by: Chuck Tuffli <ctuffli@gmail.com>
sys/dev/pccard/pccbb/pccbb.c