|
@@ -121,7 +121,6 @@ static int init_SERR(struct controller *ctrl)
|
|
{
|
|
{
|
|
u32 tempdword;
|
|
u32 tempdword;
|
|
u32 number_of_slots;
|
|
u32 number_of_slots;
|
|
- u8 physical_slot;
|
|
|
|
|
|
|
|
if (!ctrl)
|
|
if (!ctrl)
|
|
return 1;
|
|
return 1;
|
|
@@ -131,7 +130,6 @@ static int init_SERR(struct controller *ctrl)
|
|
number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F;
|
|
number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F;
|
|
/* Loop through slots */
|
|
/* Loop through slots */
|
|
while (number_of_slots) {
|
|
while (number_of_slots) {
|
|
- physical_slot = tempdword;
|
|
|
|
writeb(0, ctrl->hpc_reg + SLOT_SERR);
|
|
writeb(0, ctrl->hpc_reg + SLOT_SERR);
|
|
tempdword++;
|
|
tempdword++;
|
|
number_of_slots--;
|
|
number_of_slots--;
|