2003-12-27 Martin Mares <mj@ucw.cz>
+ * pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
+ Remove shadows of the syscall access method which was never
+ implemented.
+
* update-pciids.sh: Try to preserve permissions of the old file
if chmod supports --reference. Should close Debian Bug #223740.
-- 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".
die("Unknown hardware configuration type %s", optarg);
break;
#endif
-#ifdef HAVE_PM_SYSCALLS
- case 'S':
- pacc->method = PCI_ACCESS_SYSCALLS;
- break;
-#endif
#ifdef HAVE_PM_DUMP
case 'F':
pacc->method_params[PCI_ACCESS_DUMP] = optarg;
int pci_link_dev(struct pci_access *, struct pci_dev *);
extern struct pci_methods pm_intel_conf1, pm_intel_conf2, pm_linux_proc,
- pm_syscalls, pm_fbsd_device, pm_aix_device, pm_nbsd_libpci, pm_dump;
+ pm_fbsd_device, pm_aix_device, pm_nbsd_libpci, pm_dump;
is able to address only first 16 devices on any bus and it seems to be very
unrealiable in many cases. (i386 and compatible only)
.TP
-.B -S
-Use PCI access syscalls. (Linux on Alpha and UltraSparc only)
-.TP
.B -F <file>
Extract all information from given file containing output of lspci -x. This is very
useful for analysis of user-supplied bug reports, because you can display the
#define GENOPT_INTEL
#define GENHELP_INTEL
#endif
-#ifdef HAVE_PM_SYSCALLS
-#define GENOPT_SYSCALLS "S"
-#define GENHELP_SYSCALLS "-S\t\tUse direct hardware access via syscalls\n"
-#else
-#define GENOPT_SYSCALLS
-#define GENHELP_SYSCALLS
-#endif
#ifdef HAVE_PM_DUMP
#define GENOPT_DUMP "F:"
#define GENHELP_DUMP "-F <file>\tRead configuration data from given file\n"
#define GENHELP_DUMP
#endif
-#define GENERIC_OPTIONS "G" GENOPT_PROC GENOPT_INTEL GENOPT_SYSCALLS GENOPT_DUMP
-#define GENERIC_HELP GENHELP_PROC GENHELP_INTEL GENHELP_SYSCALLS GENHELP_DUMP \
+#define GENERIC_OPTIONS "G" GENOPT_PROC GENOPT_INTEL GENOPT_DUMP
+#define GENERIC_HELP GENHELP_PROC GENHELP_INTEL GENHELP_DUMP \
"-G\t\tEnable PCI access debugging\n"
is able to address only first 16 devices on any bus and it seems to be very
unrealiable in many cases. (i386 and compatible only)
.TP
-.B -S
-Use PCI access syscalls. (Linux on Alpha and UltraSparc only)
-.TP
.B -F <file>
Extract all information from given file containing output of lspci -x. This is very
useful for analysis of user-supplied bug reports, because you can display the