lkml.org 
[lkml]   [2003]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] 2.4.23-pre4 support for new nForce IDE controllers
Date
> 
> Thanks will look over these.
>
> One first question - does the serial ata stuff need to
> avoid cable detect too ?

Actually cable detect is a problem even with PATA. The driver is reading a
register at offset 0x52 in config space of the controller (AMD_CABLE_DETECT)
to determine cable type, but this register doesn't exist on nForce chips.
The cable detect signal is wired to a GPIO pin on the nForce southbridge,
unfortunately some board makers have chosen different GPIO pins to wire this
up to, so only the BIOS knows for sure where the cable detect signal is.

Under Windows OS'es this isn't a problem because UDMA modes are set via an
ACPI method, so the driver doesn't have to know anything about the registers
or cable validation.

I saw the driver tries to detect if this bit is not working and turn it on,
but it only seems to happen on the primary channel. As far as I can tell it
doesn't prevent setting higher DMA modes though. Even when the driver
reports 40pin on the secondary channel I can still set dma modes >UDMA2.

-Allen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.023 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site