- update mkelfImageto version 1.16
- cleanup the w83627hf header, and function names - rename power_led to w83627hf_power_led - rename w832627hf_power_after_power_fail to w83627hf_power_after_power_fail - smbus_read_block != smbus_read_byte - Update build_opt_tble to handle checksum entries ----------------------------------------------------------------------
This commit is contained in:
parent
d0bec9e108
commit
ab330196a1
9 changed files with 360 additions and 94 deletions
|
|
@ -28,28 +28,23 @@
|
|||
#define HW_MONITOR_DEVICE 0xb
|
||||
|
||||
|
||||
#define FLOPPY_DEFAULT_IOBASE 0x3f0
|
||||
#define FLOPPY_DEFAULT_IRQ 6
|
||||
#define FLOPPY_DEFAULT_DRQ 2
|
||||
#define PARALLEL_DEFAULT_IOBASE 0x378
|
||||
#define PARALLEL_DEFAULT_IRQ 7
|
||||
#define PARALLEL_DEFAULT_DRQ 4 /* No dma */
|
||||
#define COM1_DEFAULT_IOBASE 0x3f8
|
||||
#define COM1_DEFAULT_IRQ 4
|
||||
#define COM1_DEFAULT_BAUD 115200
|
||||
#define COM2_DEFAULT_IOBASE 0x2f8
|
||||
#define COM2_DEFAULT_IRQ 3
|
||||
#define COM2_DEFAULT_BAUD 115200
|
||||
#define KBC_DEFAULT_IOBASE0 0x60
|
||||
#define KBC_DEFAULT_IOBASE1 0x64
|
||||
#define KBC_DEFAULT_IRQ0 0x1
|
||||
#define KBC_DEFAULT_IRQ1 0xc
|
||||
#define HW_MONITOR_DEFAULT_IOBASE0 0x295
|
||||
|
||||
#define LED_OFF 0x00
|
||||
#define LED_ON 0x40
|
||||
#define LED_BLINK_1SEC 0x80
|
||||
#define LED_BLINK_4SEC 0xC0
|
||||
#define FLOPPY_DEFAULT_IOBASE 0x3f0
|
||||
#define FLOPPY_DEFAULT_IRQ 6
|
||||
#define FLOPPY_DEFAULT_DRQ 2
|
||||
#define PARALLEL_DEFAULT_IOBASE 0x378
|
||||
#define PARALLEL_DEFAULT_IRQ 7
|
||||
#define PARALLEL_DEFAULT_DRQ 4 /* No dma */
|
||||
#define COM1_DEFAULT_IOBASE 0x3f8
|
||||
#define COM1_DEFAULT_IRQ 4
|
||||
#define COM1_DEFAULT_BAUD 115200
|
||||
#define COM2_DEFAULT_IOBASE 0x2f8
|
||||
#define COM2_DEFAULT_IRQ 3
|
||||
#define COM2_DEFAULT_BAUD 115200
|
||||
#define KBC_DEFAULT_IOBASE0 0x60
|
||||
#define KBC_DEFAULT_IOBASE1 0x64
|
||||
#define KBC_DEFAULT_IRQ0 0x1
|
||||
#define KBC_DEFAULT_IRQ1 0xc
|
||||
#define HW_MONITOR_DEFAULT_IOBASE0 0x295
|
||||
|
||||
#if !defined(ASSEMBLY)
|
||||
void w83627hf_enter_pnp(unsigned char port);
|
||||
|
|
@ -59,7 +54,14 @@ void w83627hf_exit_pnp(unsigned char port);
|
|||
#define POWER_ON 1
|
||||
#define POWER_PREV 2
|
||||
|
||||
void w832627hf_power_after_power_fail(int state);
|
||||
void w83627hf_power_after_power_fail(int state);
|
||||
|
||||
#define LED_OFF 0x00
|
||||
#define LED_ON 0x40
|
||||
#define LED_BLINK_1SEC 0x80
|
||||
#define LED_BLINK_4SEC 0xC0
|
||||
|
||||
void w83627hf_power_led(int);
|
||||
#endif
|
||||
|
||||
#endif /* SUPERIO_W83627HF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue