my git top is: commit 0dc661f882011b941b8b4d4dac84d7a0371f7a7b Author: Greg Kroah-Hartman <[EMAIL PROTECTED]> Date: Mon Sep 24 23:05:13 2007 -0700
Linux 2.6.22.8 On 9/25/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Sep 25 2007 19:21, Oliver Pinter wrote: > > > >the rev is locali declared: > > > >[snap] > > > > ... > > > >static void ali_init_chipset(struct pci_dev *pdev) > >{ > > u8 rev, tmp; > > struct pci_dev *north, *isa_bridge; > > > > pci_read_config_byte(pdev, PCI_REVISION_ID, &rev); > > > > ... > > > >[snap] > > > >what's the git id in git tree? > > Huh? My top git is 4942de4a0e914f205d351a81873f4f63986bcc3c > and it has this: > > static void ali_init_chipset(struct pci_dev *pdev) > > { > > u8 tmp; > > struct pci_dev *north, *isa_bridge; > > > /* > > * The chipset revision selects the driver operations and > > * mode data. > > */ > > > if (pdev->revision >= 0x20 && pdev->revision < 0xC2) { > > > > No pci_read_config_byte here.. > > -- Thanks, Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/