Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 64 → Rev 80

/shark/trunk/drivers/pci/linuxpci.h
46,6 → 46,10
#ifndef LINUX_PCI_H
#define LINUX_PCI_H
 
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
/*
* Under PCI, each device has 256 bytes of configuration address space,
* of which the first 64 bytes are standardized as follows:
1076,4 → 1080,6
extern const char *pci_strclass (unsigned int class);
extern const char *pci_strvendor (unsigned int vendor);
 
__END_DECLS
 
#endif /* LINUX_PCI_H */
/shark/trunk/drivers/pci/pci.h
9,10 → 9,10
#ifndef __PCI_H__
#define __PCI_H__
 
#ifdef __cplusplus
extern "C" {
#endif
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
#define N_MAX_DEVS 10
 
typedef struct pci_regs {
72,9 → 72,7
struct pci_regs *pci_class(DWORD class_code, WORD index, BYTE *bus, BYTE *dev);
struct pci_regs *pci_device(WORD vendor, WORD device, WORD index, BYTE *bus, BYTE *dev);
 
#ifdef __cplusplus
};
#endif
__END_DECLS
 
#endif