Skip to contentSkip to conversation

SCSI AM53C974 driver missing in 2.6.0?

DISCUSSION Ralf Hildebrandt 4 participants 5 messages Dec 18, 2003 – Dec 20, 2003

lore
Share & tools
lore
#0 lore raw

% lspci -v
00:0b.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)
Flags: bus master, stepping, medium devsel, latency 70, IRQ 10 I/O ports at b800 [size=128]
Expansion ROM at <unassigned> [disabled] [size=64K]

in 2.4.x we've been using
CONFIG_SCSI_AM53C974=m

2.6.0 doesn't seem to have any support for that specific SCSI controller. What now? Aternatives?

Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a)   [email protected]
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-916
Referat V a - Kommunikationsnetze -             AIM.  ralfpostfix
#1 lore raw

On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt <[email protected]> wrote:

| % lspci -v
| 00:0b.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)
|         Flags: bus master, stepping, medium devsel, latency 70, IRQ 10
|         I/O ports at b800 [size=128]
|         Expansion ROM at <unassigned> [disabled] [size=64K]
| 	
| in 2.4.x we've been using 
| CONFIG_SCSI_AM53C974=m
| 
| 2.6.0 doesn't seem to have any support for that specific SCSI
| controller. What now? Aternatives?

Kurt Garloff <[email protected]>
and Guennadi Liakhovetski <[email protected]>
have made some recent patches for this driver.
It was discussed on the [email protected] mailing list.

Kurt, Guennadi: Is there a current patch posted somewhere?

--
~Randy
MOTD: Always include version info.

#2 lore raw
Quoted 8 lines · Randy.Dunlap

On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt <[email protected]> wrote:

| in 2.4.x we've been using
| CONFIG_SCSI_AM53C974=m
|
| 2.6.0 doesn't seem to have any support for that specific SCSI
| controller. What now? Aternatives?
Quoted 4 lines

Kurt Garloff <[email protected]>
and Guennadi Liakhovetski <[email protected]>
have made some recent patches for this driver.
It was discussed on the [email protected] mailing list.

tmscsim driver should be used in 2.6. I've posted the "final" version of a patch to this driver on linux-scsi. Kurt wanted to put it on his site for download, so, maybe it's there. Otherwise have a look in linux-scsi archives. It should be included in 2.6 at some point, possibly, 2.6.1...

Guennadi

P.S. heh, this is becomming a FAQ:-)) Looks like there are a couple more users of this driver / chip then I initially thought:-)
---
Guennadi Liakhovetski

#3 lore raw
Quoted 2 lines · Guennadi Liakhovetski
Quoted 1 line · Randy.Dunlap

On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt

Quoted 11 lines · <[email protected]> wrote:
Quoted 10 lines
| in 2.4.x we've been using
| CONFIG_SCSI_AM53C974=m
|
| 2.6.0 doesn't seem to have any support for that specific SCSI
| controller. What now? Aternatives?

Kurt Garloff <[email protected]>
and Guennadi Liakhovetski <[email protected]>
have made some recent patches for this driver.
It was discussed on the [email protected] mailing list.

Quoted 5 lines

tmscsim driver should be used in 2.6. I've posted the "final" version of a patch to this driver on linux-scsi. Kurt wanted to put it on his site for download, so, maybe it's there. Otherwise have a look in linux-scsi archives. It should be included in 2.6 at some point, possibly, 2.6.1...

Hey, how about us advansis users? There is at least one, me... And thats the only driver in the whole compile that spits out visible warnings about check_region() being deprecated. But its still working, so far. I presume it will until such time as check_region() is actually removed from wherever it lives.

Quoted 6 lines

Guennadi

P.S. heh, this is becomming a FAQ:-)) Looks like there are a couple more users of this driver / chip then I initially thought:-)
---
Guennadi Liakhovetski

Signature · 7 lines
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
#4 lore raw
Quoted 5 lines · Gene Heskett

Hey, how about us advansis users? There is at least one, me... And thats the only driver in the whole compile that spits out visible warnings about check_region() being deprecated. But its still working, so far. I presume it will until such time as check_region() is actually removed from wherever it lives.

Well, wouldn't it suffice just to remove the deprecated checks? The only (for recent kernels) request_region() does check the return code. So, this should do:

scsi/advansys.c renamed from scsi/advansys.c~ +1 -13
@@ -4619,13 +4619,7 @@
                         ASC_DBG1(1,
                                 "advansys_detect: probing I/O port 0x%x...\n",
                             iop);
-                        if (check_region(iop, ASC_IOADR_GAP) != 0) {
-                            printk(
-"AdvanSys SCSI: specified I/O Port 0x%X is busy\n", iop);
-                            /* Don't try this I/O port twice. */
-                            asc_ioport[ioport] = 0;
-                            goto ioport_try_again;
-                        } else if (AscFindSignature(iop) == ASC_FALSE) {
+			if (AscFindSignature(iop) == ASC_FALSE) {
                             printk(
 "AdvanSys SCSI: specified I/O Port 0x%X has no adapter\n", iop);
                             /* Don't try this I/O port twice. */
@@ -10003,12 +9997,6 @@
     }
     for (; i < ASC_IOADR_TABLE_MAX_IX; i++) {
         iop_base = _asc_def_iop_base[i];
-        if (check_region(iop_base, ASC_IOADR_GAP) != 0) {
-            ASC_DBG1(1,
-               "AscSearchIOPortAddr11: check_region() failed I/O port 0x%x\n",
-                     iop_base);
-            continue;
-        }
         ASC_DBG1(1, "AscSearchIOPortAddr11: probing I/O port 0x%x\n", iop_base);
         if (AscFindSignature(iop_base)) {
             return (iop_base);

Guennadi
---
Guennadi Liakhovetski