Difference between revisions of "Developer Manual/Super IO"

From coreboot
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


Each of these functions, inside a Super I/O, is split into its own logical device and everyone of these devices is identified by an hex number (starting from 0x0) called logical device number (LDN).  
Each of these functions, inside a Super I/O, is split into its own logical device and everyone of these devices is identified by an hex number (starting from 0x0) called logical device number (LDN).  
I.e. (reg) 0x05 and 0x06 are the LDN respectively for the keyboard and the mouse.
I.e. In some Super I/Os, like the IT8728F, 0x05 and 0x06 are the LDNs respectively for the keyboard and the mouse.


Check your chip's datasheet to find the complete list.
Check your chip's datasheet to find the complete list.
Line 32: Line 32:


In order to access any configuration register you'll have to use two special registers:
In order to access any configuration register you'll have to use two special registers:
* Index register (reg 0x2E or 0x4E, depending on the chip)
* Index register (I/O port 0x2E or 0x4E, depending on the chip)
* Data register (reg 0x2F or 0x4F, obtained by adding 1 to the Index register)
* Data register (I/O port 0x2F or 0x4F, obtained by adding 1 to the Index register)


The Index register is used to specify which of the configuration registers you want to access.
The Index register is used to specify which of the configuration registers you want to access.
Line 263: Line 263:
* [https://www.usbid.com/datasheets/usbid/2000/2000-q3/pc87393_bios.pdf Porting a BIOS to the pc87393 chip]
* [https://www.usbid.com/datasheets/usbid/2000/2000-q3/pc87393_bios.pdf Porting a BIOS to the pc87393 chip]
* [http://pdf.datasheetcatalog.com/datasheet/nationalsemiconductor/PC87393.pdf pc87393 datasheet]
* [http://pdf.datasheetcatalog.com/datasheet/nationalsemiconductor/PC87393.pdf pc87393 datasheet]
* [ftp://download.intel.com/support/motherboards/desktop/sb/pnpbiosspecificationv10a.pdf PNP 1.0a specification]

Latest revision as of 13:07, 3 March 2016