patch-2.1.121 linux/include/asm-alpha/machvec.h

Next file: linux/include/asm-alpha/mmu_context.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/include/asm-alpha/machvec.h linux/include/asm-alpha/machvec.h
@@ -12,6 +12,7 @@
 struct mm_struct;
 struct pt_regs;
 struct vm_area_struct;
+struct linux_hose_info;
 
 struct alpha_machine_vector
 {
@@ -21,10 +22,12 @@
 	unsigned long hae_cache;
 	unsigned long *hae_register;
 
+	unsigned int nr_irqs  : 16;
+	unsigned int rtc_port : 16;
+	unsigned int rtc_addr : 15;
+	unsigned int rtc_bcd  : 1;
+	unsigned int max_asn  : 16;
 	unsigned long max_dma_address;
-	unsigned int nr_irqs;
-	unsigned int rtc_port, rtc_addr;
-	unsigned int max_asn;
 	unsigned long mmu_context_mask;
 	unsigned long irq_probe_mask;
 	unsigned long iack_sc;
@@ -52,13 +55,19 @@
 
 	unsigned long (*mv_dense_mem)(unsigned long);
 
-	int (*pci_read_config_byte)(u8, u8, u8, u8 *value);
-	int (*pci_read_config_word)(u8, u8, u8, u16 *value);
-	int (*pci_read_config_dword)(u8, u8, u8, u32 *value);
-
-	int (*pci_write_config_byte)(u8, u8, u8, u8 value);
-	int (*pci_write_config_word)(u8, u8, u8, u16 value);
-	int (*pci_write_config_dword)(u8, u8, u8, u32 value);
+	int (*hose_read_config_byte)(u8, u8, u8, u8 *value,
+				     struct linux_hose_info *);
+	int (*hose_read_config_word)(u8, u8, u8, u16 *value,
+				     struct linux_hose_info *);
+	int (*hose_read_config_dword)(u8, u8, u8, u32 *value,
+				      struct linux_hose_info *);
+
+	int (*hose_write_config_byte)(u8, u8, u8, u8 value,
+				      struct linux_hose_info *);
+	int (*hose_write_config_word)(u8, u8, u8, u16 value,
+				      struct linux_hose_info *);
+	int (*hose_write_config_dword)(u8, u8, u8, u32 value,
+				       struct linux_hose_info *);
 	
 	void (*mv_get_mmu_context)(struct task_struct *);
 	void (*mv_flush_tlb_current)(struct mm_struct *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov