2 * Registers for the ESS PCI cards
9 #define ESS_MEM_DATA 0x00
10 #define ESS_MEM_INDEX 0x02
13 * AC-97 Codec port. Delay 1uS after each write. This is used to
14 * talk AC-97 (see intel.com). Write data then register.
17 #define ESS_AC97_INDEX 0x30 /* byte wide */
18 #define ESS_AC97_DATA 0x32
21 * Reading is a bit different. You write register|0x80 to ubdex
22 * delay 1uS poll the low bit of index, when it clears read the
27 * Control port. Not yet fully understood
28 * The value 0xC090 gets loaded to it then 0x0000 and 0x2800
29 * to the data port. Then after 4uS the value 0x300 is written
32 #define RING_BUS_CTRL_L 0x34
33 #define RING_BUS_CTRL_H 0x36
36 * This is also used during setup. The value 0x17 is written to it
39 #define ESS_SETUP_18 0x18
42 * And this one gets 0x000b
45 #define ESS_SETUP_A2 0xA2
51 #define ESS_SETUP_A4 0xA4
52 #define ESS_SETUP_A6 0xA6
55 * Stuff to do with Harpo - the wave stuff
58 #define ESS_WAVETABLE_SIZE 0x14
59 #define ESS_WAVETABLE_2M 0xA180