/* "isapnp.h" created by: grayspace aka J. Leveille for: UbixOS Project date: May 12, 2002 Purpose: ISA PNP support $Id$ */ #ifndef _ISAPNP_H #define _ISAPNP_H #define ACCESS_FUNC_PORT "movl %edx, $0x279\n\t" #define ACCESS_DATA_PORT "movl %edx, $0x2A9\n\t" #define FUNC_SETREADPORT "movb $0x00, %al\n\toutb %dx, %al\n\t" #define FUNC_ISOLATION "movb $0x01, %al\n\toutb %dx, %al\n\t" #define FUNC_CONFIGCONTROL "movb $0x02, %al\n\toutb %dx, %al\n\t" #define FUNC_WAKEUP "movb $0x03, %al\n\toutb %dx, %al\n\t" #define FUNC_RESOURCEDATA "movb $0x04, %al\n\toutb %dx, %al\n\t" #define FUNC_STATUS "movb $0x05, %al\n\toutb %dx, %al\n\t" #define FUNC_SETCARDNUM "movb $0x06, %al\n\toutb %dx, %al\n\t" #define FUNC_SETDEVICENUM "movb $0x07, %al\n\toutb %dx, %al\n\t" #define FUNC_ACTIVATEADDR "movb $0x1E, %al\n\toutb %dx, %al\n\t" #define FUNC_IORANGECHECK "movb $0x1F, %al\n\toutb %dx, %al\n\t" #endif // _ISAPNP_H