--- ../../alsa-kernel/pci/ctxfi/ctatc.c	2010-01-14 09:24:33.415809949 +0100
+++ ctatc.c	2010-01-14 09:31:24.263557331 +0100
@@ -1,3 +1,4 @@
+#include "adriver.h"
 /**
  * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
  *
@@ -1247,8 +1248,13 @@
 		vendor_id = ssid >> 16;
 		device_id = ssid & 0xffff;
 	} else {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 3, 0)
 		vendor_id = atc->pci->subsystem_vendor;
 		device_id = atc->pci->subsystem_device;
+#else
+		pci_read_config_word(pci, PCI_SUBSYSTEM_VENDOR_ID, &vendor_id);
+		pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &device_id);
+#endif
 	}
 	p = snd_pci_quirk_lookup_id(vendor_id, device_id, list);
 	if (p) {
