* lib/proc.c (proc_setup): Increased path name length limit to 1024.
Thanks for Redhat and Mandrake for inspiration.
* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
Grabbed from Redhat (Fedora) patches.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-23
+2003-12-27 Martin Mares <mj@ucw.cz>
+
+ * lib/proc.c (proc_setup): Increased path name length limit to 1024.
+ Thanks for Redhat and Mandrake for inspiration.
+
+ * lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
+ Grabbed from Redhat (Fedora) patches.
+
2003-12-27 Martin Mares <mj@ucw.cz>
Merged bug fixes from Debian patches:
- lib: "syscall" access method
+- lspci: don't die when non-root tries to dump cardbus data
+
- pci.ids: "Unknown mass storage controller" -> "Mass storage controller".
echo >>$c '#define HAVE_PM_INTEL_CONF'
ok=1
;;
- alpha|ia64|sparc|sparc64)
+ alpha|ia64|sparc|sparc64|ppc|ppc64)
echo >>$c '#define HAVE_64BIT_ADDRESS'
;;
esac
if (a->cached_dev != d || a->fd_rw < rw)
{
- char buf[256];
+ char buf[1024];
if (a->fd >= 0)
close(a->fd);
if (snprintf(buf, sizeof(buf), "%s/%02x/%02x.%d", a->method_params[PCI_ACCESS_PROC_BUS_PCI],