| To: | linux-mips@fnet.fr |
|---|---|
| Subject: | patch to drivers/tc/tc.c |
| From: | Dave Airlie <airlied@csn.ul.ie> |
| Date: | Sun, 11 Apr 1999 15:48:11 +0100 (IST) |
Hi,
I don't know if the attached patch is necessary or not, but the
switch statement looked a bit pointless without it, so either it needs
this patch or a better comment :-)..
Dave.
------------ David Airlie, David.Airlie@ul.ie,airlied@skynet --------
Telecommunications Research Centre, ECE Dept, University of Limerick \
http://www.csn.ul.ie/~airlied -- Telecommunications Researcher \
--- TEL: +353-61-202695 -----------------------------------------------
*** tc.c.old Sun Apr 11 15:44:24 1999
--- tc.c Sun Apr 11 15:44:27 1999
***************
*** 135,153 ****
--- 135,159 ----
switch (slot) {
case 0:
tc_bus[slot].interrupt = TC0;
+ break;
case 1:
tc_bus[slot].interrupt = TC1;
+ break;
case 2:
tc_bus[slot].interrupt = TC2;
+ break;
/*
* Yuck! DS5000/200 onboard devices
*/
case 5:
tc_bus[slot].interrupt = SCSI_INT;
+ break;
case 6:
tc_bus[slot].interrupt = ETHER;
+ break;
default:
tc_bus[slot].interrupt = -1;
+ break;
}
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: patch for dz.c on DecStation 5000/200, Dave Airlie |
|---|---|
| Next by Date: | Re: location for decstation root?, Steven Lembark |
| Previous by Thread: | RE: location for decstation root?, Harald Koerfgen |
| Next by Thread: | RE: patch to drivers/tc/tc.c, Harald Koerfgen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |