patch-2.1.53 linux/include/asm-sparc64/ebus.h
Next file: linux/include/asm-sparc64/elf.h
Previous file: linux/include/asm-sparc/namei.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Thu Sep 4 12:54:49 1997
- Orig file:
v2.1.52/linux/include/asm-sparc64/ebus.h
- Orig date:
Mon Aug 18 18:19:47 1997
diff -u --recursive --new-file v2.1.52/linux/include/asm-sparc64/ebus.h linux/include/asm-sparc64/ebus.h
@@ -1,4 +1,4 @@
-/* $Id: ebus.h,v 1.1 1997/08/12 04:13:12 ecd Exp $
+/* $Id: ebus.h,v 1.2 1997/08/17 22:40:07 ecd Exp $
* ebus.h: PCI to Ebus pseudo driver software state.
*
* Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
@@ -14,9 +14,9 @@
struct linux_ebus *parent;
int prom_node;
char prom_name[64];
- struct linux_prom_registers regs[PROMREG_MAX];
- int num_registers;
- struct linux_prom_irqs irqs[PROMINTR_MAX];
+ unsigned long base_address[PROMREG_MAX];
+ int num_addrs;
+ unsigned int irqs[PROMINTR_MAX];
int num_irqs;
};
@@ -24,18 +24,16 @@
struct linux_ebus *next;
struct linux_ebus_device *devices;
struct linux_pbm_info *parent;
+ struct pci_dev *self;
int prom_node;
char prom_name[64];
- struct linux_prom_ranges ebus_ranges[PROMREG_MAX];
+ struct linux_prom_ebus_ranges ebus_ranges[PROMREG_MAX];
int num_ebus_ranges;
};
extern struct linux_ebus *ebus_chain;
extern unsigned long ebus_init(unsigned long, unsigned long);
-extern void prom_apply_ebus_ranges(struct linux_ebus *ebus,
- struct linux_prom_registers *regs,
- int nregs);
#define for_each_ebus(bus) \
for((bus) = ebus_chain; (bus); (bus) = (bus)->next)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov