OS4 DepotLogo by Nickman 
(anonymous IP: 3.145.102.18,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Shell » pciscan.lha

Pciscan

Description: Lists, or tests for attached PCI devices
Download: pciscan.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 141kb
Version: 1.4
Date: 08 Mar 06
Author: Peter Gordon
Submitter: Peter Gordon
Email: pete/petergordon org uk
Homepage: http://www.petergordon.org.uk/software.php
Category: utility/shell
Replaces: utility/shell/pciscan.lha
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 1694
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 21  (Current version)
21  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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 (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment