* possibly a dumb question about sb600/700
@ 2007-11-12 9:05 Tejun Heo
2007-11-12 13:16 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Tejun Heo @ 2007-11-12 9:05 UTC (permalink / raw)
To: conke.hu; +Cc: IDE/ATA development list
Hello,
I've been looking at PATA support for sb600 and 700 and found something
weird.
* IDE atiixp.c has a separate entry for sb600 such that it only probes
the first port but sb700 doesn't use the entry. So, does sb600 has one
PATA channel but sb700 has two?
* libata pata_atiixp.c doesn't have special handling for sb600's
single-channeldness. Is this okay?
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: possibly a dumb question about sb600/700
2007-11-12 9:05 possibly a dumb question about sb600/700 Tejun Heo
@ 2007-11-12 13:16 ` Alan Cox
2007-11-12 13:24 ` Tejun Heo
0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2007-11-12 13:16 UTC (permalink / raw)
To: Tejun Heo; +Cc: conke.hu, IDE/ATA development list
On Mon, 12 Nov 2007 18:05:44 +0900
Tejun Heo <htejun@gmail.com> wrote:
> Hello,
>
> I've been looking at PATA support for sb600 and 700 and found something
> weird.
>
> * IDE atiixp.c has a separate entry for sb600 such that it only probes
> the first port but sb700 doesn't use the entry. So, does sb600 has one
> PATA channel but sb700 has two?
>
> * libata pata_atiixp.c doesn't have special handling for sb600's
> single-channeldness. Is this okay?
Should be just fine as I understand it all anyway - the second channel
will have no resources assigned if absent which is handled by libata core
already.
Alan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: possibly a dumb question about sb600/700
2007-11-12 13:16 ` Alan Cox
@ 2007-11-12 13:24 ` Tejun Heo
2007-11-12 14:36 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Tejun Heo @ 2007-11-12 13:24 UTC (permalink / raw)
To: Alan Cox; +Cc: conke.hu, IDE/ATA development list
Alan Cox wrote:
> On Mon, 12 Nov 2007 18:05:44 +0900
> Tejun Heo <htejun@gmail.com> wrote:
>
>> Hello,
>>
>> I've been looking at PATA support for sb600 and 700 and found something
>> weird.
>>
>> * IDE atiixp.c has a separate entry for sb600 such that it only probes
>> the first port but sb700 doesn't use the entry. So, does sb600 has one
>> PATA channel but sb700 has two?
>>
>> * libata pata_atiixp.c doesn't have special handling for sb600's
>> single-channeldness. Is this okay?
>
> Should be just fine as I understand it all anyway - the second channel
> will have no resources assigned if absent which is handled by libata core
> already.
Alright, then. I was just worried about the asymmetry. Oh, this
_reminds me of another problem regarding enable bits. There's a system
(wyse thin client) with pata_amd controller where the enable bit isn't
set by the BIOS and there's no reliable way to identify the system (no
DMI). Do you know how important is the enabled bits test for these
controllers?
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: possibly a dumb question about sb600/700
2007-11-12 13:24 ` Tejun Heo
@ 2007-11-12 14:36 ` Alan Cox
2007-11-12 14:44 ` Tejun Heo
0 siblings, 1 reply; 6+ messages in thread
From: Alan Cox @ 2007-11-12 14:36 UTC (permalink / raw)
To: Tejun Heo; +Cc: conke.hu, IDE/ATA development list
> Alright, then. I was just worried about the asymmetry. Oh, this
> _reminds me of another problem regarding enable bits. There's a system
> (wyse thin client) with pata_amd controller where the enable bit isn't
> set by the BIOS and there's no reliable way to identify the system (no
> DMI). Do you know how important is the enabled bits test for these
> controllers?
If we ignore the tests we get more problems with 30 second timeouts on
other hardware that has incorrect termination or a port which is simply
not wired on the mainboard.
I bet we can identify the Wyse somehow and I'd rather do that even if it
means looking for magic strings in the BIOS ROM image.
Alan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: possibly a dumb question about sb600/700
2007-11-12 14:36 ` Alan Cox
@ 2007-11-12 14:44 ` Tejun Heo
2007-11-12 15:28 ` Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Tejun Heo @ 2007-11-12 14:44 UTC (permalink / raw)
To: Alan Cox; +Cc: conke.hu, IDE/ATA development list
Alan Cox wrote:
>> Alright, then. I was just worried about the asymmetry. Oh, this
>> _reminds me of another problem regarding enable bits. There's a system
>> (wyse thin client) with pata_amd controller where the enable bit isn't
>> set by the BIOS and there's no reliable way to identify the system (no
>> DMI). Do you know how important is the enabled bits test for these
>> controllers?
>
> If we ignore the tests we get more problems with 30 second timeouts on
> other hardware that has incorrect termination or a port which is simply
> not wired on the mainboard.
>
> I bet we can identify the Wyse somehow and I'd rather do that even if it
> means looking for magic strings in the BIOS ROM image.
Thanks. I don't have direct access to the machine so I guess they'll
have to live with temporary workaround for the time being. :-(
--
tejun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: possibly a dumb question about sb600/700
2007-11-12 14:44 ` Tejun Heo
@ 2007-11-12 15:28 ` Alan Cox
0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2007-11-12 15:28 UTC (permalink / raw)
To: Tejun Heo; +Cc: conke.hu, IDE/ATA development list
On Mon, 12 Nov 2007 23:44:30 +0900
Tejun Heo <htejun@gmail.com> wrote:
> Alan Cox wrote:
> >> Alright, then. I was just worried about the asymmetry. Oh, this
> >> _reminds me of another problem regarding enable bits. There's a system
> >> (wyse thin client) with pata_amd controller where the enable bit isn't
> >> set by the BIOS and there's no reliable way to identify the system (no
> >> DMI). Do you know how important is the enabled bits test for these
> >> controllers?
> >
> > If we ignore the tests we get more problems with 30 second timeouts on
> > other hardware that has incorrect termination or a port which is simply
> > not wired on the mainboard.
> >
> > I bet we can identify the Wyse somehow and I'd rather do that even if it
> > means looking for magic strings in the BIOS ROM image.
>
> Thanks. I don't have direct access to the machine so I guess they'll
> have to live with temporary workaround for the time being. :-(
cp biosrom file
strings file
grep product name
not approximate offset
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-12 15:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-12 9:05 possibly a dumb question about sb600/700 Tejun Heo
2007-11-12 13:16 ` Alan Cox
2007-11-12 13:24 ` Tejun Heo
2007-11-12 14:36 ` Alan Cox
2007-11-12 14:44 ` Tejun Heo
2007-11-12 15:28 ` Alan Cox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.