Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Configuring HP-UX For Peripherals: HP 9000 Computers > Appendix C Major and Minor Numbers

Minor Number Bit Assignments

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The tables on the following pages show the bit assignments for bits 16 through 31 for the principal HP device drivers. In all cases, bits 8 through 15 (that is NN in hexadecimal 0xNN0000) encode the card instance of the interface card through which the device communicates.

Table C-4 Bit Assignments for Tape Devices

bits 16-19

20-23

24-27

28-31

stape tape2

SCSI target

SCSI LUN

24 - BSD behavior at close

25 - No rewind

26 - Configuration method [1]

27-31 - Index/Density [2]

[1] If 1, bits 27-31 mean Index. If 0, bits 27-31 mean Density.

[2] Index and Density are generated as needed by mksf(1M). Density is encoded as a field in the minor number, using a constant of the form DEN_M_*, as defined in /usr/include/sys/mtio.h. Index refers to an index into the property table used to specify extended configuration options (using the mt_property_type data structure defined in /usr/include/sys/mtio.h.) For further discussion, see mt(7) in the HP-UX Reference.

 

Table C-5 Bit Assignments for Disk and Magneto-Optical Devices

bits 16-19

20-23

24-27

28-31

disc3

SCSI target

SCSI LUN

Reserved

Section number

disc4

SCSI target

SCSI LUN

(always 0)

Reserved

Section number

sdisk

SCSI target

SCSI LUN

Reserved

Disk partition number

sflop

SCSI target

SCSI LUN

Reserved

0=3.5in 1.44MB drive, geom determined (default)

1=3.5in 1.44MB drive, no geom determined (SoftPC)

2=3.5in 720KB drive, geom determined 3=3.5in 720KB drive, no geom determined 4=3.5in 2.88MB drive, geom determined 5=3.5in 2.88MB drive, no geom determined

    6=not supported 7=not supported 8=5.25in 1.2MB drive, geom determined 8=5.25in 360KB drive, geom determined 9=5.25in 1.2MB drive, no geom determined 9=5.25in 360KB drive, no geom determined

schgr autox0

SCSI target

20-22 - SCSI LUN 23-31 - Surface

 

Table C-6 Bit Assignments for Serial, Network, and Line Printer Devices

bits 16-19

20-23

24-27

28-31

asio0

16-17 - Receive fifo trigger level 18-19 - Transmit fifo limit

Reserved

24 - Card diagnostic bit 25 - Reserved

26 - Reserved

27 - Hardware flow control enable

28 - Reserved

29 - Protocol 0=Bell, 1=CCITT

30-31 - Access mode

00=Direct 01=Dial-out modem 10=Dial-in modem

mux0 mux2 mux4

16-23 - Port number

24 - Card diagnostic bit 25 - Port diagnostic bit 26 - Reserved

27 - Hardware flow control enable

28 - Reserved

29 - Protocol 0=Bell, 1=CCITT

30-31 - Access mode 00=Direct 01=Dial-out modem 10=Dial-in modem

lan0 lan1 lan2 lan3

16-23 - Reserved

24 - Diagnostic access

25-30 - Reserved

31 - Protocol 1=IEEE, 2=Ethernet

osi0

16-31 - Reserved

CentIf

16-27 - Reserved

Handshake mode: 1=Automatic, using ACK, BUSY 2=Automatic, using BUSY only 3=Bidirectional read/write (for ScanJet) 4=Stream mode 5=Pulsed mode, using ACK, BUSY 6=Pulsed mode, using BUSY only

lpr0 lpr1 lpr2 lpr3

SCSI target

SCSI LUN

24 - Diagnostic access

25 - Reserved

26 - Auto form feed

27 - Case fold

28 - Raw mode

29 - No wait

30 - Old paper-out behavior

31 - Eject page during paper-out recovery

 

Table C-7 Bit Assignments for Miscellaneous Devices

bits 16-19

20-23

24-27

28-31

sctl

SCSI target

SCSI LUN

Reserved

0=Select with ATN enabled (default) 1=Select with ATN controlled by scsi_cmd_parms [1] 2=Inhibit inquiry at open

>2 - Not supported

instr0

16-20 - Instrument address 21-23 - Reserved

24 - Diagnostic access

25-31 - Reserved

pty0 pty1

Bits 8-31 - Unique hex value for pty

pdn0

Bits 16-23=2 (type)

24 - Diagnostic bit

25-31 - unused

psi0 psi1

16-23 - Reserved

24 - diagnostic

25-31(psi0) - Reserved

25-31(psi1) - PDA Index

graph3

16-23 - Bus specifier

Unused

0=Image planes 1=Overlay planes

ps2

b (hexadecimal) [2]

Reserved

Port number

28 - Autosearch 0=Off, 1=On.

If 28 is On, 29 used as follows:

0=Mouse 1=Keyboard

30-31=0

audio

Instance Number

0=Read/write device 1=control only device

Output destination (Ignored if

bits 28-31=0.) 0=Headphone, internal speaker, line out for Audio II 1=Headphone only 2=Int. speaker only 3=No output 4=Line output only (Audio II)

Output format (Ignored if

bits 20-23=1)

0=No change 1=Mu-law

2=A-law

3=16-bit linear

[1] See /usr/include/sys/scsi.h.

[2] Corresponds to bits 1011, for the function number of the PS2 device.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.