summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/pci/pci.c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/pci/pci.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/pci/pci.c b/c/src/lib/libbsp/powerpc/shared/pci/pci.c
index ba5a97d44d..b822100f3d 100644
--- a/c/src/lib/libbsp/powerpc/shared/pci/pci.c
+++ b/c/src/lib/libbsp/powerpc/shared/pci/pci.c
@@ -216,22 +216,9 @@ const pci_config_access_functions pci_direct_functions = {
direct_pci_write_config_dword
};
-
-
-
-
-
-
-
-
-
-
-
-
#define PRINT_MSG() \
printk("pci : Device %d:%02x routed to interrupt_line %d\n", pbus, pslot, int_name )
-
/*
** Validate a test interrupt name and print a warning if its not one of
** the names defined in the routing record.
@@ -269,16 +256,11 @@ static int test_intname(
return 0;
}
-
-
-
-
struct pcibridge
{
int bus,slot;
};
-
static int FindPCIbridge( int mybus, struct pcibridge *pb )
{
int pbus, pslot;
@@ -321,19 +303,11 @@ static int FindPCIbridge( int mybus, struct pcibridge *pb )
#endif
}
-
}
}
return -1;
}
-
-
-
-
-
-
-
void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
{
unsigned char cvalue;
@@ -406,7 +380,6 @@ void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
}
}
-
if( !ismatch )
{
/*
@@ -444,7 +417,6 @@ void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
*/
if( tbus ) int_pin = (*swizzler)(tslot,int_pin);
-
/*
** int_pin points to the interrupt channel
** this card ends up delivering interrupts
@@ -476,7 +448,6 @@ void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
}
}
-
if( !ismatch )
{
struct pcibridge pb;
@@ -511,27 +482,16 @@ void FixupPCI( const struct _int_map *bspmap, int (*swizzler)(int,int) )
}
donesearch:
-
if( !ismatch && int_pin != 0 && int_name == 255 )
{
printk("pci : Unable to match device %d:%d with an int routing table entry\n", pbus, pslot );
}
-
}
}
}
}
-
-
-
-
-
-
-
-
-
/*
* This routine determines the maximum bus number in the system
*/