Logo by DBAlex (anonymous IP: 18.97.14.85,2260) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1015) Graphics (501) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4404 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
PCIScan for OS4 by Peter Gordon (pete()petergordon.org.uk) ========================================================= Shows PCI cards attached to the system. Copy pci.ids (from pciids.sf.net), OR vendors.txt (from pcidatabase.com) to devs: or s: and PCIScan will use it to give names to all the devices. The argument template is: VENDOR,DEVICE,DETAIL/S If you run PCIScan without any arguments, you'll get a summary of all attached devices. If you specify a vendor and/or device without the detail switch, PCIScan doesn't output anything, but returns with WARN set if the device is present, for use in scripts, for example: pciscan vendor=0x10cc if WARN echo "MAI Logic device found!" endif pciscan vendor=$1002 device=$5157 if WARN echo "ATI Radeon 7500 found!" endif pciscan 4354 2 if WARN echo "EMU10K Sound Blaster Live found!" endif If you specify the detail switch, you'll get a detailed list of all devices attached to the system, and their parameters. If you specify a vendor and/or device ID as well as the detail switch, you'll get detailed info for all devices that match, for example: 1.Work:> PCIScan DETAIL VENDOR=$1102 DEVICE=$7002 Device #1: Vendor: 0x1102 (Creative Labs) Device: 0x7002 (SB Live! MIDI/Game Port) Class code: 0x098000 RevisionID: 0x0A Interrupt: Line 0x00, Pin 0x00 Subsystem Vendor: 0x1102 Subsystem ID: 0x0020 Resource range #0 (IO) Base address: 0x00801220 Physical address: 0x00801220 Size: 0x00000010 History: 1.0 - First release 1.2 - Added DEVICE and VENDOR options 1.3 (04-Mar-2004) · Supports both pciids.sf.net and pcidatabase.com lists · Added DETAIL switch · Compiled with newlib 1.4 (08-Mar-2006) · Compiled with GCC 4.0.2 · Removed all warnings from GCC 4.0.2 "-Wall -Werror" · Now checks for end-of-buffer more stringently (fixed DSI on new memory system) |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |