lkml.org 
[lkml]   [2004]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: Stop megaraid trashing other i960 based devices
On Sat, May 22, 2004 at 12:02:05PM -0400, hch@infradead.org wrote:
> > + return -ENODEV;
> > + /* Now check the magic signature byte */
> > + pci_read_config_word(pdev, PCI_CONF_AMISIG, &magic);
> > + if(magic != HBA_SIGNATURE_471 && magic != HBA_SIGNATURE)
> > + return -ENODEV;
> > + /* Ok it is probably a megaraid */
> > + }
>
> I think we should add all valid subvendor ids to the pci_id table instead.
> Especially to not consude the hotplug package.

Most of the megaraids don't have subvendor ids... so that doesn't work at
all.



-
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 14:03    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site