root/include/linux/bios32.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * BIOS32, PCI BIOS functions and defines
   3  * Copyright 1994, Drew Eckhardt
   4  * 
   5  * For more information, please consult 
   6  * 
   7  * PCI BIOS Specification Revision
   8  * PCI Local Bus Specification
   9  * PCI System Design Guide
  10  *
  11  * PCI Special Interest Group
  12  * M/S HF3-15A
  13  * 5200 N.E. Elam Young Parkway
  14  * Hillsboro, Oregon 97124-6497
  15  * +1 (503) 696-2000 
  16  * +1 (800) 433-5177
  17  * 
  18  * Manuals are $25 each or $50 for all three, plus $7 shipping 
  19  * within the United States, $35 abroad.
  20  */
  21 
  22 #ifndef BIOS32_H
  23 #define BIOS32_H
  24 
  25 unsigned long bios32_init(unsigned long memory_start, unsigned long memory_end);
  26 
  27 extern int pcibios_find_class (unsigned long class_code, unsigned short index, 
  28     unsigned char *bus, unsigned char *device_fn);
  29 extern int pcibios_find_device (unsigned short vendor, unsigned short device_id, 
  30     unsigned short index, unsigned char *bus, unsigned char *device_fn);
  31 extern int pcibios_read_config_byte (unsigned char bus,
  32     unsigned char device_fn, unsigned char where, unsigned char *value);
  33 extern int pcibios_read_config_word (unsigned char bus,
  34     unsigned char device_fn, unsigned char where, unsigned short *value);
  35 extern int pcibios_read_config_dword (unsigned char bus,
  36     unsigned char device_fn, unsigned char where, unsigned long *value);
  37 extern int pcibios_present (void);
  38 extern int pcibios_write_config_byte (unsigned char bus,
  39     unsigned char device_fn, unsigned char where, unsigned char value);
  40 extern int pcibios_write_config_word (unsigned char bus,
  41     unsigned char device_fn, unsigned char where, unsigned short value);
  42 extern pcibios_write_config_dword (unsigned char bus,
  43     unsigned char device_fn, unsigned char where, unsigned long value);
  44 
  45 #endif /* ndef BIOS32_H */

/* [previous][next][first][last][top][bottom][index][help] */