linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Sat, 22 Jan 2005 22:10:17 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/01/22 22:10:11

Modified files:
        arch/mips/pci  : ops-tx4927.c 

Log message:
        Remove alignment checks.

diff -urN linux/arch/mips/pci/ops-tx4927.c linux/arch/mips/pci/ops-tx4927.c
--- linux/arch/mips/pci/ops-tx4927.c    2005/01/22 21:08:11     1.4
+++ linux/arch/mips/pci/ops-tx4927.c    2005/01/22 22:10:11     1.5
@@ -107,16 +107,6 @@
         dev = PCI_SLOT(devfn);
         func = PCI_FUNC(devfn);
 
-       if (size == 2) {
-               if (where & 1)
-                       return PCIBIOS_BAD_REGISTER_NUMBER;
-       }
-
-       if (size == 4) {
-               if (where & 3)
-                       return PCIBIOS_BAD_REGISTER_NUMBER;
-       }
-
        /* check if the bus is top-level */
        if (bus->parent != NULL) {
                busno = bus->number;
@@ -166,16 +156,6 @@
         dev = PCI_SLOT(devfn);
         func = PCI_FUNC(devfn);
 
-       if (size == 1) {
-               if (where & 1)
-                       return PCIBIOS_BAD_REGISTER_NUMBER;
-       }
-
-       if (size == 4) {
-               if (where & 3)
-                       return PCIBIOS_BAD_REGISTER_NUMBER;
-       }
-
        /* check if the bus is top-level */
        if (bus->parent != NULL) {
                busno = bus->number;

<Prev in Thread] Current Thread [Next in Thread>