diff options
author | bjs <bjs> | 2008-10-30 21:06:32 +0000 |
---|---|---|
committer | bjs <bjs> | 2008-10-30 21:06:32 +0000 |
commit | d3590ccf9c8f887ba53b86cb6b7815c0cfa52ca4 (patch) | |
tree | ff7b7282ab13c00a4bdf00088eee0642b1158494 /sysutils/libpciaccess/patches/patch-ac | |
parent | e56dde7800624ae70fad4f4a731dce005797d591 (diff) | |
download | pkgsrc-d3590ccf9c8f887ba53b86cb6b7815c0cfa52ca4.tar.gz |
Add support for compressed pci.ids file via zlib.
Diffstat (limited to 'sysutils/libpciaccess/patches/patch-ac')
-rw-r--r-- | sysutils/libpciaccess/patches/patch-ac | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/libpciaccess/patches/patch-ac b/sysutils/libpciaccess/patches/patch-ac index 568e57c9699..ffc186e348d 100644 --- a/sysutils/libpciaccess/patches/patch-ac +++ b/sysutils/libpciaccess/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ +$NetBSD: patch-ac,v 1.3 2008/10/30 21:06:32 bjs Exp $ --- src/netbsd_pci.c.orig 2008-10-15 18:35:53.000000000 -0400 +++ src/netbsd_pci.c -@@ -20,12 +19,15 @@ +@@ -20,12 +20,15 @@ #include <sys/mman.h> #include <sys/types.h> @@ -19,7 +19,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ #include <errno.h> #include <fcntl.h> -@@ -35,6 +37,8 @@ +@@ -35,6 +38,8 @@ #include <unistd.h> @@ -28,7 +28,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ #include "pciaccess.h" #include "pciaccess_private.h" -@@ -43,20 +47,12 @@ static int pcifd; +@@ -43,20 +48,12 @@ static int pcifd; static int pci_read(int bus, int dev, int func, uint32_t reg, uint32_t *val) { @@ -53,7 +53,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ return 0; } -@@ -64,16 +60,7 @@ pci_read(int bus, int dev, int func, uin +@@ -64,16 +61,7 @@ pci_read(int bus, int dev, int func, uin static int pci_write(int bus, int dev, int func, uint32_t reg, uint32_t val) { @@ -71,7 +71,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ } static int -@@ -91,70 +78,68 @@ static int +@@ -91,70 +79,68 @@ static int pci_device_netbsd_map_range(struct pci_device *dev, struct pci_device_mapping *map) { @@ -178,7 +178,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ return pci_device_generic_unmap_range(dev, map); } -@@ -163,25 +148,22 @@ static int +@@ -163,25 +149,22 @@ static int pci_device_netbsd_read(struct pci_device *dev, void *data, pciaddr_t offset, pciaddr_t size, pciaddr_t *bytes_read) { @@ -211,7 +211,7 @@ $NetBSD: patch-ac,v 1.2 2008/10/30 21:00:37 bjs Exp $ offset += toread; data = (char *)data + toread; -@@ -196,21 +178,18 @@ static int +@@ -196,21 +179,18 @@ static int pci_device_netbsd_write(struct pci_device *dev, const void *data, pciaddr_t offset, pciaddr_t size, pciaddr_t *bytes_written) { |