lkml.org 
[lkml]   [2001]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: IDE not fully found (2.4.2) PDC20265
Date
> On Mon, 15 Jan 2001, Tim Hockin wrote:
>
> > Motherboard (MSI 694D-AR) has Via Apollo Pro chipset, those IDE drives seem
> > fine. Board also has a promise PDC20265 RAID/ATA100 controller. On each
> > channel of this controller I have an IBM 45 GB ATA100 drive as master.
> > (hde and hdg). BIOS sees these drives fine. Linux only see hde and never
> > hdg (ide[012] but not ide3). I thought I'd post it here, in case anyone

So I have a clue - pci-ide.c is looking at a PCI register to determine if
ide channels are enabled. It seems that the BIOS on this board is not
enabling the second channel of the promise controller in this register.
There are other "enabled" bits, apparently. pdc202xx.c checks some IO
registers from one of the base addresses to determine status.

Unfortunately, the enabled bit of this register seems to be
write-protected. There must be an unlock bit in another register. Anyone
have a datasheet for a pdc202x? How do I unprotect PCI reg 0x50

If I bypass the test for the enabled bit in ide-pci.c, I get all my drives
properly.

Tim
-
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:17    [W:0.090 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site