linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SCSI AM53C974 driver missing in 2.6.0?
@ 2003-12-18 14:55 Ralf Hildebrandt
  2003-12-19 17:56 ` Randy.Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Ralf Hildebrandt @ 2003-12-18 14:55 UTC (permalink / raw)
  To: linux-kernel

% 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?

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt@charite.de
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI AM53C974 driver missing in 2.6.0?
  2003-12-18 14:55 SCSI AM53C974 driver missing in 2.6.0? Ralf Hildebrandt
@ 2003-12-19 17:56 ` Randy.Dunlap
  2003-12-19 21:16   ` Guennadi Liakhovetski
  0 siblings, 1 reply; 5+ messages in thread
From: Randy.Dunlap @ 2003-12-19 17:56 UTC (permalink / raw)
  To: Ralf Hildebrandt; +Cc: linux-kernel

On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> 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 <garloff@suse.de>
and Guennadi Liakhovetski <g.liakhovetski@gmx.de>
have made some recent patches for this driver.
It was discussed on the linux-scsi@vger.kernel.org mailing list.

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

--
~Randy
MOTD:  Always include version info.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI AM53C974 driver missing in 2.6.0?
  2003-12-19 17:56 ` Randy.Dunlap
@ 2003-12-19 21:16   ` Guennadi Liakhovetski
  2003-12-20  0:16     ` Gene Heskett
  0 siblings, 1 reply; 5+ messages in thread
From: Guennadi Liakhovetski @ 2003-12-19 21:16 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: Ralf Hildebrandt, linux-kernel

On Fri, 19 Dec 2003, Randy.Dunlap wrote:

> On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> 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?
>
> Kurt Garloff <garloff@suse.de>
> and Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> have made some recent patches for this driver.
> It was discussed on the linux-scsi@vger.kernel.org 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI AM53C974 driver missing in 2.6.0?
  2003-12-19 21:16   ` Guennadi Liakhovetski
@ 2003-12-20  0:16     ` Gene Heskett
  2003-12-20 14:41       ` Guennadi Liakhovetski
  0 siblings, 1 reply; 5+ messages in thread
From: Gene Heskett @ 2003-12-20  0:16 UTC (permalink / raw)
  To: Guennadi Liakhovetski, Randy.Dunlap; +Cc: Ralf Hildebrandt, linux-kernel

On Friday 19 December 2003 16:16, Guennadi Liakhovetski wrote:
>On Fri, 19 Dec 2003, Randy.Dunlap wrote:
>> On Thu, 18 Dec 2003 15:55:27 +0100 Ralf Hildebrandt 
<Ralf.Hildebrandt@charite.de> 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?
>>
>> Kurt Garloff <garloff@suse.de>
>> and Guennadi Liakhovetski <g.liakhovetski@gmx.de>
>> have made some recent patches for this driver.
>> It was discussed on the linux-scsi@vger.kernel.org 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...

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.

>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

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: SCSI AM53C974 driver missing in 2.6.0?
  2003-12-20  0:16     ` Gene Heskett
@ 2003-12-20 14:41       ` Guennadi Liakhovetski
  0 siblings, 0 replies; 5+ messages in thread
From: Guennadi Liakhovetski @ 2003-12-20 14:41 UTC (permalink / raw)
  To: Gene Heskett; +Cc: Randy.Dunlap, Ralf Hildebrandt, linux-kernel

On Fri, 19 Dec 2003, Gene Heskett wrote:

> 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:

--- drivers/scsi/advansys.c~	Mon Nov 24 20:43:42 2003
+++ drivers/scsi/advansys.c	Sat Dec 20 15:34:00 2003
@@ -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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-20 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18 14:55 SCSI AM53C974 driver missing in 2.6.0? Ralf Hildebrandt
2003-12-19 17:56 ` Randy.Dunlap
2003-12-19 21:16   ` Guennadi Liakhovetski
2003-12-20  0:16     ` Gene Heskett
2003-12-20 14:41       ` Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).