summaryrefslogtreecommitdiff
path: root/drivers/hotplug/cpqphp_ctrl.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@mandrakesoft.com>2002-09-19 14:14:46 -0400
committerJeff Garzik <jgarzik@mandrakesoft.com>2002-09-19 14:14:46 -0400
commitb97490bf7bfd7aafdb17a22329dbf9bde4e71d12 (patch)
treecdcaaac9676672df24dccd9062ad1bbe715133b1 /drivers/hotplug/cpqphp_ctrl.c
parentb8f7f3153feacf14b8b7b7068319a9e4d59409d3 (diff)
parentd103aab67659df7e0f2bb3dbfe3663c3ed318895 (diff)
Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
Diffstat (limited to 'drivers/hotplug/cpqphp_ctrl.c')
-rw-r--r--drivers/hotplug/cpqphp_ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hotplug/cpqphp_ctrl.c b/drivers/hotplug/cpqphp_ctrl.c
index e30b88ac17f6..d90f7eaee445 100644
--- a/drivers/hotplug/cpqphp_ctrl.c
+++ b/drivers/hotplug/cpqphp_ctrl.c
@@ -1187,7 +1187,7 @@ static u32 board_replaced(struct pci_func * func, struct controller * ctrl)
//*********************************
rc = CARD_FUNCTIONING;
} else {
- if (ctrl->speed == 1) {
+ if (ctrl->speed == PCI_SPEED_66MHz) {
// Wait for exclusive access to hardware
down(&ctrl->crit_sect);
@@ -1385,7 +1385,7 @@ static u32 board_added(struct pci_func * func, struct controller * ctrl)
dbg("%s: func->device, slot_offset, hp_slot = %d, %d ,%d\n",
__FUNCTION__, func->device, ctrl->slot_device_offset, hp_slot);
- if (ctrl->speed == 1) {
+ if (ctrl->speed == PCI_SPEED_66MHz) {
// Wait for exclusive access to hardware
down(&ctrl->crit_sect);