[PATCH] SGI IOC4: Detect IO card variant
There are three different IO cards which an SGI IOC4 controller may find itself on. One of these variants does not bring out the IDE and serial signals, so we need to disable attaching the corresponding IOC4 subdrivers to such cards. Cleans up message clutter emitted during device probing. Signed-off-by: Brent Casavant <bcasavan@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Цей коміт міститься в:

зафіксовано
Linus Torvalds

джерело
862f5f0133
коміт
f5befceb5c
@@ -723,6 +723,12 @@ static ide_pci_device_t sgiioc4_chipsets[] __devinitdata = {
|
||||
int
|
||||
ioc4_ide_attach_one(struct ioc4_driver_data *idd)
|
||||
{
|
||||
/* PCI-RT does not bring out IDE connection.
|
||||
* Do not attach to this particular IOC4.
|
||||
*/
|
||||
if (idd->idd_variant == IOC4_VARIANT_PCI_RT)
|
||||
return 0;
|
||||
|
||||
return pci_init_sgiioc4(idd->idd_pdev,
|
||||
&sgiioc4_chipsets[idd->idd_pci_id->driver_data]);
|
||||
}
|
||||
|
Посилання в новій задачі
Заблокувати користувача