From 73820ba8cf6ba928f8e749995c6899cf89aad3e9 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 14 Mar 2012 10:36:03 +0100 Subject: [PATCH] --- yaml --- r: 309039 b: refs/heads/master c: ffdce4668234a113e767edd27aa1331903959106 h: refs/heads/master i: 309037: 1d42183242091dac6eafbe74cc665d1910f84b50 309035: c35998aae7dbe60aaecdeb19c90a411210602f5a 309031: 9f8541c51151c8eae456e2ddf954d7147ebfaf44 309023: 9d58db2085d6c3e331443bba78a84817b4799a46 v: v3 --- [refs] | 2 +- trunk/arch/mips/pci/pci-ar724x.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 40aa5f2a1c53..7a072a9fa5a2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c198441a3f3007752c551a32d5c426f48ae8712d +refs/heads/master: ffdce4668234a113e767edd27aa1331903959106 diff --git a/trunk/arch/mips/pci/pci-ar724x.c b/trunk/arch/mips/pci/pci-ar724x.c index 22f5e5bc4dfe..342bf4ab8960 100644 --- a/trunk/arch/mips/pci/pci-ar724x.c +++ b/trunk/arch/mips/pci/pci-ar724x.c @@ -28,9 +28,6 @@ static int ar724x_pci_read(struct pci_bus *bus, unsigned int devfn, int where, if (devfn) return PCIBIOS_DEVICE_NOT_FOUND; - if (where & (size - 1)) - return PCIBIOS_BAD_REGISTER_NUMBER; - base = ar724x_pci_devcfg_base; spin_lock_irqsave(&ar724x_pci_lock, flags); @@ -73,9 +70,6 @@ static int ar724x_pci_write(struct pci_bus *bus, unsigned int devfn, int where, if (devfn) return PCIBIOS_DEVICE_NOT_FOUND; - if (where & (size - 1)) - return PCIBIOS_BAD_REGISTER_NUMBER; - base = ar724x_pci_devcfg_base; spin_lock_irqsave(&ar724x_pci_lock, flags);