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;
|