From 6079e24889b7c8bdf1cca284cb9fe721e0a70ca3 Mon Sep 17 00:00:00 2001 From: Mika Kukkonen Date: Wed, 30 Jun 2004 01:52:08 -0700 Subject: [PATCH] sparse: NULL vs 0 - the rest of it --- include/linux/init_task.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 29189706ea57..9937c8df8d7c 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -54,7 +54,7 @@ #define INIT_SIGHAND(sighand) { \ .count = ATOMIC_INIT(1), \ - .action = { {{0,}}, }, \ + .action = { {{NULL,}}, }, \ .siglock = SPIN_LOCK_UNLOCKED, \ } -- cgit v1.2.3 From 67221af324c0903b0dc1ea2abfc7d1b08e112768 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Wed, 30 Jun 2004 18:30:47 +0100 Subject: [AGPGART] K8T800 Pro support in amd64 driver. Signed-off-by: Kris Kersey Signed-off-by: Dave Jones --- drivers/char/agp/amd64-agp.c | 9 +++++++++ include/linux/pci_ids.h | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 06a7ef269ef1..18c38420fad1 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c @@ -536,6 +536,15 @@ static struct pci_device_id agp_amd64_pci_table[] = { .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, }, + /* VIA K8T800Pro */ + { + .class = (PCI_CLASS_BRIDGE_HOST << 8), + .class_mask = ~0, + .vendor = PCI_VENDOR_ID_VIA, + .device = PCI_DEVICE_ID_VIA_K8T800PRO_0, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + }, /* VIA K8T800 */ { .class = (PCI_CLASS_BRIDGE_HOST << 8), diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index b43a7f89fc22..e60f3a146cf7 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1173,7 +1173,8 @@ #define PCI_DEVICE_ID_VIA_8763_0 0x0198 #define PCI_DEVICE_ID_VIA_8380_0 0x0204 #define PCI_DEVICE_ID_VIA_PX8X0_0 0x0259 -#define PCI_DEVICE_ID_VIA_8363_0 0x0305 +#define PCI_DEVICE_ID_VIA_K8T800PRO_0 0x0282 +#define PCI_DEVICE_ID_VIA_8363_0 0x0305 #define PCI_DEVICE_ID_VIA_8371_0 0x0391 #define PCI_DEVICE_ID_VIA_8501_0 0x0501 #define PCI_DEVICE_ID_VIA_82C505 0x0505 -- cgit v1.2.3