Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85868
b: refs/heads/master
c: 8c5b4a3
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Feb 19, 2008
1 parent 5be85d3 commit ba9e49c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 667bc389c716389795c6cfa145ab5ef6279fbb62
refs/heads/master: 8c5b4a3f43c060662d83574a4c85fbb362419ddd
21 changes: 0 additions & 21 deletions trunk/arch/sparc64/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,20 +225,6 @@ static int __init pci_controller_init(const char *model_name, int namelen, struc
return 0;
}

static int __init pci_is_controller(const char *model_name, int namelen, struct device_node *dp)
{
int i;

for (i = 0; i < PCI_NUM_CONTROLLER_TYPES; i++) {
if (!strncmp(model_name,
pci_controller_table[i].model_name,
namelen)) {
return 1;
}
}
return 0;
}

static int __init pci_controller_scan(int (*handler)(const char *, int, struct device_node *))
{
struct device_node *dp;
Expand Down Expand Up @@ -273,13 +259,6 @@ static int __init pci_controller_scan(int (*handler)(const char *, int, struct d
return count;
}


/* Is there some PCI controller in the system? */
int __init pcic_present(void)
{
return pci_controller_scan(pci_is_controller);
}

/* Find each controller in the system, attach and initialize
* software state structure for each and link into the
* pci_pbm_root. Setup the controller enough such
Expand Down

0 comments on commit ba9e49c

Please sign in to comment.