fallout from Auke's pci ->revision patch

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2007-07-15 21:01:02 +01:00 committed by Linus Torvalds
parent 2832e856fb
commit 8ca7ee6bcc
1 changed files with 1 additions and 1 deletions

View File

@ -1274,7 +1274,7 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
if (pdev->vendor == 0x1282 && pdev->device == 0x9100) if (pdev->vendor == 0x1282 && pdev->device == 0x9100)
{ {
/* Read Chip revision */ /* Read Chip revision */
if (pdev->revision < 0x02000030) if (pdev->revision < 0x30)
{ {
printk(KERN_ERR PFX "skipping early DM9100 with Crc bug (use dmfe)\n"); printk(KERN_ERR PFX "skipping early DM9100 with Crc bug (use dmfe)\n");
return -ENODEV; return -ENODEV;