patch-2.1.115 linux/arch/sparc64/kernel/auxio.c
Next file: linux/arch/sparc64/kernel/central.c
Previous file: linux/arch/sparc64/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Aug 4 16:03:35 1998
- Orig file:
v2.1.114/linux/arch/sparc64/kernel/auxio.c
- Orig date:
Thu Sep 4 12:54:48 1997
diff -u --recursive --new-file v2.1.114/linux/arch/sparc64/kernel/auxio.c linux/arch/sparc64/kernel/auxio.c
@@ -42,9 +42,13 @@
struct linux_ebus_device *edev = 0;
unsigned long led_auxio;
- for_all_ebusdev(edev, ebus)
- if (!strcmp(edev->prom_name, "auxio"))
- break;
+ for_each_ebus(ebus) {
+ for_each_ebusdev(edev, ebus) {
+ if (!strcmp(edev->prom_name, "auxio"))
+ goto ebus_done;
+ }
+ }
+ ebus_done:
if (edev) {
if (check_region(edev->base_address[0],
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov