pci.h

Go to the documentation of this file.
00001 /*
00002 ** pci.h for  in /home/anoman
00003 **
00004 ** Made by Arthur Kopatsy
00005 ** Login   <kopats_a@epita.fr>
00006 **
00007 ** Started on  Mon Apr 19 14:00:26 2004 Arthur Kopatsy
00008 ** Last update Wed Oct 27 17:16:00 2004 Arthur Kopatsy
00009 */
00010 
00011 #ifndef PCI_H_
00012 #define PCI_H_
00013 
00014 #define PCI_DEV_PGSIZE                  1
00015 
00016 #define PCI_CONFIG_ADDRESS_PORT         0xcf8
00017 #define PCI_CONFIG_DATA_PORT            0xcfc
00018 
00019 typedef struct s_pci_rqst
00020 {
00021   u_int8_t      reg:8;
00022   char          func:3;
00023   char          dev:5;
00024   char          bus:8;
00025   char          rsvd:7;
00026   char          enable:1;
00027 } t_pci_rqst;
00028 
00029 #endif /* PCI_H_ */

Generated on Wed May 24 23:04:18 2006 for LSE/OS by  doxygen 1.4.6