Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2008 Advanced Micro Devices, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #include <console/console.h> |
| 17 | #include <device/device.h> |
| 18 | #include <device/pci.h> |
| 19 | #include <device/pci_ids.h> |
| 20 | #include <device/pci_ops.h> |
| 21 | #include <arch/io.h> |
| 22 | #include <delay.h> |
| 23 | #include "sb600.h" |
| 24 | |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 25 | #define HDA_ICII_REG 0x68 |
Andrew Wu | ae8d069 | 2013-08-02 19:29:17 +0800 | [diff] [blame] | 26 | #define HDA_ICII_BUSY (1 << 0) |
| 27 | #define HDA_ICII_VALID (1 << 1) |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 28 | |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 29 | static int set_bits(void *port, u32 mask, u32 val) |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 30 | { |
| 31 | u32 dword; |
| 32 | int count; |
| 33 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 34 | /* Write (val & ~mask) to port */ |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 35 | val &= mask; |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 36 | dword = read32(port); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 37 | dword &= ~mask; |
| 38 | dword |= val; |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 39 | write32(port, dword); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 40 | |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 41 | /* Wait for readback of register to |
| 42 | * match what was just written to it |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 43 | */ |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 44 | count = 50; |
| 45 | do { |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 46 | /* Wait 1ms based on BKDG wait time */ |
| 47 | mdelay(1); |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 48 | dword = read32(port); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 49 | dword &= mask; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 50 | } while ((dword != val) && --count); |
| 51 | |
Zheng Bao | 2a5101a | 2010-10-10 15:18:53 +0000 | [diff] [blame] | 52 | /* Timeout occurred */ |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 53 | if (!count) |
| 54 | return -1; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 55 | return 0; |
| 56 | } |
| 57 | |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 58 | static u32 codec_detect(void *base) |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 59 | { |
| 60 | u32 dword; |
| 61 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 62 | /* Set Bit0 to 0 to enter reset state (BAR + 0x8)[0] */ |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 63 | if (set_bits(base + 0x08, 1, 0) == -1) |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 64 | goto no_codec; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 65 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 66 | /* Set Bit 0 to 1 to exit reset state (BAR + 0x8)[0] */ |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 67 | if (set_bits(base + 0x08, 1, 1) == -1) |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 68 | goto no_codec; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 69 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 70 | /* Delay for 1 ms since the BKDG does */ |
| 71 | mdelay(1); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 72 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 73 | /* Read in Codec location (BAR + 0xe)[3..0]*/ |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 74 | dword = read32(base + 0xe); |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 75 | dword &= 0x0F; |
| 76 | if (!dword) |
| 77 | goto no_codec; |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 78 | |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 79 | return dword; |
| 80 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 81 | no_codec: |
| 82 | /* Codec Not found */ |
| 83 | /* Put HDA back in reset (BAR + 0x8) [0] */ |
| 84 | set_bits(base + 0x08, 1, 0); |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 85 | printk(BIOS_DEBUG, "No codec!\n"); |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 86 | return 0; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 87 | } |
| 88 | |
| 89 | static u32 cim_verb_data[] = { |
| 90 | 0x01471c10, |
| 91 | 0x01471d40, |
| 92 | 0x01471e01, |
| 93 | 0x01471f01, |
| 94 | /* 1 */ |
| 95 | 0x01571c12, |
| 96 | 0x01571d10, |
| 97 | 0x01571e01, |
| 98 | 0x01571f01, |
| 99 | /* 2 */ |
| 100 | 0x01671c11, |
| 101 | 0x01671d60, |
| 102 | 0x01671e01, |
| 103 | 0x01671f01, |
| 104 | /* 3 */ |
| 105 | 0x01771c14, |
| 106 | 0x01771d20, |
| 107 | 0x01771e01, |
| 108 | 0x01771f01, |
| 109 | /* 4 */ |
| 110 | 0x01871c30, |
| 111 | 0x01871d90, |
| 112 | 0x01871ea1, |
| 113 | 0x01871f01, |
| 114 | /* 5 */ |
| 115 | 0x01971cf0, |
| 116 | 0x01971d11, |
| 117 | 0x01971e11, |
| 118 | 0x01971f41, |
| 119 | /* 6 */ |
| 120 | 0x01a71c80, |
| 121 | 0x01a71d30, |
| 122 | 0x01a71e81, |
| 123 | 0x01a71f01, |
| 124 | /* 7 */ |
| 125 | 0x01b71cf0, |
| 126 | 0x01b71d11, |
| 127 | 0x01b71e11, |
| 128 | 0x01b71f41, |
| 129 | /* 8 */ |
| 130 | 0x01c71cf0, |
| 131 | 0x01c71d11, |
| 132 | 0x01c71e11, |
| 133 | 0x01c71f41, |
| 134 | /* 9 */ |
| 135 | 0x01d71cf0, |
| 136 | 0x01d71d11, |
| 137 | 0x01d71e11, |
| 138 | 0x01d71f41, |
| 139 | /* 10 */ |
| 140 | 0x01e71c50, |
| 141 | 0x01e71d11, |
| 142 | 0x01e71e44, |
| 143 | 0x01e71f01, |
| 144 | /* 11 */ |
| 145 | 0x01f71c60, |
| 146 | 0x01f71d61, |
| 147 | 0x01f71ec4, |
| 148 | 0x01f71f01, |
| 149 | }; |
Uwe Hermann | ff492b1 | 2010-09-24 23:37:25 +0000 | [diff] [blame] | 150 | |
Joe Bao | 164463c | 2008-12-01 19:37:21 +0000 | [diff] [blame] | 151 | static u32 find_verb(u32 viddid, u32 ** verb) |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 152 | { |
| 153 | device_t azalia_dev = dev_find_slot(0, PCI_DEVFN(0x14, 2)); |
| 154 | struct southbridge_amd_sb600_config *cfg = |
| 155 | (struct southbridge_amd_sb600_config *)azalia_dev->chip_info; |
Patrick Georgi | bdd185a | 2015-02-22 17:54:18 +0100 | [diff] [blame] | 156 | if (!cfg) |
| 157 | return 0; |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 158 | printk(BIOS_DEBUG, "Dev=%s\n", dev_path(azalia_dev)); |
| 159 | printk(BIOS_DEBUG, "Default viddid=%x\n", cfg->hda_viddid); |
| 160 | printk(BIOS_DEBUG, "Reading viddid=%x\n", viddid); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 161 | if (viddid != cfg->hda_viddid) |
| 162 | return 0; |
| 163 | *verb = (u32 *) cim_verb_data; |
| 164 | return sizeof(cim_verb_data) / sizeof(u32); |
| 165 | } |
| 166 | |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 167 | /** |
Zheng Bao | 2a5101a | 2010-10-10 15:18:53 +0000 | [diff] [blame] | 168 | * Wait 50usec for the codec to indicate it is ready |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 169 | * no response would imply that the codec is non-operative |
| 170 | */ |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 171 | static int wait_for_ready(void *base) |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 172 | { |
| 173 | /* Use a 50 usec timeout - the Linux kernel uses the |
| 174 | * same duration */ |
| 175 | |
| 176 | int timeout = 50; |
| 177 | |
| 178 | while(timeout--) { |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 179 | u32 dword=read32(base + HDA_ICII_REG); |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 180 | if (!(dword & HDA_ICII_BUSY)) |
| 181 | return 0; |
| 182 | udelay(1); |
| 183 | } |
| 184 | |
| 185 | return -1; |
| 186 | } |
| 187 | |
| 188 | /** |
Zheng Bao | 2a5101a | 2010-10-10 15:18:53 +0000 | [diff] [blame] | 189 | * Wait 50usec for the codec to indicate that it accepted |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 190 | * the previous command. No response would imply that the code |
| 191 | * is non-operative |
| 192 | */ |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 193 | static int wait_for_valid(void *base) |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 194 | { |
| 195 | /* Use a 50 usec timeout - the Linux kernel uses the |
| 196 | * same duration */ |
| 197 | |
| 198 | int timeout = 50; |
| 199 | while(timeout--) { |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 200 | u32 dword = read32(base + HDA_ICII_REG); |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 201 | if ((dword & (HDA_ICII_VALID | HDA_ICII_BUSY)) == |
| 202 | HDA_ICII_VALID) |
| 203 | return 0; |
| 204 | udelay(1); |
| 205 | } |
| 206 | |
Andrew Wu | 9361daf | 2013-08-02 14:45:03 +0800 | [diff] [blame] | 207 | return -1; |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 208 | } |
| 209 | |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 210 | static void codec_init(void *base, int addr) |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 211 | { |
| 212 | u32 dword; |
| 213 | u32 *verb; |
| 214 | u32 verb_size; |
| 215 | int i; |
| 216 | |
| 217 | /* 1 */ |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 218 | if (wait_for_ready(base) == -1) |
| 219 | return; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 220 | |
| 221 | dword = (addr << 28) | 0x000f0000; |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 222 | write32(base + 0x60, dword); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 223 | |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 224 | if (wait_for_valid(base) == -1) |
| 225 | return; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 226 | |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 227 | dword = read32(base + 0x64); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 228 | |
| 229 | /* 2 */ |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 230 | printk(BIOS_DEBUG, "codec viddid: %08x\n", dword); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 231 | verb_size = find_verb(dword, &verb); |
| 232 | |
| 233 | if (!verb_size) { |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 234 | printk(BIOS_DEBUG, "No verb!\n"); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 235 | return; |
| 236 | } |
| 237 | |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 238 | printk(BIOS_DEBUG, "verb_size: %d\n", verb_size); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 239 | /* 3 */ |
| 240 | for (i = 0; i < verb_size; i++) { |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 241 | if (wait_for_ready(base) == -1) |
| 242 | return; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 243 | |
Stefan Reinauer | 9fe4d79 | 2010-01-16 17:53:38 +0000 | [diff] [blame] | 244 | write32(base + 0x60, verb[i]); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 245 | |
Jordan Crouse | 964f066 | 2008-10-07 16:25:10 +0000 | [diff] [blame] | 246 | if (wait_for_valid(base) == -1) |
| 247 | return; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 248 | } |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 249 | printk(BIOS_DEBUG, "verb loaded!\n"); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 250 | } |
| 251 | |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 252 | static void codecs_init(void *base, u32 codec_mask) |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 253 | { |
| 254 | int i; |
| 255 | for (i = 2; i >= 0; i--) { |
| 256 | if (codec_mask & (1 << i)) |
| 257 | codec_init(base, i); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | static void hda_init(struct device *dev) |
| 262 | { |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 263 | u8 byte; |
| 264 | u32 dword; |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 265 | void *base; |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 266 | struct resource *res; |
| 267 | u32 codec_mask; |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 268 | device_t sm_dev; |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 269 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 270 | /* Enable azalia - PM_io 0x59[4], disable ac97 - PM_io 0x59[1..0] */ |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 271 | pm_iowrite(0x59, 0xB); |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 272 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 273 | /* Find the SMBus */ |
| 274 | /* FIXME: Need to find out why the call below crashes. */ |
| 275 | /*sm_dev = dev_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_ATI_SB600_SM, 0);*/ |
| 276 | sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0)); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 277 | |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 278 | /* Set routing pin - SMBus ExtFunc (0xf8/0xfc) */ |
| 279 | pci_write_config32(sm_dev, 0xf8, 0x00); |
| 280 | pci_write_config8(sm_dev, 0xfc, 0xAA); |
| 281 | /* Set INTA - SMBus 0x63 [2..0] */ |
| 282 | byte = pci_read_config8(sm_dev, 0x63); |
| 283 | byte &= ~0x7; |
| 284 | byte |= 0x0; /* INTA:0x0 - INTH:0x7 */ |
| 285 | pci_write_config8(sm_dev, 0x63, byte); |
| 286 | |
| 287 | /* Program the 2C to 0x437b1002 */ |
| 288 | dword = 0x437b1002; |
| 289 | pci_write_config32(dev, 0x2c, dword); |
| 290 | |
| 291 | /* Read in BAR */ |
Zheng Bao | cb69cb3 | 2009-10-14 02:56:00 +0000 | [diff] [blame] | 292 | /* Is this right? HDA allows for a 64-bit BAR |
| 293 | * but this is only setup for a 32-bit one |
Dan Lykowski | 4505948 | 2009-02-05 02:18:42 +0000 | [diff] [blame] | 294 | */ |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 295 | res = find_resource(dev, 0x10); |
| 296 | if (!res) |
| 297 | return; |
| 298 | |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 299 | base = res2mmio(res, 0, 0); |
| 300 | printk(BIOS_DEBUG, "base = 0x%p\n", base); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 301 | codec_mask = codec_detect(base); |
| 302 | |
| 303 | if (codec_mask) { |
Stefan Reinauer | c02b4fc | 2010-03-22 11:42:32 +0000 | [diff] [blame] | 304 | printk(BIOS_DEBUG, "codec_mask = %02x\n", codec_mask); |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 305 | codecs_init(base, codec_mask); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | static struct pci_operations lops_pci = { |
| 310 | .set_subsystem = pci_dev_set_subsystem, |
| 311 | }; |
| 312 | |
| 313 | static struct device_operations hda_audio_ops = { |
| 314 | .read_resources = pci_dev_read_resources, |
| 315 | .set_resources = pci_dev_set_resources, |
| 316 | .enable_resources = pci_dev_enable_resources, |
| 317 | /*.enable = sb600_enable, */ |
| 318 | .init = hda_init, |
| 319 | .scan_bus = 0, |
| 320 | .ops_pci = &lops_pci, |
| 321 | }; |
| 322 | |
Stefan Reinauer | 8e96ba2 | 2010-03-16 23:33:29 +0000 | [diff] [blame] | 323 | static const struct pci_driver hdaaudio_driver __pci_driver = { |
Michael Xie | 7586cef | 2008-09-22 13:11:39 +0000 | [diff] [blame] | 324 | .ops = &hda_audio_ops, |
| 325 | .vendor = PCI_VENDOR_ID_ATI, |
| 326 | .device = PCI_DEVICE_ID_ATI_SB600_HDA, |
| 327 | }; |