[BACK]Return to pci-direct.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-x86_64

File: [Development] / linux-2.6-xfs / include / asm-x86_64 / Attic / pci-direct.h (download)

Revision 1.3, Tue Oct 31 15:49:12 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.2: +5 -37 lines

Merge up to 2.6.19-rc3
Merge of 2.6.x-xfs-melb:linux:27325b by kenmcd.

#ifndef ASM_PCI_DIRECT_H
#define ASM_PCI_DIRECT_H 1

#include <linux/types.h>

/* Direct PCI access. This is used for PCI accesses in early boot before
   the PCI subsystem works. */ 

extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);

extern int early_pci_allowed(void);

#endif