]> mj.ucw.cz Git - pciutils.git/log
pciutils.git
18 years agoFixed a silly bug in processing of the -D switch.
Martin Mares [Fri, 5 May 2006 19:46:53 +0000 (21:46 +0200)]
Fixed a silly bug in processing of the -D switch.

18 years agoReleased as 2.2.2.
Martin Mares [Fri, 5 May 2006 15:22:38 +0000 (17:22 +0200)]
Released as 2.2.2.

18 years agoUpdated pci.ids from the current db snapshot.
Martin Mares [Fri, 5 May 2006 15:21:51 +0000 (17:21 +0200)]
Updated pci.ids from the current db snapshot.

18 years agoAdded OpenBSD interface.
Martin Mares [Fri, 5 May 2006 12:30:35 +0000 (14:30 +0200)]
Added OpenBSD interface.

18 years agoSwitching to GIT repository.
Martin Mares [Fri, 5 May 2006 12:20:51 +0000 (14:20 +0200)]
Switching to GIT repository.

18 years agoAvoid changes of -m format.
Martin Mares [Tue, 21 Mar 2006 22:49:11 +0000 (22:49 +0000)]
Avoid changes of -m format.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-96

18 years agoAdded comment on -m
Martin Mares [Tue, 21 Mar 2006 22:30:41 +0000 (22:30 +0000)]
Added comment on -m

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-95

18 years agoAdded the -D switch.
Martin Mares [Mon, 13 Mar 2006 21:13:14 +0000 (21:13 +0000)]
Added the -D switch.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-94

18 years agoReport cache line size in bytes.
Martin Mares [Mon, 13 Mar 2006 19:14:03 +0000 (19:14 +0000)]
Report cache line size in bytes.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-93

18 years agoUse curl if available.
Martin Mares [Mon, 13 Mar 2006 19:12:46 +0000 (19:12 +0000)]
Use curl if available.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-92

18 years agoFixed decoding of link status register.
Martin Mares [Mon, 13 Mar 2006 19:11:50 +0000 (19:11 +0000)]
Fixed decoding of link status register.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-91

18 years agoFixes for NetBSD
Martin Mares [Mon, 12 Dec 2005 12:03:28 +0000 (12:03 +0000)]
Fixes for NetBSD

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-90

18 years agoReleased 2.2.1
Martin Mares [Sat, 26 Nov 2005 13:01:11 +0000 (13:01 +0000)]
Released 2.2.1

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-89

18 years agoFixed a bug in name lookups
Martin Mares [Sat, 26 Nov 2005 11:53:38 +0000 (11:53 +0000)]
Fixed a bug in name lookups

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-88

18 years agoMemleak
Martin Mares [Tue, 11 Oct 2005 09:27:36 +0000 (09:27 +0000)]
Memleak

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-87

18 years agoFixed release script
Martin Mares [Wed, 21 Sep 2005 12:08:39 +0000 (12:08 +0000)]
Fixed release script

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-86

18 years agoUpdated pci.ids (c)
Martin Mares [Wed, 21 Sep 2005 12:07:59 +0000 (12:07 +0000)]
Updated pci.ids (c)

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-85

18 years agoFixed 64 bit addresses and released as 2.2.0.
Martin Mares [Wed, 21 Sep 2005 12:05:23 +0000 (12:05 +0000)]
Fixed 64 bit addresses and released as 2.2.0.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-84

18 years ago-test11
Martin Mares [Sun, 11 Sep 2005 16:08:42 +0000 (16:08 +0000)]
-test11

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-83

18 years agoHotfix
Martin Mares [Sat, 10 Sep 2005 12:24:08 +0000 (12:24 +0000)]
Hotfix

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-82

18 years agoReleased -test10.
Martin Mares [Sat, 10 Sep 2005 12:20:02 +0000 (12:20 +0000)]
Released -test10.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-81

18 years agoCompatibility changes
Martin Mares [Sat, 10 Sep 2005 12:15:14 +0000 (12:15 +0000)]
Compatibility changes

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-80

18 years agoNew names.c
Martin Mares [Sat, 10 Sep 2005 12:09:51 +0000 (12:09 +0000)]
New names.c

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-79

18 years agoReleased as 2.1.99-test9.
Martin Mares [Tue, 23 Aug 2005 21:33:37 +0000 (21:33 +0000)]
Released as 2.1.99-test9.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-78

18 years agoSynchronized pci.ids
Martin Mares [Tue, 23 Aug 2005 21:19:15 +0000 (21:19 +0000)]
Synchronized pci.ids

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-77

18 years agoRegister caching rewrite
Martin Mares [Tue, 23 Aug 2005 21:12:22 +0000 (21:12 +0000)]
Register caching rewrite

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-76

18 years agoImproved reading of dumps
Martin Mares [Tue, 23 Aug 2005 19:56:45 +0000 (19:56 +0000)]
Improved reading of dumps

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-75

18 years agoVarious improvements of PCI-X and PCI Express dumps.
Martin Mares [Tue, 23 Aug 2005 19:50:26 +0000 (19:50 +0000)]
Various improvements of PCI-X and PCI Express dumps.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-74

18 years agoFixed reading of dumps
Martin Mares [Tue, 23 Aug 2005 19:01:43 +0000 (19:01 +0000)]
Fixed reading of dumps

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-73

18 years agoSpelling fixes.
Martin Mares [Tue, 23 Aug 2005 18:33:44 +0000 (18:33 +0000)]
Spelling fixes.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-72

18 years agoUse xmalloc(), not malloc().
Martin Mares [Tue, 23 Aug 2005 11:33:38 +0000 (11:33 +0000)]
Use xmalloc(), not malloc().

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-71

18 years agoAdded x86_64.
Martin Mares [Mon, 22 Aug 2005 22:21:19 +0000 (22:21 +0000)]
Added x86_64.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-70

18 years agoFix parsing of domain filters
Martin Mares [Mon, 22 Aug 2005 21:36:27 +0000 (21:36 +0000)]
Fix parsing of domain filters

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-69

18 years agoFix spelling of Hz
Martin Mares [Mon, 22 Aug 2005 21:34:51 +0000 (21:34 +0000)]
Fix spelling of Hz

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-68

18 years agoUpdated Release.pm
Martin Mares [Sat, 19 Feb 2005 14:52:55 +0000 (14:52 +0000)]
Updated Release.pm

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-67

18 years agoAdd a missing semicolon.
Martin Mares [Sat, 13 Nov 2004 14:36:27 +0000 (14:36 +0000)]
Add a missing semicolon.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-66

18 years agoUpdated specs.
Martin Mares [Thu, 19 Aug 2004 09:19:01 +0000 (09:19 +0000)]
Updated specs.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-65

18 years ago2.1.99-test8 released.
Martin Mares [Fri, 13 Aug 2004 21:12:07 +0000 (21:12 +0000)]
2.1.99-test8 released.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-64

18 years agoUnexport byte, word.
Martin Mares [Fri, 13 Aug 2004 20:57:23 +0000 (20:57 +0000)]
Unexport byte, word.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-63

18 years agoMore Windows stuff.
Martin Mares [Fri, 13 Aug 2004 20:55:00 +0000 (20:55 +0000)]
More Windows stuff.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-62

18 years agoAdded more parts of the Windows port.
Martin Mares [Fri, 13 Aug 2004 20:54:43 +0000 (20:54 +0000)]
Added more parts of the Windows port.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-61

18 years agoInclude file splits and namespace cleanups.
Martin Mares [Fri, 13 Aug 2004 20:36:33 +0000 (20:36 +0000)]
Include file splits and namespace cleanups.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-60

18 years agoSysfs should parse 7 resources, not 8.
Martin Mares [Fri, 13 Aug 2004 19:57:02 +0000 (19:57 +0000)]
Sysfs should parse 7 resources, not 8.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-59

18 years agoFixed bugs in reading and interpreting of base addresses.
Martin Mares [Fri, 13 Aug 2004 19:51:05 +0000 (19:51 +0000)]
Fixed bugs in reading and interpreting of base addresses.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-58

18 years agoHT improvements from Maciej
Martin Mares [Fri, 30 Jul 2004 19:00:35 +0000 (19:00 +0000)]
HT improvements from Maciej

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-57

18 years agoArguments now correspond to the format string
Martin Mares [Sun, 11 Jul 2004 22:00:54 +0000 (22:00 +0000)]
Arguments now correspond to the format string

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-56

18 years agoForgot to update version number, as usually.
Martin Mares [Mon, 5 Jul 2004 15:44:18 +0000 (15:44 +0000)]
Forgot to update version number, as usually.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-55

18 years ago2.1.99-test7 released.
Martin Mares [Mon, 5 Jul 2004 15:42:59 +0000 (15:42 +0000)]
2.1.99-test7 released.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-54

18 years agoMerged more PCI Express updates.
Martin Mares [Mon, 5 Jul 2004 15:41:26 +0000 (15:41 +0000)]
Merged more PCI Express updates.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-53

18 years agoReleased as 2.1.99-test6.
Martin Mares [Sun, 27 Jun 2004 11:44:49 +0000 (11:44 +0000)]
Released as 2.1.99-test6.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-52

18 years agoAdded dumping of MSI-X caps.
Martin Mares [Sun, 27 Jun 2004 11:43:59 +0000 (11:43 +0000)]
Added dumping of MSI-X caps.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-51

18 years agoAdded support for 4096-byte extended configuration space.
Martin Mares [Sun, 27 Jun 2004 11:20:31 +0000 (11:20 +0000)]
Added support for 4096-byte extended configuration space.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-50

18 years agoReally 2.1.99-test5.
Martin Mares [Sat, 29 May 2004 20:22:58 +0000 (20:22 +0000)]
Really 2.1.99-test5.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-49

18 years ago2.1.99-test5 released
Martin Mares [Sat, 29 May 2004 20:22:38 +0000 (20:22 +0000)]
2.1.99-test5 released

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-48

18 years agoThe rest of the Windows port.
Martin Mares [Sat, 29 May 2004 20:19:03 +0000 (20:19 +0000)]
The rest of the Windows port.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-47

18 years agoAdded Windows port.
Martin Mares [Sat, 29 May 2004 20:18:47 +0000 (20:18 +0000)]
Added Windows port.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-46

18 years agoCross-compilation support by Maciej
Martin Mares [Sat, 29 May 2004 19:13:58 +0000 (19:13 +0000)]
Cross-compilation support by Maciej

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-45

18 years agoFixed upload directory on master.kernel.org
Martin Mares [Fri, 28 May 2004 12:09:44 +0000 (12:09 +0000)]
Fixed upload directory on master.kernel.org

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-44

18 years agoReleased as 2.1.99-test4.
Martin Mares [Fri, 28 May 2004 11:53:35 +0000 (11:53 +0000)]
Released as 2.1.99-test4.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-43

18 years agoAllow header type 1 for any bridge.
Martin Mares [Fri, 28 May 2004 11:48:34 +0000 (11:48 +0000)]
Allow header type 1 for any bridge.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-42

18 years agoBug fixes to format_agp_rate().
Martin Mares [Fri, 28 May 2004 11:46:02 +0000 (11:46 +0000)]
Bug fixes to format_agp_rate().

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-41

18 years agoHyperTransport capability support
Martin Mares [Fri, 28 May 2004 11:38:29 +0000 (11:38 +0000)]
HyperTransport capability support

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-40

18 years agoFix to the previous patch.
Martin Mares [Fri, 28 May 2004 10:46:59 +0000 (10:46 +0000)]
Fix to the previous patch.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-39

18 years agoDecode all bits in type 1 headers
Martin Mares [Fri, 28 May 2004 10:45:38 +0000 (10:45 +0000)]
Decode all bits in type 1 headers

lspci.c: Decode all bits of the secondary status word in type 1 headers.
Thanks to Maciej W. Rozycki <macro@ds2.pg.gda.pl> for the patch.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-38

18 years agoFixed release scripts
Martin Mares [Sat, 27 Dec 2003 22:32:09 +0000 (22:32 +0000)]
Fixed release scripts

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-37

18 years agoReleased 2.1.99-test3
Martin Mares [Sat, 27 Dec 2003 22:23:44 +0000 (22:23 +0000)]
Released 2.1.99-test3

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-36

18 years agoSupport for PCI domains finished
Martin Mares [Sat, 27 Dec 2003 22:16:56 +0000 (22:16 +0000)]
Support for PCI domains finished

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-35

18 years agoPreliminary support for PCI domains
Martin Mares [Sat, 27 Dec 2003 21:33:12 +0000 (21:33 +0000)]
Preliminary support for PCI domains

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-34

18 years agoAdded sysfs support
Martin Mares [Sat, 27 Dec 2003 19:42:38 +0000 (19:42 +0000)]
Added sysfs support

* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
is not supported by all C libraries.

* Makefile: Always enter the lib directory (remember that we don't have
full dependecies for the library in the top-level Makefile; hmmm, another
thing to rewrite some day).

* lib/sysfs.c: Added Linux sysfs access method based on the patch
written by Matthew Wilcox <willy@fc.hp.com>.

* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".

* lib/pread.h: The hacks to support pread on various versions
of Linux libc moved there.

* lib/proc.c (proc_setup): The return value of snprintf() varies
between glibc versions, so we need to check both for a negative
values and for too large values.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-33

18 years agoRemoved "Linux" from the package name
Martin Mares [Sat, 27 Dec 2003 13:41:32 +0000 (13:41 +0000)]
Removed "Linux" from the package name

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-32

18 years agoSome more fixes to the release scripts
Martin Mares [Sat, 27 Dec 2003 13:35:03 +0000 (13:35 +0000)]
Some more fixes to the release scripts

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-31

18 years agoThere is always one more bug
Martin Mares [Sat, 27 Dec 2003 13:29:27 +0000 (13:29 +0000)]
There is always one more bug

release: "@" must be escaped in Perl strings.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-30

18 years agoNew release system
Martin Mares [Sat, 27 Dec 2003 13:28:42 +0000 (13:28 +0000)]
New release system

Integrated a new system for making release.
Really applied the fbsd-device patch this time.
Released as 2.1.99-test2.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-29

18 years agoUploading of alpha versions
Martin Mares [Sat, 27 Dec 2003 01:00:50 +0000 (01:00 +0000)]
Uploading of alpha versions

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-28

18 years agoSome more 2.1.99-test1 stuff
Martin Mares [Sat, 27 Dec 2003 00:53:31 +0000 (00:53 +0000)]
Some more 2.1.99-test1 stuff

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-27

18 years ago2.1.99-test1 released
Martin Mares [Sat, 27 Dec 2003 00:48:57 +0000 (00:48 +0000)]
2.1.99-test1 released

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-26

18 years agoRemove ghosts of syscall access method
Martin Mares [Sat, 27 Dec 2003 00:40:21 +0000 (00:40 +0000)]
Remove ghosts of syscall access method

* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
Remove shadows of the syscall access method which was never
implemented.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-25

18 years agoupdate-pciids should preserve permissions
Martin Mares [Sat, 27 Dec 2003 00:33:56 +0000 (00:33 +0000)]
update-pciids should preserve permissions

* update-pciids.sh: Try to preserve permissions of the old file
if chmod supports --reference. Should close Debian Bug #223740.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-24

18 years agoRedhat and Mandrake fixes
Martin Mares [Sat, 27 Dec 2003 00:23:03 +0000 (00:23 +0000)]
Redhat and Mandrake fixes

* 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

18 years agoMerged bug fixes from Debian patches
Martin Mares [Fri, 26 Dec 2003 23:56:29 +0000 (23:56 +0000)]
Merged bug fixes from Debian patches

* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
* lspci.c (show_pcix_nobridge): Added a missing newline.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-22

18 years agoCorrected masking of hdr_type
Martin Mares [Fri, 26 Dec 2003 23:53:07 +0000 (23:53 +0000)]
Corrected masking of hdr_type

* lib/proc.c (proc_scan): When reading the header type, don't
forget to clear the topmost bit indicating that the device has
multiple functions. Grabbed from Debian patches.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-21

18 years agoUpdated the FreeBSD port
Martin Mares [Fri, 26 Dec 2003 23:30:47 +0000 (23:30 +0000)]
Updated the FreeBSD port

Updated the FreeBSD port. Thanks to Samy Al Bahra <samy@kerneled.com>
for the patches:

* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
* lib/fbsd-device.c: Select the right set of system includes according
to __FreeBSD_version.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-20

18 years agoAdd missing files
Martin Mares [Fri, 26 Dec 2003 23:13:43 +0000 (23:13 +0000)]
Add missing files

Forgot to add the newly created header files.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-19

18 years agoAdded support for SunOS/i386
Martin Mares [Fri, 26 Dec 2003 23:13:13 +0000 (23:13 +0000)]
Added support for SunOS/i386

Merged support for Solaris on i386 by Bill Moore <billm@eng.sun.com>
and cleaned up:

* lib/configure: Recognize SunOS.
* lib/internal.h: Learn how to recognize byte order on SunOS.
* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
* lib/i386-io-linux.h: Linux specific part.
* lib/i386-io-hurd.h: GNU/Hurd specific part.
* lib/i386-io-sunos.h: SunOS specific part.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-18

18 years agoClean up types
Martin Mares [Fri, 26 Dec 2003 22:52:21 +0000 (22:52 +0000)]
Clean up types

* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.

* lib/pci.h: Types declared in <sys/types.h> should be usable on all
platforms we currently support, so kill the forest of #ifdef's and
use them in all cases.

* lib/pci.h: Use ULONG_MASK to decide whether we should use long
or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
Define format strings for addresses, port numbers and IRQ numbers
directly in pci.h.

* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-17

18 years agoAdded support for GNU Hurd
Martin Mares [Fri, 26 Dec 2003 22:07:54 +0000 (22:07 +0000)]
Added support for GNU Hurd

2003-12-26  Marco Gerards  <metgerards@student.han.nl>

        Added support for the GNU Hurd (cleaned up by Martin Mares):

        * lib/configure [GNU]: Use the i386 ports for configuration access.
        * lib/i386-ports.c: Don't call iopl() on the Hurd.
        * lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
        u8 to u32.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-16

18 years agoFixed calls to config_fetch()
Martin Mares [Fri, 26 Dec 2003 21:57:34 +0000 (21:57 +0000)]
Fixed calls to config_fetch()

* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
config_fetch() to ensure that the registers have been read. Thanks to
Bill Wood <bill.wood@hp.com> for the patch.

* lspci.c: Ensure that failure of config_fetch() is handled correctly
at all places.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-15

18 years agoFixed @SHAREDIR@
Martin Mares [Fri, 26 Dec 2003 21:46:26 +0000 (21:46 +0000)]
Fixed @SHAREDIR@

lspci.man: There was one more explicit reference to /usr/share/pci.ids.
Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-14

18 years agoMore -D fixes.
Martin Mares [Fri, 26 Dec 2003 21:43:16 +0000 (21:43 +0000)]
More -D fixes.

git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-13

18 years agosetpci: -D should not disable reading
Martin Mares [Fri, 26 Dec 2003 21:41:11 +0000 (21:41 +0000)]
setpci: -D should not disable reading

setpci.c (ex_op): The demo mode was never documented to disable reads,
only writes, so conform with the definition.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-12

18 years agoBetter error messages
Martin Mares [Fri, 26 Dec 2003 21:39:23 +0000 (21:39 +0000)]
Better error messages

setpci now emits better error messages.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-11

18 years agoIntroduced NONRET macro
Martin Mares [Fri, 26 Dec 2003 21:30:06 +0000 (21:30 +0000)]
Introduced NONRET macro

pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
the GCC specific __attribute__((noreturn)) and killed the hack with
redefining __attribute__ on non-GCC compilers.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-10

18 years agoSupport masking in setpci
Martin Mares [Fri, 26 Dec 2003 21:24:27 +0000 (21:24 +0000)]
Support masking in setpci

setpci.c: Individual bits to be set can be specified as <value>:<mask>.
Contributed by Thayne Harbaugh <tharbaugh@lnxi.com> and cleaned up
by me.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-9

18 years agoFixed parallel builds
Martin Mares [Fri, 26 Dec 2003 20:19:17 +0000 (20:19 +0000)]
Fixed parallel builds

Makefile: Added missing dependencies. Parallel builds work now.
Problem reported by Andreas Haumer <andreas@xss.co.at>, but I chose
a different fix.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-8

18 years agoUse := instead of =
Martin Mares [Fri, 26 Dec 2003 20:13:26 +0000 (20:13 +0000)]
Use := instead of =

Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
command every time $(MANDIR) is referenced.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-7

18 years agoIncorrect error message fixed.
Martin Mares [Fri, 26 Dec 2003 20:09:21 +0000 (20:09 +0000)]
Incorrect error message fixed.

lspci.c (main): The error message for `lspci -s' incorrectly mentioned
a `-f' switch. Reported by Steve Finney <Steve.Finney@SpirentCom.COM>.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-6

18 years agoRemoved memory leak in pci_generic_bus_scan().
Martin Mares [Fri, 26 Dec 2003 20:07:46 +0000 (20:07 +0000)]
Removed memory leak in pci_generic_bus_scan().

lib/generic.c: Removed memory leak in pci_generic_bus_scan().
Reported by Gary Parnes <gary_parnes@terago.com>.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-5

18 years agoFixed UNUSED
Martin Mares [Fri, 26 Dec 2003 20:04:29 +0000 (20:04 +0000)]
Fixed UNUSED

Replaced obsolete syntax of __attribute__((unused)) in the middle of
parameter declarations (which is no longer supported by GCC 3.1) by the
current syntax (attribute at the end). Thanks to pixel@mandrakesoft.com
for reporting this problem.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-4

18 years agoRemoved $Id$
Martin Mares [Fri, 26 Dec 2003 19:56:08 +0000 (19:56 +0000)]
Removed $Id$

Removed CVS $Id$ tags from all files.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-3

18 years agoAdded more warnings
Martin Mares [Fri, 26 Dec 2003 19:52:42 +0000 (19:52 +0000)]
Added more warnings

Switched to pre-release mode and added some more warnings.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-2