~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/utils/pcitweak/pcitweak.man.pre

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $XFree86: xc/programs/Xserver/hw/xfree86/etc/pcitweak.man,v 3.3 2001/01/27 18:20:56 dawes Exp $ 
 
2
.TH PCITWEAK 1 __vendorversion__
 
3
.SH NAME
 
4
pcitweak - read/write PCI config space
 
5
.SH SYNOPSIS
 
6
.B pcitweak
 
7
.B \-l
 
8
.br
 
9
.B pcitweak
 
10
.B \-r
 
11
.I PCI-ID
 
12
.RB [ \-b | \-h ]
 
13
.I offset
 
14
.br
 
15
.B pcitweak
 
16
.B \-w
 
17
.I PCI-ID
 
18
.RB [ \-b | \-h ]
 
19
.I offset
 
20
.I value
 
21
.SH DESCRIPTION
 
22
.I Pcitweak
 
23
is a utility that can be used to examine or change registers in the PCI
 
24
configuration space.  On most platforms
 
25
.I pcitweak
 
26
can only be run by the root user.
 
27
.SH OPTIONS
 
28
.TP 8
 
29
.B \-l
 
30
Probe the PCI buses and print a line for each detected device.  Each line
 
31
contains the bus location (bus:device:function), chip vendor/device, card
 
32
(subsystem) vendor/card, revision, class and header type.  All values
 
33
printed are in hexadecimal.
 
34
.TP 8
 
35
.BI "\-r " PCI-ID
 
36
Read the PCI configuration space register at
 
37
.I offset
 
38
for the PCI device at bus location
 
39
.IR PCI-ID .
 
40
.I PCI-ID
 
41
should be given in the form bus:device:function, with each value in
 
42
hexadecimal.  By default, a 32-bit register is read.
 
43
.TP 8
 
44
.BI "\-w " PCI-ID
 
45
Write
 
46
.I value
 
47
to the PCI configuration space register at
 
48
.I offset
 
49
for the PCI device at bus location
 
50
.IR PCI-ID .
 
51
.I PCI-ID
 
52
should be given in the form bus:device:function, with each value in
 
53
hexadecimal.  By default, a 32-bit register is written.
 
54
.TP 8
 
55
.B \-b
 
56
Read or write an 8-bit value (byte).
 
57
.TP 8
 
58
.B \-h
 
59
Read or write a 16-bit value (halfword).
 
60
.SH "SEE ALSO"
 
61
scanpci(1)
 
62
.SH AUTHORS
 
63
David Dawes
 
64
.RI ( dawes@xfree86.org ).