Subject: IPF and ALTQ with 1.6_STABLE
To: None <tech-kern@netbsd.org>
From: Matthew Mondor <mmondor@gobot.ca>
List: tech-kern
Date: 12/20/2002 17:36:06
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi folks,
I recently upgraded a system which used to run 1.5.3 to NetBSD-release-1.6
(1.6_STABLE). There are two problems I have enountered; perhaps I am missing
something? I attempt to compile in support for ipfilter and ipnat, as well
as altq.
I first noticed that options(4) does not have any information on enabling
support for altq, and I found no GENERIC configuration files examples to
do it, even commented out. Although some altq-related man pages are there,
rc.conf(5) has been updated and /etc/rc.d/ scripts as well. Would anyone
know the specific keyword I should use in my kernel configuration file to
enable it?
Then I noticed that IPF support, although compiled in, does not seem to work
at all anymore (which used to work fine with 1.5.3)... config(8) also didn't
show any warnings before compilation, compilation went well, but I get
ioctl(2) errors.
I herein attach various information about my current system which perhaps
could help to point out any error on my part.
Thanks,
Matt
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="GOBOT.txt"
# $NetBSD: GENERIC,v 1.491.4.3 2002/10/24 09:34:22 lukem Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel. The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.
include "arch/i386/conf/std.i386"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.491.4.3 $"
maxusers 32 # estimated number of users
# CPU support. At least one is REQUIRED.
#options I386_CPU
#options I486_CPU
options I586_CPU
#options I686_CPU
# CPU-related options.
#options MATH_EMULATE # floating point emulation
options VM86 # virtual 8086 emulation
options USER_LDT # user-settable LDT; used by WINE
# eliminate delay no-ops in I/O; recommended on all but very old machines
#options DUMMY_NOPS
options MTRR # memory-type range register syscall support
options PERFCTRS # performance-monitoring counters support
# delay between "rebooting ..." message and hardware reset, in milliseconds
#options CPURESET_DELAY=2000
# This option allows you to force a serial console at the specified
# I/O address. see console(4) for details.
#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
# you don't want the option below ON iff you are using the
# serial console option of the new boot strap code.
#options CONS_OVERRIDE # Always use above! independent of boot info
# The following options override the memory sizes passed in from the boot
# block. Use them *only* if the boot block is unable to determine the correct
# values. Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
#options REALBASEMEM=639 # size of base memory (in KB)
# Standard system options
options UCONSOLE # users can use TIOCCONS (for xconsole)
options INSECURE # disable kernel security levels
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options NTP # NTP phase/frequency locked loop
options KTRACE # system call tracing via ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
#options LKM # loadable kernel modules
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
# Diagnostic/debugging support options
#options DIAGNOSTIC # expensive kernel consistency checks
#options DEBUG # expensive debugging checks/support
#options KMEMSTATS # kernel memory statistics (vmstat -m)
#options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=512 # enable history editing in DDB
#options KGDB # remote debugger
#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
#makeoptions DEBUG="-g" # compile full symbol table
# Compatibility options
#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
#options COMPAT_09 # NetBSD 0.9,
#options COMPAT_10 # NetBSD 1.0,
#options COMPAT_11 # NetBSD 1.1,
#options COMPAT_12 # NetBSD 1.2,
#options COMPAT_13 # NetBSD 1.3,
#options COMPAT_14 # NetBSD 1.4,
#options COMPAT_15 # NetBSD 1.5,
#options COMPAT_43 # and 4.3BSD
#options COMPAT_386BSD_MBRPART # recognize old partition ID
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
#options COMPAT_SVR4 # binary compatibility with SVR4
#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options COMPAT_LINUX # binary compatibility with Linux
#options COMPAT_FREEBSD # binary compatibility with FreeBSD
#options COMPAT_MACH # binary compatibility with Mach binaries
#options EXEC_MACHO # exec MACH-O binaries
#options COMPAT_PECOFF # kernel support to run Win32 apps
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
#file-system NTFS # Windows/NT file system (experimental)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
#file-system KERNFS # /kern
#file-system NULLFS # loopback file system
#file-system OVERLAY # overlay file system
#file-system PORTAL # portal filesystem (still experimental)
#file-system PROCFS # /proc
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
#file-system CODA # Coda File System; also needs vcoda (below)
# File system options
options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independent support
options SOFTDEP # FFS soft updates support.
#options NFSSERVER # Network File System server
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options INET6 # IPV6
options IPSEC # IP security
options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options NS # XNS
#options NSIP # XNS tunneling over IP
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
#options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options EISAVERBOSE # verbose EISA device autoconfig messages
#options MIIVERBOSE # verbose PHY autoconfig messages
#options PCIVERBOSE # verbose PCI device autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
#options PCMCIAVERBOSE # verbose PCMCIA configuration messages
#options SCSIVERBOSE # human readable SCSI error messages
#options USBVERBOSE # verbose USB device autoconfig messages
#options PNPBIOSVERBOSE # verbose PnP BIOS messages
#options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages
#options I2OVERBOSE # verbose I2O driver messages
#options MCAVERBOSE # verbose MCA device autoconfig messages
#options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
#
# wscons options
#
# builtin terminal emulations
#options WSEMUL_SUN # sun terminal emulation
options WSEMUL_VT100 # VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options WS_KERNEL_FG=WSCOL_GREEN
#options WS_KERNEL_BG=WSCOL_BLACK
# compatibility to other console drivers
options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
options WSDISPLAY_COMPAT_USL # VT handling
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options PCDISPLAY_SOFTCURSOR
# modify the screen type of the console; defaults to "80x25"
#options VGA_CONSOLE_SCREENTYPE="\"80x24\""
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#config netbsd root on sd0a type ffs
#config netbsd root on ? type nfs
#
# Device configuration
#
mainbus0 at root
#apm0 at mainbus0 # Advanced power management
# Tuning for power management, see apm(4) for more details.
#options APM_NO_IDLE # Don't call BIOS CPU idle function
#options APM_V10_ONLY # Use only the APM 1.0 calls
#options APM_NO_POWEROFF # Don't power off on halt(8)
#options APM_POWER_PRINT # Print stats on the console
#options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
# Basic Bus Support
# Plug-and-Play BIOS and attached devices
#pnpbios* at mainbus?
# mainboard audio chips
#ess* at pnpbios? index ? # ESS AudioDrive
#sb* at pnpbios? index ? # NeoMagic 256AV in sb mode
#wss* at pnpbios? index ? # NeoMagic 256AV in wss mode
#ym* at pnpbios? index ? # OPL3-SA3
# com port
# If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
# Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
# will be no com0. A side effect is pcmcia (and other) com? previously
# starting at com3 may attach as com1 or com2.
#com* at pnpbios? index ? # serial ports
# parallel port
# The above "com*" comments apply, cf. "lpt0" under "ISA parallel
# "printer interfaces".
#lpt* at pnpbios? index ? # parallel ports
#pckbc* at pnpbios? index ? # PC keyboard/mouse controller
#fdc* at pnpbios? index ? # floppy controller
# IDE controller on Toshiba Portege 3000 series (crippled PCI device)
#pciide* at pnpbios? index ?
# PCI bus support
pci* at mainbus? bus ?
#pci* at pchb? bus ?
#pci* at ppb? bus ?
# Configure PCI using BIOS information
#options PCIBIOS # PCI BIOS support
#options PCIBIOSVERBOSE # PCI BIOS verbose info
#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses
#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering
#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing
#options PCIBIOS_INTR_GUESS # see pcibios(4)
#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup
# PCI bridges
pchb* at pci? dev ? function ? # PCI-Host bridges
#pceb* at pci? dev ? function ? # PCI-EISA bridges
pcib* at pci? dev ? function ? # PCI-ISA bridges
#pcmb* at pci? dev ? function ? # PCI-MCA bridges
#ppb* at pci? dev ? function ? # PCI-PCI bridges
# XXX 'puc's aren't really bridges, but there's no better place for them here
#puc* at pci? dev ? function ? # PCI "universal" comm. cards
#agp* at pchb?
# EISA bus support
#eisa0 at mainbus?
#eisa0 at pceb?
# ISA bus support
#isa0 at mainbus?
#isa0 at pceb?
isa0 at pcib?
# PCMCIA bus support
#pcmcia* at pcic? controller ? socket ?
#pcmcia* at tcic? controller ? socket ?
# MCA bus support
#mca0 at mainbus?
# ISA PCMCIA controllers
#pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
#pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
#tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
# PCI PCMCIA controllers
#pcic0 at pci? dev? function ?
# ISA Plug-and-Play bus support
isapnp0 at isa?
# ISA Plug-and-Play PCMCIA controllers
#pcic* at isapnp?
# CardBus bridge support
#cbb* at pci? dev ? function ?
#cardslot* at cbb?
# CardBus bus support
#cardbus* at cardslot?
#pcmcia* at cardslot?
# Coprocessor Support
# Math Coprocessor support
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
# Console Devices
# ISA console
#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
# Keyboard layout configuration for pccons
#options FRENCH_KBD
#options FINNISH_KBD
#options GERMAN_KBD
#options NORWEGIAN_KBD
# pccons-specific options:
#options XSERVER_DDB # PF12 gets you into DDB when X is running
#options XSERVER # X server support
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
#options PMS_DISABLE_POWERHOOK
#vga0 at isa?
vga* at pci? dev ? function ?
#pcdisplay0 at isa? # CGA, MDA, EGA, HGA
wsdisplay* at vga? console ?
#wsdisplay* at pcdisplay? console ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
pcppi0 at isa?
sysbeep0 at pcppi?
# Serial Devices
# PCI serial interfaces
#com* at puc? port ? # 16x50s on "universal" comm boards
#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
# ISA Plug-and-Play serial interfaces
#com* at isapnp? # Modems and serial boards
# PCMCIA serial interfaces
#com* at pcmcia? function ? # Modems and serial cards
#pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
#com* at pcmcom? slave ? # ...and the slave devices
# CardBus serial interfaces
#com* at cardbus? dev ? function ? # Modems and serial cards
# ISA serial interfaces
#options COM_HAYESP # adds Hayes ESP serial board support
com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
#com1 at isa? port 0x2f8 irq 3
#com2 at isa? port 0x3e8 irq 5
#com3 at isa? port 0x2e8 irq 9
#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
#com* at ast? slave ?
#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
#boca0 at isa? port 0x100 irq 5 # BOCA 16-port serial cards (BB2016)
#boca1 at isa? port 0x140 irq 5 # this line is also needed for BB2016
#com* at boca? slave ?
#tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards
#com* at tcom? slave ?
#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
#com* at rtfps? slave ?
#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
#addcom0 at isa? port 0x108 irq 5 # Addonics FlexPort 8S
#com* at addcom? slave ?
#moxa0 at isa? port 0x100 irq 5 # MOXA C168H serial card (experimental)
#com* at moxa? slave ?
# MCA serial interfaces
#com* at mca? slot ? # 16x50s on comm boards
# Parallel Printer Interfaces
# PCI parallel printer interfaces
#lpt* at puc? port ? # || ports on "universal" comm boards
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
#lpt1 at isa? port 0x278
#lpt2 at isa? port 0x3bc
# Hardware monitors
# LM7[89] and compatible hardware monitors
#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310
# VIA VT82C686A hardware monitor
#viapm* at pci? dev ? function ?
#viaenv* at viapm?
# I2O devices
#iop* at pci? dev ? function ? # I/O processor
#iopsp* at iop? tid ? # SCSI/FC-AL ports
#ld* at iop? tid ? # block devices
#dpti* at iop? tid 0 # DPT/Adaptec control interface
# SCSI Controllers and Devices
# PCI SCSI controllers
#adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
#adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
#bha* at pci? dev ? function ? # BusLogic 9xx SCSI
#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
#iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
#mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
#siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
#options SIOP_SYMLED # drive the act. LED in software
#trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
# EISA SCSI controllers
#ahb* at eisa? slot ? # Adaptec 174[02] SCSI
#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
#bha* at eisa? slot ? # BusLogic 7xx SCSI
#dpt* at eisa? slot ? # DPT EATA SCSI
#uha* at eisa? slot ? # UltraStor 24f SCSI
# PCMCIA SCSI controllers
#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
#esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI
# ISA Plug-and-Play SCSI controllers
#aha* at isapnp? # Adaptec AHA-154[02
#aic* at isapnp? # Adaptec AHA-1520B
# ISA SCSI controllers
#adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02] SCSI
#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
#aha1 at isa? port 0x334 irq ? drq ?
#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI
#bha1 at isa? port 0x334 irq ? drq ?
# The "nca" and "dpt" probes might give false hits or hang your machine.
#dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID
#nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller
#nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.)
#sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI
#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI
#uha1 at isa? port 0x340 irq ? drq ?
#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
#wds1 at isa? port 0x358 irq 11 drq 5
# CardBus SCSI cards
#adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
#ahc* at cardbus? dev ? function ? # Adaptec ADP-1480
# MCA SCSI cards
#aha* at mca? slot ? # Adaptec AHA-1640
# SCSI bus support
#scsibus* at adv?
#scsibus* at adw?
#scsibus* at aha?
#scsibus* at ahb?
#scsibus* at ahc?
#scsibus* at aic?
#scsibus* at bha?
#scsibus* at dpt?
#scsibus* at esp?
#scsibus* at iha?
#scsibus* at iopsp?
#scsibus* at isp?
#scsibus* at mly?
#scsibus* at nca?
#scsibus* at pcscp?
#scsibus* at sea?
#scsibus* at siop?
#scsibus* at trm?
#scsibus* at uha?
#scsibus* at wds?
# SCSI devices
#sd* at scsibus? target ? lun ? # SCSI disk drives
#st* at scsibus? target ? lun ? # SCSI tape drives
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
#ch* at scsibus? target ? lun ? # SCSI autochangers
#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
#ss* at scsibus? target ? lun ? # SCSI scanners
#uk* at scsibus? target ? lun ? # SCSI unknown
# RAID controllers and devices
#aac* at pci? dev ? function ? # Adaptec AAC family
#cac* at eisa? slot ? # Compaq EISA array controllers
#cac* at pci? dev ? function ? # Compaq PCI array controllers
#mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
#mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family
#twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
#ld* at aac? unit ? # logical disk devices
#ld* at cac? unit ?
#ld* at icp? unit ?
#ld* at twe? unit ?
#ld* at mlx? unit ?
#icpsp* at icp? unit ? # SCSI pass-through
#scsibus* at icpsp?
# IDE and related devices
# PCI IDE controllers - see pciide(4) for supported hardware.
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
# how to set up DMA modes for this chip. This may work, or may cause
# a machine hang with some controllers.
#pciide* at pci? dev ? function ? flags 0x0000
# ISA Plug-and-Play IDE controllers
#wdc* at isapnp?
# PCMCIA IDE controllers
#wdc* at pcmcia? function ?
# ISA ST506, ESDI, and IDE controllers
# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
# fall back to 16bits I/O if 32bits I/O are not functional).
# Some controllers pass the initial 32bit test, but will fail later.
wdc0 at isa? port 0x1f0 irq 14 flags 0x00
wdc1 at isa? port 0x170 irq 15 flags 0x00
# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
wd* at wdc? channel ? drive ? flags 0x0000
#wd* at pciide? channel ? drive ? flags 0x0000
# ATAPI bus support
atapibus* at wdc? channel ?
#atapibus* at pciide? channel ?
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# Miscellaneous mass storage devices
# ISA floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370 irq ? drq ?
fd* at fdc? drive ? # the drives themselves
# some machines need you to do this instead of fd*
#fd0 at fdc0 drive 0
# ISA CD-ROM devices
#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
# ISA tape devices
# note: the wt driver conflicts unpleasantly with SMC boards at the
# same I/O address. The probe reprograms their EEPROMs. Don't
# uncomment it unless you are actually using it.
#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives
# MCA ESDI devices
#edc* at mca? slot ? # IBM ESDI Disk Controllers
#ed* at edc?
# Network Interfaces
# PCI network interfaces
#an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
#en* at pci? dev ? function ? # ENI/Adaptec ATM
#ep* at pci? dev ? function ? # 3Com 3c59x
#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
#esh* at pci? dev ? function ? # Essential HIPPI card
#ex* at pci? dev ? function ? # 3Com 90x[BC]
#fpa* at pci? dev ? function ? # DEC DEFPA FDDI
#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
#gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
#hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
#le* at pci? dev ? function ? # PCnet-PCI Ethernet
#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
#pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
#rtk* at pci? dev ? function ? # Realtek 8129/8139
#sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
#ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
#stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
#tlp* at pci? dev ? function ? # DECchip 21x4x and clones
#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
#wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
#wm* at pci? dev ? function ? # Intel 82543/82544 gigabit
# EISA network interfaces
#ep* at eisa? slot ? # 3Com 3c579 Ethernet
#fea* at eisa? slot ? # DEC DEFEA FDDI
#tlp* at eisa? slot ? # DEC DE-425 Ethernet
# ISA Plug-and-Play network interfaces
#an* at isapnp? # Aironet 802.11
#ep* at isapnp? # 3Com 3c509 Ethernet
#ne* at isapnp? # NE2000-compatible Ethernet
#tr* at isapnp? # IBM/3COM TROPIC Token-Ring
# PCMCIA network interfaces
#an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
#awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS)
#cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer
#ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
#mbe* at pcmcia? function ? # MB8696x based Ethernet
#ne* at pcmcia? function ? # NE2000-compatible Ethernet
#ray* at pcmcia? function ? # Raytheon Raylink (802.11)
#sm* at pcmcia? function ? # Megahertz Ethernet
# tr at pcmcia has problems with Cardbus bridges
#tr* at pcmcia? function ? # TROPIC based Token-Ring
#wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
#xi* at pcmcia? function ? # Xircom CreditCard Ethernet
#mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards
#com* at mhzc?
#sm* at mhzc?
# ISA network interfaces
#ate0 at isa? port 0x2a0 irq ? # AT1700
#cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet
#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
#eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards
#el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
#ep* at isa? port ? irq ? # 3C509 ethernet cards
#ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507
#ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN
#fmv0 at isa? port 0x2a0 irq ? # FMV-180 series
#ix0 at isa? port 0x300 irq 10 # EtherExpress/16
#iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA
#lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC)
#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA
#le* at depca?
#nele0 at isa? port 0x320 irq 9 drq 7 # NE2100
#le* at nele?
#ntwoc0 at isa? port 0x300 irq 5 iomem 0xc8000 flags 1 # Riscom/N2 sync serial
#bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan
#le* at bicc?
#ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
#ne1 at isa? port 0x300 irq 10
#sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet
#tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring
#tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring
#tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring
#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
#we1 at isa? port 0x300 iomem 0xcc000 irq 10
# CardBus network cards
#ex* at cardbus? dev ? function ? # 3Com 3C575TX
#fxp* at cardbus? dev ? function ? # Intel i8255x
#rtk* at cardbus? dev ? function ? # Realtek 8129/8139
#tlp* at cardbus? dev ? function ? # DECchip 21143
# MCA network cards
#elmc* at mca? slot ? # 3Com EtherLink/MC (3c523)
#ep* at mca? slot ? # 3Com EtherLink III (3c529)
#we* at mca? slot ? # WD/SMC Ethernet
#ate* at mca? slot ? # Allied Telesis AT1720
#ne* at mca? slot ? # Novell NE/2 and clones
#tr* at mca? slot ? # IBM Token Ring adapter
#le* at mca? slot ? # SKNET Personal/MC2+
# MII/PHY support
#acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
#amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
#bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
#brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
#dmphy* at mii? phy ? # Davicom DM9101 PHYs
#exphy* at mii? phy ? # 3Com internal PHYs
#gphyter* at mii? phy ? # NS83861 Gig-E PHY
#icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
#inphy* at mii? phy ? # Intel 82555 PHYs
#iophy* at mii? phy ? # Intel 82553 PHYs
#lxtphy* at mii? phy ? # Level One LXT-970 PHYs
#makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
#nsphy* at mii? phy ? # NS83840 PHYs
#nsphyter* at mii? phy ? # NS83843 PHYs
#pnaphy* at mii? phy ? # generic HomePNA PHYs
#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
#tlphy* at mii? phy ? # ThunderLAN PHYs
#tqphy* at mii? phy ? # TDK Semiconductor PHYs
#ukphy* at mii? phy ? # generic unknown PHYs
#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
# USB Controller and Devices
# PCI USB controllers
# The EHCI is not ready for prime time.
#ehci* at pci? dev ? function ? # Enhanced Host Controller
#ohci* at pci? dev ? function ? # Open Host Controller
#uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
# CardBus USB controllers
#ehci* at cardbus? dev ? function ? # Enhanced Host Controller
#ohci* at cardbus? dev ? function ? # Open Host Controller
# USB bus support
#usb* at ehci?
#usb* at ohci?
#usb* at uhci?
# USB Hubs
#uhub* at usb?
#uhub* at uhub? port ? configuration ? interface ?
# USB HID device
#uhidev* at uhub? port ? configuration ? interface ?
# USB Mice
#ums* at uhidev? reportid ?
#wsmouse* at ums? mux 0
# USB Keyboards
#ukbd* at uhidev? reportid ?
#wskbd* at ukbd? console ? mux 1
# USB Generic HID devices
#uhid* at uhidev? reportid ?
# USB Printer
#ulpt* at uhub? port ? configuration ? interface ?
# USB Modem
#umodem* at uhub? port ? configuration ?
#ucom* at umodem?
# USB Mass Storage
#umass* at uhub? port ? configuration ? interface ?
#atapibus* at umass? channel ?
#scsibus* at umass? channel ?
#wd* at umass?
# USB audio
#uaudio* at uhub? port ? configuration ?
# USB MIDI
#umidi* at uhub? port ? configuration ?
# USB IrDA
# USB-IrDA bridge spec
#uirda* at uhub? port ? configuration ? interface ?
#irframe* at uirda?
# SigmaTel STIr4200 USB/IrDA Bridge
#ustir* at uhub? port ?
#irframe* at ustir?
# USB Ethernet adapters
#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
#cue* at uhub? port ? # CATC USB-EL1201A based adapters
#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
#url* at uhub? port ? # Realtek RTL8150L based adapters
# Prolific PL2301/PL2302 host-to-host adapter
#upl* at uhub? port ?
# Serial adapters
#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
#ucom* at uftdi? portno ?
#umct* at uhub? port ? # MCT USB-RS232 serial adapter
#ucom* at umct? portno ?
#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
#ucom* at uplcom? portno ?
#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
#ucom* at uvscom? portno ?
# Diamond Multimedia Rio 500
#urio* at uhub? port ?
# USB Handspring Visor
#uvisor* at uhub? port ?
#ucom* at uvisor?
# USB scanners
#uscanner* at uhub? port ?
# USB scanners that use SCSI emulation, e.g., HP5300
#usscanner* at uhub? port ?
#scsibus* at usscanner? channel ?
# Y@P firmware loader
#uyap* at uhub? port ?
# D-Link DSB-R100 USB radio
#udsbr* at uhub? port ?
#radio* at udsbr?
# USB Generic driver
#ugen* at uhub? port ?
# IrDA and Consumer Ir devices
# Toshiba Oboe
#oboe* at pci? dev ? function ?
#irframe* at oboe?
# Audio Devices
# PCI audio devices
#auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
#autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
#auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio
#clcs* at pci? dev ? function ? # Cirrus Logic CS4280
#clct* at pci? dev ? function ? # Cirrus Logic CS4281
#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
#eap* at pci? dev ? function ? # Ensoniq AudioPCI
#emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512
#esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator
#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
#fms* at pci? dev ? function ? # Forte Media FM801
#neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio
#sv* at pci? dev ? function ? # S3 SonicVibes
#yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio
# ISA Plug-and-Play audio devices
#ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio
#guspnp* at isapnp? # Gravis Ultra Sound PnP audio
sb* at isapnp? # SoundBlaster-compatible audio
#wss* at isapnp? # Windows Sound System
#ym* at isapnp? # Yamaha OPL3-SA3 audio
# ISA audio devices
# the "aria" probe might give false hits
#aria0 at isa? port 0x290 irq 10 # Aria
#ess0 at isa? port 0x220 irq 5 drq 1 drq2 5 # ESS 18XX
#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
#sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster
#wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
# PCMCIA audio devices
#esl* at pcmcia? function ? # ESS 1688 AudioDrive
#cms0 at isa? port 0x220 # Creative Music System
# OPL[23] FM synthesizers
#opl0 at isa? port 0x388 # use only if not attached to sound card
#opl* at cmpci? flags 1
#opl* at esl?
#opl* at eso?
#opl* at ess?
#opl* at fms?
opl* at sb?
#opl* at sv?
#opl* at wss?
#opl* at yds?
#opl* at ym?
# Audio support
#audio* at aria?
#audio* at auich?
#audio* at autri?
#audio* at auvia?
#audio* at clcs?
#audio* at clct?
#audio* at cmpci?
#audio* at eap?
#audio* at emuxki?
#audio* at esa?
#audio* at esl?
#audio* at esm?
#audio* at eso?
#audio* at ess?
#audio* at fms?
#audio* at gus?
#audio* at guspnp?
#audio* at neo?
#audio* at pas?
audio* at sb?
#audio* at sp?
#audio* at sv?
#audio* at uaudio?
#audio* at wss?
#audio* at yds?
#audio* at ym?
# MPU 401 UARTs
#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card
#mpu* at cmpci?
#mpu* at eso?
#mpu* at fms?
#mpu* at sb?
#mpu* at yds?
#mpu* at ym?
# MIDI support
#midi* at autri? # Trident 4DWAVE MIDI port
#midi* at clcs? # Cirrus Logic CS4280 MIDI port
#midi* at clct? # Cirrus Logic CS4281 MIDI port
#midi* at cms? # Creative Music System
#midi* at eap? # 137[01] MIDI port
#midi* at mpu? # MPU 401
#midi* at opl? # OPL FM synth
#midi* at pcppi? # MIDI interface to the PC speaker
midi* at sb? # SB1 MIDI port
#midi* at umidi? # USB MIDI
# The spkr driver provides a simple tone interface to the built in speaker.
#spkr0 at pcppi? # PC speaker
# FM-Radio devices
# ISA radio devices
#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card
#az1 at isa? port 0x358
#rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible
#rt1 at isa? port 0x284
#rt2 at isa? port 0x30c
#rt3 at isa? port 0x384
#rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card
#rtii1 at isa? port 0x30c
#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card
# PCI radio devices
#mr* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
# Radio support
#radio* at az?
#radio* at mr?
#radio* at rt?
#radio* at rtii?
#radio* at sf2r?
# TV cards
# Brooktree 848/849/878/879 based TV cards
#bktr* at pci? dev ? function ?
#radio* at bktr?
# Mice
# ISA busmice
#lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
#lms1 at isa? port 0x238 irq 5
#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
#mms1 at isa? port 0x238 irq 5
#wsmouse* at lms? mux 0
#wsmouse* at mms? mux 0
# backwards compatible versions
#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse
#olms1 at isa? port 0x238 irq 5
#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
#omms1 at isa? port 0x238 irq 5
# Joysticks
#joy* at pnpbios? index ? # Game port
# ISA Plug-and-Play joysticks
# PCI joysticks
#joy* at pci? # Game ports (usually on audio cards)
#joy* at eso? # ESS Solo-1 on-board joystick
# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0 at isa? port 0x201
# Miscellaneous Devices
# Planetconnect Satellite receiver driver.
#satlink0 at isa? port 0x300 drq 1
# Middle Digital, Inc. PCI-Weasel serial console board control
# devices (watchdog timer, etc.)
#weasel* at pci?
# Pull in optional local configuration
include "arch/i386/conf/GENERIC.local"
# Pseudo-Devices
# disk/mass storage pseudo-devices
#pseudo-device ccd 4 # concatenated/striped disk devices
#pseudo-device raid 8 # RAIDframe disk driver
#options RAID_AUTOCONFIG # auto-configuration of RAID components
#Options to enable various other RAIDframe RAID types.
#options RF_INCLUDE_EVENODD=1
#options RF_INCLUDE_RAID5_RS=1
#options RF_INCLUDE_PARITYLOGGING=1
#options RF_INCLUDE_CHAINDECLUSTER=1
#options RF_INCLUDE_INTERDECLUSTER=1
#options RF_INCLUDE_PARITY_DECLUSTERING=1
#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device md 1 # memory disk device (ramdisk)
pseudo-device vnd 4 # disk-like interface to files
# network pseudo-devices
pseudo-device bpfilter 8 # Berkeley packet filter
pseudo-device ipfilter # IP filter (firewall) and NAT
pseudo-device loop # network loopback
pseudo-device ppp 2 # Point-to-Point Protocol
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
#pseudo-device sl 2 # Serial Line IP
#pseudo-device strip 2 # Starmode Radio IP (Metricom)
#pseudo-device irframetty # IrDA frame line discipline
pseudo-device tun 2 # network tunneling over tty
#pseudo-device gre 2 # generic L3 over IP tunnel
#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
#pseudo-device vlan # IEEE 802.1q encapsulation
pseudo-device bridge # simple inter-network bridging
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
#pseudo-device tb 1 # tablet line discipline
pseudo-device sequencer 1 # MIDI sequencer
# rnd works; RND_COM does not on port i386 yet.
pseudo-device rnd # /dev/random and in-kernel generator
#options RND_COM # use "com" randomness as well (BROKEN)
pseudo-device clockctl # user control of clock subsystem
# a pseudo device needed for Coda # also needs CODA (above)
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
# wscons pseudo-devices
pseudo-device wsmux # mouse & keyboard multiplexor
pseudo-device wsfont
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.txt"
NetBSD 1.6_STABLE (GOBOT) #0: Fri Dec 20 16:29:07 EST 2002
root@gobot.xisop:/home/data/src/sys/arch/i386/compile/GOBOT
cpu0: Cyrix MMX-enhanced MediaGX (GXm) (586-class), 233.87 MHz
cpu0: features 808131<FPU,TSC,MSR,CX8>
cpu0: features 808131<CMOV,MMX>
total memory = 127 MB
avail memory = 116 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfb510
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1078 product 0x0001 (rev. 0x00)
ne0 at pci0 dev 7 function 0: RealTek 8029 Ethernet
ne0: Ethernet address 00:e0:29:4f:36:b9
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne0: interrupting at irq 10
vga0 at pci0 dev 8 function 0: vendor 0x1002 product 0x4750 (rev. 0x5c)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 18 function 0
pcib0: vendor 0x1078 product 0x0002 (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <FUJITSU MPD3043AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4125 MB, 8940 cyl, 15 head, 63 sec, 512 bytes/sect x 8448300 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <ATAPI CD ROM DRIVE 50X MAX, UM1102 Firmware, VER 50F> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
isapnp0: <CMI8330. Audio Adapter, @@@0001, , > port 0x530/8,0x388/8 irq 11 drq 0 not configured
isapnp0: <CMI8330. Audio Adapter, @H@0001, , > port 0x330/2 irq 9 not configured
isapnp0: <CMI8330. Audio Adapter, @P@0001, , > port 0x200/8 not configured
sb0 at isapnp0 port 0x220/16 irq 5 drq 1,5
sb0: CMI8330. Audio Adapter : dsp v4.13
audio0 at sb0: full duplex, mmap, independent
opl0 at sb0: model OPL3
midi at opl0 not configured
biomask eb4d netmask ef4d ttymask ffcf
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ifconfig.txt"
ne0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:e0:29:4f:36:b9
media: Ethernet autoselect (10baseT)
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33220
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="int_const.h"
/* $NetBSD: int_const.h,v 1.1 2001/04/14 22:38:38 kleink Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Klaus Klein.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _I386_INT_CONST_H_
#define _I386_INT_CONST_H_
/*
* 7.18.4 Macros for integer constants
*/
/* 7.18.4.1 Macros for minimum-width integer constants */
#define INT8_C(c) c
#define INT16_C(c) c
#define INT32_C(c) c
#define INT64_C(c) c ## LL
#define UINT8_C(c) c ## U
#define UINT16_C(c) c ## U
#define UINT32_C(c) c ## U
#define UINT64_C(c) c ## ULL
/* 7.18.4.2 Macros for greatest-width integer constants */
#define INTMAX_C(c) c ## LL
#define UINTMAX_C(c) c ## ULL
#endif /* !_I386_INT_CONST_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="int_fmtio.h"
/* $NetBSD: int_fmtio.h,v 1.3 2001/09/19 05:23:43 simonb Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Klaus Klein.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _I386_INT_FMTIO_H_
#define _I386_INT_FMTIO_H_
/*
* 7.8.1 Macros for format specifiers
*/
/* fprintf macros for signed integers */
#define PRId8 "d" /* int8_t */
#define PRId16 "d" /* int16_t */
#define PRId32 "d" /* int32_t */
#define PRId64 "lld" /* int64_t */
#define PRIdLEAST8 "d" /* int_least8_t */
#define PRIdLEAST16 "d" /* int_least16_t */
#define PRIdLEAST32 "d" /* int_least32_t */
#define PRIdLEAST64 "lld" /* int_least64_t */
#define PRIdFAST8 "d" /* int_fast8_t */
#define PRIdFAST16 "d" /* int_fast16_t */
#define PRIdFAST32 "d" /* int_fast32_t */
#define PRIdFAST64 "lld" /* int_fast64_t */
#define PRIdMAX "lld" /* intmax_t */
#define PRIdPTR "ld" /* intptr_t */
#define PRIi8 "i" /* int8_t */
#define PRIi16 "i" /* int16_t */
#define PRIi32 "i" /* int32_t */
#define PRIi64 "lli" /* int64_t */
#define PRIiLEAST8 "i" /* int_least8_t */
#define PRIiLEAST16 "i" /* int_least16_t */
#define PRIiLEAST64 "lli" /* int_least64_t */
#define PRIiFAST8 "i" /* int_fast8_t */
#define PRIiFAST16 "i" /* int_fast16_t */
#define PRIiFAST32 "i" /* int_fast32_t */
#define PRIiFAST64 "lli" /* int_fast64_t */
#define PRIiMAX "lli" /* intmax_t */
#define PRIiPTR "li" /* intptr_t */
/* fprintf macros for unsigned integers */
#define PRIo8 "o" /* uint8_t */
#define PRIo16 "o" /* uint16_t */
#define PRIo32 "o" /* uint32_t */
#define PRIo64 "llo" /* uint64_t */
#define PRIoLEAST8 "o" /* uint_least8_t */
#define PRIoLEAST16 "o" /* uint_least16_t */
#define PRIoLEAST32 "o" /* uint_least32_t */
#define PRIoLEAST64 "llo" /* uint_least64_t */
#define PRIoFAST8 "o" /* uint_fast8_t */
#define PRIoFAST16 "o" /* uint_fast16_t */
#define PRIoFAST32 "o" /* uint_fast32_t */
#define PRIoFAST64 "llo" /* uint_fast64_t */
#define PRIoMAX "llo" /* uintmax_t */
#define PRIoPTR "lo" /* uintptr_t */
#define PRIu8 "u" /* uint8_t */
#define PRIu16 "u" /* uint16_t */
#define PRIu32 "u" /* uint32_t */
#define PRIu64 "llu" /* uint64_t */
#define PRIuLEAST8 "u" /* uint_least8_t */
#define PRIuLEAST16 "u" /* uint_least16_t */
#define PRIuLEAST32 "u" /* uint_least32_t */
#define PRIuLEAST64 "llu" /* uint_least64_t */
#define PRIuFAST8 "u" /* uint_fast8_t */
#define PRIuFAST16 "u" /* uint_fast16_t */
#define PRIuFAST32 "u" /* uint_fast32_t */
#define PRIuFAST64 "llu" /* uint_fast64_t */
#define PRIuMAX "llu" /* uintmax_t */
#define PRIuPTR "lu" /* uintptr_t */
#define PRIx8 "x" /* uint8_t */
#define PRIx16 "x" /* uint16_t */
#define PRIx32 "x" /* uint32_t */
#define PRIx64 "llx" /* uint64_t */
#define PRIxLEAST8 "x" /* uint_least8_t */
#define PRIxLEAST16 "x" /* uint_least16_t */
#define PRIxLEAST32 "x" /* uint_least32_t */
#define PRIxLEAST64 "llx" /* uint_least64_t */
#define PRIxFAST8 "x" /* uint_fast8_t */
#define PRIxFAST16 "x" /* uint_fast16_t */
#define PRIxFAST32 "x" /* uint_fast32_t */
#define PRIxFAST64 "llx" /* uint_fast64_t */
#define PRIxMAX "llx" /* uintmax_t */
#define PRIxPTR "lx" /* uintptr_t */
#define PRIX8 "X" /* uint8_t */
#define PRIX16 "X" /* uint16_t */
#define PRIX32 "X" /* uint32_t */
#define PRIX64 "llX" /* uint64_t */
#define PRIXLEAST8 "X" /* uint_least8_t */
#define PRIXLEAST16 "X" /* uint_least16_t */
#define PRIXLEAST32 "X" /* uint_least32_t */
#define PRIXLEAST64 "llX" /* uint_least64_t */
#define PRIXFAST8 "X" /* uint_fast8_t */
#define PRIXFAST16 "X" /* uint_fast16_t */
#define PRIXFAST32 "X" /* uint_fast32_t */
#define PRIXFAST64 "llX" /* uint_fast64_t */
#define PRIXMAX "llX" /* uintmax_t */
#define PRIXPTR "lX" /* uintptr_t */
/* fscanf macros for signed integers */
#define SCNd8 "hhd" /* int8_t */
#define SCNd16 "hd" /* int16_t */
#define SCNd32 "d" /* int32_t */
#define SCNd64 "lld" /* int64_t */
#define SCNdLEAST8 "hhd" /* int_least8_t */
#define SCNdLEAST16 "hd" /* int_least16_t */
#define SCNdLEAST32 "d" /* int_least32_t */
#define SCNdLEAST64 "lld" /* int_least64_t */
#define SCNdFAST8 "hhd" /* int_fast8_t */
#define SCNdFAST16 "hd" /* int_fast16_t */
#define SCNdFAST32 "d" /* int_fast32_t */
#define SCNdFAST64 "lld" /* int_fast64_t */
#define SCNdMAX "lld" /* intmax_t */
#define SCNdPTR "ld" /* intptr_t */
#define SCNi8 "hhi" /* int8_t */
#define SCNi16 "hi" /* int16_t */
#define SCNi32 "i" /* int32_t */
#define SCNi64 "lli" /* int64_t */
#define SCNiLEAST8 "hhi" /* int_least8_t */
#define SCNiLEAST16 "hi" /* int_least16_t */
#define SCNiLEAST32 "i" /* int_least32_t */
#define SCNiLEAST64 "lli" /* int_least64_t */
#define SCNiFAST8 "hhi" /* int_fast8_t */
#define SCNiFAST16 "hi" /* int_fast16_t */
#define SCNiFAST32 "i" /* int_fast32_t */
#define SCNiFAST64 "lli" /* int_fast64_t */
#define SCNiMAX "lli" /* intmax_t */
#define SCNiPTR "li" /* intptr_t */
/* fscanf macros for unsigned integers */
#define SCNo8 "hho" /* uint8_t */
#define SCNo16 "ho" /* uint16_t */
#define SCNo32 "o" /* uint32_t */
#define SCNoLEAST8 "hho" /* uint_least8_t */
#define SCNoLEAST16 "ho" /* uint_least16_t */
#define SCNoLEAST32 "o" /* uint_least32_t */
#define SCNoLEAST64 "llo" /* uint_least64_t */
#define SCNoFAST8 "hho" /* uint_fast8_t */
#define SCNoFAST16 "ho" /* uint_fast16_t */
#define SCNoFAST32 "o" /* uint_fast32_t */
#define SCNoFAST64 "llo" /* uint_fast64_t */
#define SCNoMAX "llo" /* uintmax_t */
#define SCNoPTR "lo" /* uintptr_t */
#define SCNu8 "hhu" /* uint8_t */
#define SCNu16 "hu" /* uint16_t */
#define SCNu32 "u" /* uint32_t */
#define SCNu64 "llu" /* uint64_t */
#define SCNuLEAST8 "hhu" /* uint_least8_t */
#define SCNuLEAST16 "hu" /* uint_least16_t */
#define SCNuLEAST32 "u" /* uint_least32_t */
#define SCNuLEAST64 "llu" /* uint_least64_t */
#define SCNuFAST8 "hhu" /* uint_fast8_t */
#define SCNuFAST16 "hu" /* uint_fast16_t */
#define SCNuFAST32 "u" /* uint_fast32_t */
#define SCNuFAST64 "llu" /* uint_fast64_t */
#define SCNuMAX "llu" /* uintmax_t */
#define SCNuPTR "lu" /* uintptr_t */
#define SCNx8 "hhx" /* uint8_t */
#define SCNx16 "hx" /* uint16_t */
#define SCNx32 "x" /* uint32_t */
#define SCNx64 "llx" /* uint64_t */
#define SCNxLEAST8 "hhx" /* uint_least8_t */
#define SCNxLEAST16 "hx" /* uint_least16_t */
#define SCNxLEAST32 "x" /* uint_least32_t */
#define SCNxLEAST64 "llx" /* uint_least64_t */
#define SCNxFAST8 "hhx" /* uint_fast8_t */
#define SCNxFAST16 "hx" /* uint_fast16_t */
#define SCNxFAST32 "x" /* uint_fast32_t */
#define SCNxFAST64 "llx" /* uint_fast64_t */
#define SCNxMAX "llx" /* uintmax_t */
#define SCNxPTR "lx" /* uintptr_t */
#endif /* !_I386_INT_FMTIO_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="int_limits.h"
/* $NetBSD: int_limits.h,v 1.2 2001/04/26 16:25:21 kleink Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Klaus Klein.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _I386_INT_LIMITS_H_
#define _I386_INT_LIMITS_H_
/*
* 7.18.2 Limits of specified-width integer types
*/
/* 7.18.2.1 Limits of exact-width integer types */
/* minimum values of exact-width signed integer types */
#define INT16_MIN (-0x7fff-1) /* int16_t */
#define INT32_MIN (-0x7fffffff-1) /* int32_t */
#define INT64_MIN (-0x7fffffffffffffffLL-1) /* int64_t */
/* maximum values of exact-width signed integer types */
#define INT8_MAX 0x7f /* int8_t */
#define INT16_MAX 0x7fff /* int16_t */
#define INT32_MAX 0x7fffffff /* int32_t */
#define INT64_MAX 0x7fffffffffffffffLL /* int64_t */
/* maximum values of exact-width unsigned integer types */
#define UINT8_MAX 0xffU /* uint8_t */
#define UINT16_MAX 0xffffU /* uint16_t */
#define UINT32_MAX 0xffffffffU /* uint32_t */
#define UINT64_MAX 0xffffffffffffffffULL /* uint64_t */
/* 7.18.2.2 Limits of minimum-width integer types */
/* minimum values of minimum-width signed integer types */
#define INT_LEAST8_MIN (-0x7f-1) /* int_least8_t */
#define INT_LEAST16_MIN (-0x7fff-1) /* int_least16_t */
#define INT_LEAST32_MIN (-0x7fffffff-1) /* int_least32_t */
#define INT_LEAST64_MIN (-0x7fffffffffffffffLL-1) /* int_least64_t */
/* maximum values of minimum-width signed integer types */
#define INT_LEAST8_MAX 0x7f /* int_least8_t */
#define INT_LEAST16_MAX 0x7fff /* int_least16_t */
#define INT_LEAST32_MAX 0x7fffffff /* int_least32_t */
#define INT_LEAST64_MAX 0x7fffffffffffffffLL /* int_least64_t */
/* maximum values of minimum-width unsigned integer types */
#define UINT_LEAST8_MAX 0xffU /* uint_least8_t */
#define UINT_LEAST16_MAX 0xffffU /* uint_least16_t */
#define UINT_LEAST32_MAX 0xffffffffU /* uint_least32_t */
#define UINT_LEAST64_MAX 0xffffffffffffffffULL /* uint_least64_t */
/* 7.18.2.3 Limits of fastest minimum-width integer types */
/* minimum values of fastest minimum-width signed integer types */
#define INT_FAST8_MIN (-0x7f-1) /* int_fast8_t */
#define INT_FAST16_MIN (-0x7fff-1) /* int_fast16_t */
#define INT_FAST32_MIN (-0x7fffffff-1) /* int_fast32_t */
#define INT_FAST64_MIN (-0x7fffffffffffffffLL-1) /* int_fast64_t */
/* maximum values of fastest minimum-width signed integer types */
#define INT_FAST8_MAX 0x7f /* int_fast8_t */
#define INT_FAST16_MAX 0x7fff /* int_fast16_t */
#define INT_FAST32_MAX 0x7fffffff /* int_fast32_t */
#define INT_FAST64_MAX 0x7fffffffffffffffLL /* int_fast64_t */
/* maximum values of fastest minimum-width unsigned integer types */
#define UINT_FAST8_MAX 0xffU /* uint_fast8_t */
#define UINT_FAST16_MAX 0xffffU /* uint_fast16_t */
#define UINT_FAST32_MAX 0xffffffffU /* uint_fast32_t */
#define UINT_FAST64_MAX 0xffffffffffffffffULL /* uint_fast64_t */
/* 7.18.2.4 Limits of integer types capable of holding object pointers */
#define INTPTR_MIN (-0x7fffffff-1) /* intptr_t */
#define INTPTR_MAX 0x7fffffff /* intptr_t */
#define UINTPTR_MAX 0xffffffffU /* uintptr_t */
/* 7.18.2.5 Limits of greatest-width integer types */
#define INTMAX_MIN (-0x7fffffffffffffffLL-1) /* intmax_t */
#define INTMAX_MAX 0x7fffffffffffffffLL /* intmax_t */
#define UINTMAX_MAX 0xffffffffffffffffULL /* uintmax_t */
/*
* 7.18.3 Limits of other integer types
*/
/* limits of ptrdiff_t */
#define PTRDIFF_MIN (-0x7fffffff-1) /* ptrdiff_t */
#define PTRDIFF_MAX 0x7fffffff /* ptrdiff_t */
/* limits of sig_atomic_t */
#define SIG_ATOMIC_MIN (-0x7fffffff-1) /* sig_atomic_t */
#define SIG_ATOMIC_MAX 0x7fffffff /* sig_atomic_t */
/* limit of size_t */
#define SIZE_MAX 0xffffffffU /* size_t */
#ifndef WCHAR_MIN /* also possibly defined in <wchar.h> */
/* limits of wchar_t */
#define WCHAR_MIN (-0x7fffffff-1) /* wchar_t */
#define WCHAR_MAX 0x7fffffff /* wchar_t */
/* limits of wint_t */
#define WINT_MIN (-0x7fffffff-1) /* wint_t */
#define WINT_MAX 0x7fffffff /* wint_t */
#endif
#endif /* !_I386_INT_LIMITS_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="int_mwgwtypes.h"
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Klaus Klein.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* 4. Neither the name of The NetBSD Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _I386_INT_MWGWTYPES_H_
#define _I386_INT_MWGWTYPES_H_
/*
* 7.18.1 Integer types
*/
/* 7.18.1.2 Minimum-width integer types */
typedef __signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int int_least16_t;
typedef unsigned short int uint_least16_t;
typedef int int_least32_t;
typedef unsigned int uint_least32_t;
#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__ int_least64_t;
typedef __COMPILER_UINT64__ uint_least64_t;
#else
/* LONGLONG */
typedef long long int int_least64_t;
/* LONGLONG */
typedef unsigned long long int uint_least64_t;
#endif
/* 7.18.1.3 Fastest minimum-width integer types */
typedef __signed char int_fast8_t;
typedef unsigned char uint_fast8_t;
typedef short int int_fast16_t;
typedef unsigned short int uint_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast32_t;
#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__ int_fast64_t;
typedef __COMPILER_UINT64__ uint_fast64_t;
#else
/* LONGLONG */
typedef long long int int_fast64_t;
/* LONGLONG */
typedef unsigned long long int uint_fast64_t;
#endif
/* 7.18.1.5 Greatest-width integer types */
#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__ intmax_t;
typedef unsigned __COMPILER_INT64__ uintmax_t;
#else
/* LONGLONG */
typedef long long int intmax_t;
/* LONGLONG */
typedef unsigned long long int uintmax_t;
#endif
#endif /* !_I386_INT_MWGWTYPES_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="int_types.h"
/* $NetBSD: int_types.h,v 1.6 2001/04/28 15:41:31 kleink Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* from: @(#)types.h 7.5 (Berkeley) 3/9/91
*/
#ifndef _I386_INT_TYPES_H_
#define _I386_INT_TYPES_H_
/*
* 7.18.1 Integer types
*/
/* 7.18.1.1 Exact-width integer types */
typedef __signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short int __int16_t;
typedef unsigned short int __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__ __int64_t;
typedef __COMPILER_UINT64__ __uint64_t;
#else
/* LONGLONG */
typedef long long int __int64_t;
/* LONGLONG */
typedef unsigned long long int __uint64_t;
#endif
#define __BIT_TYPES_DEFINED__
/* 7.18.1.4 Integer types capable of holding object pointers */
typedef long __intptr_t;
typedef unsigned long __uintptr_t;
#endif /* !_I386_INT_TYPES_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kdump.txt"
322 ktrace EMUL "netbsd"
322 ktrace CALL execve(0xbfbfd5a8,0xbfbfda7c,0xbfbfda88)
322 ktrace NAMI "/bin/ipf"
322 ktrace RET execve -1 errno 2 No such file or directory
322 ktrace CALL execve(0xbfbfd5a8,0xbfbfda7c,0xbfbfda88)
322 ktrace NAMI "/sbin/ipf"
322 ipf EMUL "netbsd"
322 ipf RET execve JUSTRETURN
322 ipf CALL open(0x8078cba,0x2,0)
322 ipf NAMI "/dev/ipl"
322 ipf RET open 3
322 ipf CALL ioctl(0x3,_IOW('r',0x49,0x4),0xbfbfd9f0)
322 ipf RET ioctl -1 errno 19 Operation not supported by device
322 ipf CALL issetugid
322 ipf RET issetugid 0
322 ipf CALL issetugid
322 ipf RET issetugid 0
322 ipf CALL open(0x807d735,0,0x1b6)
322 ipf NAMI "/usr/share/nls/nls.alias"
322 ipf RET open 4
322 ipf CALL __fstat13(0x4,0xbfbfc7f8)
322 ipf RET __fstat13 0
322 ipf CALL __sysctl(0xbfbfc780,0x2,0xbfbfc778,0xbfbfc77c,0,0)
322 ipf RET __sysctl 0
322 ipf CALL readlink(0x807eb00,0xbfbfc7d8,0x3f)
322 ipf NAMI "/etc/malloc.conf"
322 ipf RET readlink -1 errno 2 No such file or directory
322 ipf CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
322 ipf RET mmap 1208483840/0x48080000
322 ipf CALL break(0x808a3dc)
322 ipf RET break 0
322 ipf CALL break(0x808b3dc)
322 ipf RET break 0
322 ipf CALL break(0x808c000)
322 ipf RET break 0
322 ipf CALL break(0x808e000)
322 ipf RET break 0
322 ipf CALL read(0x4,0x808c000,0x2000)
322 ipf GIO fd 4 read 1462 bytes
#
# This file defines aliase names of nls catalogs.
# Syntax is similar to X11's locale.alias.
# (The first word is an alias name and the second
# one is nls catalog name.)
cs_CZ.ISO8859-2 cs
#da_DK.ISO8859-1 da
#da_DK.ISO8859-15 da
de_AT.ISO8859-1 de
de_AT.ISO8859-15 de
de_CH.ISO8859-1 de
de_CH.ISO8859-15 de
de_DE.ISO8859-1 de
de_DE.ISO8859-15 de
#en_AU.ISO8859-1 en
#en_AU.ISO8859-15 en
#en_CA.ISO8859-1 en
#en_CA.ISO8859-15 en
#en_GB.ISO8859-1 en
#en_GB.ISO8859-15 en
#en_US.ISO8859-1 en
#en_US.ISO8859-15 en
#en_US.UTF-8 en
es_ES.ISO8859-1 es
es_ES.ISO8859-15 es
fi_FI.ISO8859-1 fi
fi_FI.ISO8859-15 fi
fr_BE.ISO8859-1 fr
fr_BE.ISO8859-15 fr
fr_CA.ISO8859-1 fr
fr_CA.ISO8859-15 fr
fr_CH.ISO8859-1 fr
fr_CH.ISO8859-15 fr
fr_FR.ISO8859-1 fr
fr_FR.ISO8859-15 fr
#hr_HR.ISO8859-2 hr
#hu_HU.ISO8859-2 hu
#is_IS.ISO8859-1 is
#is_IS.ISO8859-15 is
#it_CH.ISO8859-1 it
#it_CH.ISO8859-15 it
#it_IT.ISO8859-1 it
#it_IT.ISO8859-15 it
#ja_JP.ISO2022-JP ja
#ja_JP.ISO2022-JP2 ja
#ja_JP.SJIS ja
#ja_JP.ct ja
#ja_JP.eucJP ja
#ko_KR.eucKR ko
#lt_LT.ISO8859-4 lt
nl_BE.ISO8859-1 nl
nl_BE.ISO8859-15 nl
nl_NL.ISO8859-1 nl
nl_NL.ISO8859-15 nl
no_NO.ISO8859-1 no
no_NO.ISO8859-15 no
pl_PL.ISO8859-2 pl
#pt_PT.ISO8859-1 pt
#pt_PT.ISO8859-15 pt
#ru_RU.CP866 ru
#ru_RU.ISO8859-5 ru
#ru_RU.KOI8-R ru
#sl_SI.ISO8859-2 sl
sv_SE.ISO8859-1 sv
sv_SE.ISO8859-15 sv
#uk_UA.KOI8-U uk
#zh_CN.eucCN zh
#zh_TW.Big5 zh
#zh_TW.eucTW zh
"
322 ipf RET read 1462/0x5b6
322 ipf CALL read(0x4,0x808c000,0x2000)
322 ipf RET read 0
322 ipf CALL close(0x4)
322 ipf RET close 0
322 ipf CALL open(0xbfbfcd54,0,0xbfbfc8d8)
322 ipf NAMI "/usr/share/nls/C/libc.cat"
322 ipf RET open 4
322 ipf CALL __fstat13(0x4,0xbfbfc8c8)
322 ipf RET __fstat13 0
322 ipf CALL mmap(0,0xf57,0x1,0x1,0x4,0,0,0)
322 ipf RET mmap 1208487936/0x48081000
322 ipf CALL close(0x4)
322 ipf RET close 0
322 ipf CALL munmap(0x48081000,0xf57)
322 ipf RET munmap 0
322 ipf CALL write(0x2,0xbfbfc928,0x2d)
322 ipf GIO fd 2 wrote 45 bytes
"SIOCFRSYN: Operation not supported by device
"
322 ipf RET write 45/0x2d
322 ipf CALL close(0x3)
322 ipf RET close 0
322 ipf CALL exit(0)
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ls-dev.txt"
crw------- 1 root wheel 44, 3 Dec 20 16:44 /dev/ipauth
crw------- 1 root wheel 44, 0 Dec 20 16:44 /dev/ipl
lrwxr-xr-x 1 root wheel 3 Jan 22 2002 /dev/ipl0 -> ipl
crw------- 1 root wheel 44, 1 Dec 20 16:44 /dev/ipnat
crw------- 1 root wheel 44, 2 Dec 20 16:44 /dev/ipstate
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mtrr.h"
/* $NetBSD: mtrr.h,v 1.4 2001/09/19 01:26:19 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Bill Sommerfeld
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the NetBSD
* Foundation, Inc. and its contributors.
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _I386_MTRR_H_
#define _I386_MTRR_H_
#define MTRR_I686_FIXED_IDX64K 0
#define MTRR_I686_FIXED_IDX16K 1
#define MTRR_I686_FIXED_IDX4K 3
#define MTRR_I686_NVAR 8
#define MTRR_I686_64K_START 0x00000
#define MTRR_I686_16K_START 0x80000
#define MTRR_I686_4K_START 0xc0000
#define MTRR_I686_NFIXED_64K 1
#define MTRR_I686_NFIXED_16K 2
#define MTRR_I686_NFIXED_4K 8
#define MTRR_I686_NFIXED 11
#define MTRR_I686_NFIXED_SOFT_64K (MTRR_I686_NFIXED_64K * 8)
#define MTRR_I686_NFIXED_SOFT_16K (MTRR_I686_NFIXED_16K * 8)
#define MTRR_I686_NFIXED_SOFT_4K (MTRR_I686_NFIXED_4K * 8)
#define MTRR_I686_NFIXED_SOFT (MTRR_I686_NFIXED * 8)
#define MTRR_I686_ENABLE_MASK 0x0800
#define MTRR_I686_FIXED_ENABLE_MASK 0x0400
#define MTRR_I686_CAP_VCNT_MASK 0x00ff
#define MTRR_I686_CAP_FIX_MASK 0x0100
#define MTRR_I686_CAP_WC_MASK 0x0400
#define MTRR_TYPE_UC 0
#define MTRR_TYPE_WC 1
#define MTRR_TYPE_UNDEF1 2
#define MTRR_TYPE_UNDEF2 3
#define MTRR_TYPE_WT 4
#define MTRR_TYPE_WP 5
#define MTRR_TYPE_WB 6
struct mtrr_state {
uint32_t msraddr;
uint64_t msrval;
};
#define MTRR_PRIVATE 0x0001 /* 'own' range, reset at exit */
#define MTRR_FIXED 0x0002 /* use fixed range mtrr */
#define MTRR_VALID 0x0004 /* entry is valid */
#define MTRR_CANTSET MTRR_FIXED
#define MTRR_I686_MASK_VALID (1 << 11)
/*
* AMD K6 MTRRs.
*
* There are two of these MTRR-like registers in the UWCRR.
*/
#define MTRR_K6_ADDR_SHIFT 17
#define MTRR_K6_ADDR (0x7fffU << MTRR_K6_ADDR_SHIFT)
#define MTRR_K6_MASK_SHIFT 2
#define MTRR_K6_MASK (0x7fffU << MTRR_K6_MASK_SHIFT)
#define MTRR_K6_WC (1U << 1) /* write-combine */
#define MTRR_K6_UC (1U << 0) /* uncached */
#define MTRR_K6_NVAR 2
#ifdef _KERNEL
#define mtrr_base_value(mtrrp) \
(((uint64_t)(mtrrp)->base) | ((uint64_t)(mtrrp)->type))
#define mtrr_mask_value(mtrrp) \
((~((mtrrp)->len - 1) & 0x0000000ffffff000))
#define mtrr_len(val) \
((~((val) & 0x0000000ffffff000)+1) & 0x0000000ffffff000)
#define mtrr_base(val) ((val) & 0x0000000ffffff000)
#define mtrr_type(val) ((uint8_t)((val) & 0x00000000000000ff))
#define mtrr_valid(val) (((val) & MTRR_I686_MASK_VALID) != 0)
struct proc;
struct mtrr;
void i686_mtrr_init_first(void);
void k6_mtrr_init_first(void);
struct mtrr_funcs {
void (*init_cpu)(struct cpu_info *ci);
void (*reload_cpu)(struct cpu_info *ci);
void (*clean)(struct proc *p);
int (*set)(struct mtrr *, int *n, struct proc *p, int flags);
int (*get)(struct mtrr *, int *n, struct proc *p, int flags);
void (*commit)(void);
void (*dump)(const char *tag);
};
extern struct mtrr_funcs i686_mtrr_funcs;
extern struct mtrr_funcs k6_mtrr_funcs;
extern struct mtrr_funcs *mtrr_funcs;
#define mtrr_init_cpu(ci) mtrr_funcs->init_cpu(ci)
#define mtrr_reload_cpu(ci) mtrr_funcs->reload_cpu(ci)
#define mtrr_clean(p) mtrr_funcs->clean(p)
#define mtrr_set(mp,n,p,f) mtrr_funcs->set(mp,n,p,f)
#define mtrr_get(mp,n,p,f) mtrr_funcs->get(mp,n,p,f)
#define mtrr_dump(s) mtrr_funcs->dump(s)
#define mtrr_commit() mtrr_funcs->commit()
#define MTRR_GETSET_KERNEL 0x0002
#endif /* _KERNEL */
struct mtrr {
uint64_t base; /* physical base address */
uint64_t len;
uint8_t type;
int flags;
pid_t owner; /* valid if MTRR_PRIVATE set in flags */
};
#endif /* _I386_MTRR_H_ */
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pmc.h"
/* $NetBSD: pmc.h,v 1.1 2000/09/13 04:47:01 thorpej Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
* All rights reserved.
*
* Author: Jason R. Thorpe <thorpej@zembu.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Zembu Labs, Inc.
* 4. Neither the name of Zembu Labs nor the names of its employees may
* be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY ZEMBU LABS, INC. ``AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR-
* RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DIS-
* CLAIMED. IN NO EVENT SHALL ZEMBU LABS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef _KERNEL
int pmc_info(struct proc *, struct i386_pmc_info_args *,
register_t *);
int pmc_startstop(struct proc *, struct i386_pmc_startstop_args *,
register_t *);
int pmc_read(struct proc *, struct i386_pmc_read_args *,
register_t *);
#endif
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="route.txt"
Routing tables
Internet:
Destination Gateway Flags
default 192.168.1.1 UG
loopback 127.0.0.1 UGR
localhost 127.0.0.1 UH
192.168.1.0 link#1 U
guardian 00:50:ba:d6:1e:3d UH
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="uname.txt"
NetBSD gobot.xisop 1.6_STABLE NetBSD 1.6_STABLE (GOBOT) #0: Fri Dec 20 16:29:07 EST 2002 root@gobot.xisop:/home/data/src/sys/arch/i386/compile/GOBOT i386
--qMm9M+Fa2AknHoGS
Content-Type: application/x-sh
Content-Disposition: attachment; filename="MAKEDEV.sh"
Content-Transfer-Encoding: quoted-printable
#!/bin/sh -=0A#=0A# $NetBSD: MAKEDEV,v 1.175.2.2 2002/12/12 23:47:49 he Exp=
$=0A#=0A# Copyright (c) 1990 The Regents of the University of California.=
=0A# All rights reserved.=0A#=0A# Written and contributed by W. Jolitz 12/9=
0=0A#=0A# Redistribution and use in source and binary forms are permitted p=
rovided=0A# that: (1) source distributions retain this entire copyright not=
ice and=0A# comment, and (2) distributions including binaries display the f=
ollowing=0A# acknowledgement: ``This product includes software developed b=
y the=0A# University of California, Berkeley and its contributors'' in the=
=0A# documentation or other materials provided with the distribution and in=
=0A# Neither the name of the University nor the names of its contributors m=
ay=0A# be used to endorse or promote products derived from this software wi=
thout=0A# specific prior written permission.=0A# THIS SOFTWARE IS PROVIDED =
``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED=0A# WARRANTIES, INCLUDING, WIT=
HOUT LIMITATION, THE IMPLIED WARRANTIES OF=0A# MERCHANTABILITY AND FITNESS =
FOR A PARTICULAR PURPOSE.=0A#=0A# @(#)MAKEDEV 5.2 (Berkeley) 6/22/90=0A#=0A=
###########################################################################=
=0A#=0A# PLEASE RUN "cd ../share/man/man8 ; perl5 MAKEDEV2manpage.pl"=0A#=
AFTER CHANGING THIS FILE, AND COMMIT THE UPDATED MANPAGE!=0A#=0A########=
###################################################################=0A#=0A#=
Device "make" file. Valid arguments:=0A# all makes all known devices, inc=
luding local devices.=0A# Tries to make the 'standard' number of each type=
=0A# floppy devices to be put on install floppies=0A# ramdisk devices to b=
e put into INSTALL kernel ramdisks.=0A# std standard devices=0A# local conf=
iguration specific devices=0A# usbs make USB devices=0A# isdns make ISDN de=
vices=0A#=0A# Tapes:=0A# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge ta=
pe=0A# st* SCSI tapes=0A#=0A# Disks:=0A# wd* "winchester" disk drives (ST50=
6,IDE,ESDI,RLL,...)=0A# fd* "floppy" disk drives (3 1/2", 5 1/4")=0A# sd* S=
CSI disks=0A# cd* SCSI or ATAPI CD-ROM=0A# mcd* Mitsumi CD-ROM=0A# vnd* "fi=
le" pseudo-disks=0A# md* memory pseudo-disk devices=0A# ccd* contatenated d=
isk devices=0A# raid* RAIDframe disk devices=0A# ld* Logical disk devices (=
e.g., hardware RAID)=0A# ed* PS/2 ESDI disk devices=0A#=0A# Console ports:=
=0A# ttyv0 pccons=0A# ttyE* wscons=0A#=0A# Pointing devices:=0A# mms* Micro=
soft bus mouse=0A# lms* Logitech bus mouse=0A# wsmouse* wscons mouse events=
=0A#=0A# Keyboard devices:=0A# wskbd* wscons keyboard events=0A#=0A# Termin=
al ports:=0A# com* standard PC COM ports (XXX)=0A# tty* alias for PC COM =
ports, this is what the system really wants=0A# ttyCZ* Cyclades-Z multiport=
serial boards. Each "unit"=0A# makes 64 ports.=0A# ttyCY* Cyclom-Y multi=
port serial boards. Each "unit" makes=0A# 32 ports.=0A#=0A# Pseudo termina=
ls:=0A# pty* set of 62 master and slave pseudo terminals=0A# opty first 16 =
ptys, to save inodes on install media=0A#=0A# Printers:=0A# lpt* stock lp=
=0A# lpa* interruptless lp=0A#=0A# USB devices:=0A# usb* USB control device=
s=0A# uhid* USB generic HID devices=0A# ulpt* USB printer devices=0A# ugen*=
USB generic devices=0A# urio* USB Diamond Rio 500 devices=0A# uscanner* US=
B scanners=0A# ttyU* USB modems=0A#=0A# ISDN devices:=0A# isdn communicatio=
n between userland isdnd and kernel=0A# isdnctl control device=0A# isdnbcha=
n* raw b-channel access=0A# isdntel* telephony device=0A# isdntrc* trace de=
vice=0A#=0A# Special purpose devices:=0A# clockctl clock control for non ro=
ot users=0A# fd file descriptors=0A# bpf* packet filter=0A# cir* Consumer I=
R=0A# ipl IP filter=0A# irframe* IrDA physical frame=0A# random Random numb=
er generator, see rnd(4)=0A# speaker pc speaker (XXX - installed)=0A# lkm =
loadable kernel modules interface=0A# audio* audio devices=0A# apm power ma=
nagement device=0A# tun* network tunnel driver=0A# joy* joystick device=0A#=
satlink* PlanetConnect satellite receiver driver=0A# scsibus* SCSI busses,=
see scsi(4), scsictl(8)=0A# ses* SES/SAF-TE SCSI Devices=0A# ss* SCSI scan=
ner=0A# uk* unknown SCSI device=0A# ch* SCSI media changer=0A# cfs* Coda fi=
le system device=0A# sysmon System Monitoring hardware=0A# bktr Brooktree 8=
48/849/878/879 based TV cards=0A# iop* I2O IOP control interface=0A# mlx* M=
ylex DAC960 control interface=0A# mly* Mylex AcceleRAID/eXtremeRAID control=
interface=0A# altq ALTQ control interface=0A# vmegen* generic VME access=
=0A# wsfont* console font control=0A# wsmux* wscons event multiplexor=0A# a=
gp* AGP GART devices=0A# pci* PCI bus access devices=0A# dpt* DPT/Adaptec E=
erface=0A# radio* radio devices=0A# nsmb* SMB requester=0A#=0A=0Adialin=3D0=
=0Adialout=3D524288 # high bit of the minor number=0Acallunit=3D262144=0A=
=0Ahighpartoffset=3D524280 # offset for partition 9 to 16=0A=0APATH=3D/sbin=
:/usr/sbin:/bin:/usr/bin=0Aumask 77=0A=0A# Check if we have fdesc mounted=
=0Aif [ -d fd ]; then=0A case "`df fd`" in=0A *fdesc*) nofdesc=3Dfalse;;=0A=
*) nofdesc=3Dtrue;;=0A esac=0Aelse=0A nofdesc=3Dtrue=0Afi=0A=0Amakedev()=
=0A{=0A=0Afor i=0Ado=0A=0Acase $i in=0A=0Aall)=0A makedev std wscons fd wt0=
fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4=0A makedev tty0 tty1 tty2 tty3=
pty0=0A makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7=0A makedev=
st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 lpa2=0A makedev bpf0 bpf1 bpf=
2 bpf3 bpf4 bpf5 bpf6 bpf7=0A makedev lpt0 lpt1 lpt2 ttyv0 tun0 tun1 tun2 t=
un3 ipl=0A makedev ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 random=0A makede=
v speaker lkm mms0 lms0 joy0 joy1 apm local satlink0=0A makedev iop0 mlx0 m=
ly0 dpt0 dpti0=0A makedev audio=0A makedev radio=0A makedev usbs=0A makedev=
isdns=0A makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rm=
idi7=0A makedev scsibus0 scsibus1 scsibus2 scsibus3=0A makedev ld0 ld1 ld2 =
ld3=0A makedev sysmon=0A makedev bktr=0A makedev ttyCZ0 ttyCY0=0A makedev a=
gp0=0A makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7=0A makedev altq=0A m=
akedev ed0 ed1=0A makedev cir0 cir1 irframe0 irframe1=0A makedev clockctl=
=0A makedev nsmb0 nsmb1 nsmb2 nsmb3=0A ;;=0A=0Aaudio)=0A makedev audio0 aud=
io1 audio2 audio3=0A ln -fs sound0 sound=0A ln -fs audio0 audio=0A ln -fs m=
ixer0 mixer=0A ln -fs audioctl0 audioctl=0A ;;=0A=0Aradio)=0A makedev radio=
0 radio1=0A ln -fs radio0 radio=0A ;;=0A=0Afloppy)=0A makedev std wt0 fd0 f=
d1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4 st0 st1=0A makedev tty0 tty1 tty2 cd=
0 cd1 mcd0 ttyv0 opty ld0 ld1 ld2 ld3 ed0 ed1=0A ;;=0A=0Aramdisk)=0A makede=
v floppy md0=0A ;;=0A=0Ausbs)=0A makedev usb usb0 usb1 usb2 usb3 usb4 usb5 =
usb6 usb7=0A makedev uhid0 uhid1 uhid2 uhid3=0A makedev ulpt0 ulpt1=0A make=
dev ttyU0 ttyU1=0A makedev urio0=0A makedev uscanner0 uscanner1=0A makedev =
ugen0=0A ;;=0A=0Aisdns)=0A makedev isdn isdnctl isdnbchan0 isdnbchan1 isdnt=
el0 isdntel1 isdntrc0 isdntrc1=0A ;;=0A=0Astd)=0A rm -f console drum mem km=
em null zero io klog=0A mknod console c 0 0=0A mknod drum c 4 0 ; chmod 6=
40 drum ; chgrp kmem drum=0A mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kme=
m kmem=0A mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem=0A mknod null =
c 2 2 ; chmod 666 null=0A mknod zero c 2 12 ; chmod 666 zero=0A mknod io =
c 2 14 ; chmod 640 io ; chgrp kmem io=0A mknod klog c 7 0 ; chmod 600 klog=
=0A if $nofdesc; then=0A rm -f tty stdin stdout stderr=0A mknod tty c 1 0=
; chmod 666 tty=0A mknod stdin c 22 0 ; chmod 666 stdin=0A mknod stdout =
c 22 1 ; chmod 666 stdout=0A mknod stderr c 22 2 ; chmod 666 stderr=0A fi=
=0A ;;=0A=0Ausb*)=0A unit=3D${i#usb}=0A if [ "$unit" =3D "" ]; then=0A =
unit=3D255=0A usb=3Dusb=0A else=0A usb=3Dusb$unit=0A fi=0A major=3D=
55=0A rm -f $usb=0A mknod $usb c $major $unit=0A chmod 600 $usb=0A ;;=0A=0A=
uhid*)=0A unit=3D${i#uhid}=0A uhid=3Duhid$unit=0A major=3D56=0A rm -f $uhid=
=0A mknod $uhid c $major $unit=0A chmod 666 $uhid=0A ;;=0A=0Aulpt*)=0A unit=
=3D${i#ulpt}=0A ulpt=3Dulpt$unit=0A ulpn=3Dulpn$unit=0A major=3D57=0A rm -f=
$ulpt $ulpn=0A mknod $ulpt c $major $unit=0A mknod $ulpn c $major $(($unit=
+ 64))=0A chmod 600 $ulpt $ulpn=0A ;;=0A=0Aurio*)=0A unit=3D${i#urio}=0A u=
rio=3Durio$unit=0A major=3D70=0A rm -f $urio=0A mknod $urio c $major $unit=
=0A chmod 666 $urio=0A ;;=0A=0Auscanner*)=0A unit=3D${i#uscanner}=0A uscann=
er=3Duscanner$unit=0A major=3D75=0A rm -f $uscanner=0A mknod $uscanner c $m=
ajor $unit=0A chmod 600 $uscanner=0A ;;=0A=0AttyU*)=0A unit=3D${i#ttyU}=0A =
ttyU=3DttyU$unit=0A dtyU=3DdtyU$unit=0A ctyU=3DctyU$unit=0A major=3D66=0A r=
m -f $ttyU $dtyU $ctyU=0A mknod $ttyU c $major $(($unit + $dialin ))=0A mk=
+ $callunit))=0A chown uucp $ttyU $dtyU $ctyU=0A chmod 600 $ttyU $dtyU $cty=
U=0A ;;=0A=0Augen*)=0A unit=3D${i#ugen}=0A ugen=3Dugen$unit=0A major=3D64=
=0A for j in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15=0A do=0A ugen=
j=3D$ugen.$j=0A rm -f $ugenj=0A mknod $ugenj c $major $(($unit * 16 + $j)=
)=0A chmod 600 $ugenj=0A done=0A ;;=0A=0Attyv0)=0A rm -f ttyv0=0A mknod tt=
yv0 c 12 0=0A ;;=0A=0Awscons)=0A makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE=
5 ttyE6 ttyE7=0A makedev wsmouse0 wsmouse1 wsmouse2 wsmouse3=0A makedev wsk=
bd0 wskbd1 wskbd2 wskbd3=0A makedev wsmux0 wsmux1 wsmux2 wsmux3=0A makedev =
wsmouse wskbd=0A makedev ttyEcfg=0A makedev wsfont=0A ;;=0A=0Awsmouse)=0A r=
m -f wsmouse=0A mknod wsmouse c 65 0=0A chmod 600 wsmouse=0A ;;=0A=0Awskbd)=
=0A rm -f wskbd=0A mknod wskbd c 65 1=0A chmod 600 wskbd=0A ;;=0A=0Awsmux*)=
=0A unit=3D${i#wsmux}=0A unitctl=3D$(($unit + 128))=0A wsmux=3Dwsmux$unit=
=0A wsmuxctl=3Dwsmuxctl$unit=0A major=3D65=0A rm -f $wsmux $wsmuxctl=0A mkn=
od $wsmux c $major $unit=0A chmod 600 $wsmux=0A mknod $wsmuxctl c $major $u=
nitctl=0A chmod 200 $wsmuxctl=0A ;;=0A=0AttyEcfg)=0A chr=3D47=0A rm -f ttyE=
cfg=0A mknod ttyEcfg c $chr 255=0A chmod 600 ttyEcfg=0A ;;=0A=0AttyE*)=0A c=
hr=3D47; unit=3D${i#ttyE}=0A rm -f ttyE$unit=0A mknod ttyE$unit c $chr $uni=
t=0A ;;=0A=0Awsmouse*)=0A unit=3D${i#wsmouse}=0A wsmouse=3Dwsmouse$unit=0A =
major=3D49=0A rm -f $wsmouse=0A mknod $wsmouse c $major $unit=0A chmod 600 =
$wsmouse=0A ;;=0A=0Awskbd*)=0A unit=3D${i#wskbd}=0A wskbd=3Dwskbd$unit=0A m=
ajor=3D48=0A rm -f $wskbd=0A mknod $wskbd c $major $unit=0A chmod 600 $wskb=
d=0A ;;=0A=0Afd)=0A if $nofdesc; then=0A rm -f fd/*=0A mkdir fd 2>/dev/nu=
ll=0A n=3D0=0A while [ $n -lt 64 ]; do=0A mknod fd/$n c 22 $n=0A n=3D=
$(($n + 1))=0A done=0A chmod 755 fd=0A chmod 666 fd/*=0A fi=0A ;;=0A=0Aw=
t*)=0A case $i in=0A wt*) name=3Dwt; unit=3D${i#wt}; chr=3D10; blk=3D3;;=
=0A esac=0A for sub in $unit $(($unit+8)) $(($unit+16))=0A do=0A rm -f =
$name$sub n$name$sub r$name$sub nr$name$sub=0A mknod $name$sub b $blk $=
(($sub + 0))=0A mknod n$name$sub b $blk $(($sub + 4))=0A mknod r$na=
me$sub c $chr $(($sub + 0))=0A mknod nr$name$sub c $chr $(($sub + 4))=
=0A chgrp operator $name$sub n$name$sub r$name$sub nr$name$sub=0A c=
hmod 660 $name$sub n$name$sub r$name$sub nr$name$sub=0A done=0A ;;=0A=0Amd*=
)=0A unit=3D${i#md}; blk=3D17; chr=3D24=0A rm -f md${unit}? rmd${unit}?=0A =
mknod md${unit}a b $blk $(($unit * 8 + 0))=0A mknod md${unit}d b $blk $((=
$unit * 8 + 3))=0A# mknod rmd${unit}a c $chr $(($unit * 8 + 0))=0A# mknod r=
md${unit}d c $chr $(($unit * 8 + 3))=0A chgrp operator md${unit}? #rmd${uni=
t}?=0A chmod 640 md${unit}? #rmd${unit}?=0A ;;=0A=0Ass*)=0A case $i in=0A s=
s*) name=3Dss; unit=3D${i#ss}; chr=3D19;;=0A esac=0A rm -f $name$unit n$nam=
e$unit en$name$unit=0A mknod $name$unit c $chr $(($unit * 16 + 0))=0A mknod=
n$name$unit c $chr $(($unit * 16 + 1))=0A mknod en$name$unit c $chr $(($un=
it * 16 + 3))=0A chgrp operator $name$unit n$name$unit en$name$unit=0A chmo=
d 640 $name$unit n$name$unit en$name$unit=0A ;;=0A=0Accd*|fd*|ld*|raid*|sd*=
|vnd*|wd*|ed*)=0A case $i in=0A ccd*) name=3Dccd; unit=3D${i#ccd}; blk=3D16=
; chr=3D18;;=0A fd*) name=3Dfd; unit=3D${i#fd}; blk=3D2; chr=3D9;;=0A raid*=
) name=3Draid; unit=3D${i#raid}; blk=3D18; chr=3D62;;=0A ld*) name=3Dld; un=
it=3D${i#ld}; blk=3D19; chr=3D69;;=0A sd*) name=3Dsd; unit=3D${i#sd}; blk=
=3D4; chr=3D13;;=0A vnd*) name=3Dvnd; unit=3D${i#vnd}; blk=3D14; chr=3D41;;=
=0A wd*) name=3Dwd; unit=3D${i#wd}; blk=3D0; chr=3D3;;=0A ed*) name=3Ded; u=
nit=3D${i#ed}; blk=3D20; chr=3D79;;=0A esac=0A rm -f $name$unit? r$name$uni=
t?=0A mknod ${name}${unit}a b $blk $(($unit * 8 + 0))=0A mknod ${name}${uni=
t}b b $blk $(($unit * 8 + 1))=0A mknod ${name}${unit}c b $blk $(($unit * 8 =
+ 2))=0A mknod ${name}${unit}d b $blk $(($unit * 8 + 3))=0A mknod ${name}${=
unit}e b $blk $(($unit * 8 + 4))=0A mknod ${name}${unit}f b $blk $(($unit *=
}${unit}h b $blk $(($unit * 8 + 7))=0A mknod ${name}${unit}i b $blk $(($uni=
t * 8 + $highpartoffset + 8))=0A mknod ${name}${unit}j b $blk $(($unit * 8 =
+ $highpartoffset + 9))=0A mknod ${name}${unit}k b $blk $(($unit * 8 + $hig=
hpartoffset + 10))=0A mknod ${name}${unit}l b $blk $(($unit * 8 + $highpart=
offset + 11))=0A mknod ${name}${unit}m b $blk $(($unit * 8 + $highpartoffse=
t + 12))=0A mknod ${name}${unit}n b $blk $(($unit * 8 + $highpartoffset + 1=
3))=0A mknod ${name}${unit}o b $blk $(($unit * 8 + $highpartoffset + 14))=
=0A mknod ${name}${unit}p b $blk $(($unit * 8 + $highpartoffset + 15))=0A m=
knod r${name}${unit}a c $chr $(($unit * 8 + 0))=0A mknod r${name}${unit}b c=
$chr $(($unit * 8 + 1))=0A mknod r${name}${unit}c c $chr $(($unit * 8 + 2)=
)=0A mknod r${name}${unit}d c $chr $(($unit * 8 + 3))=0A mknod r${name}${un=
it}e c $chr $(($unit * 8 + 4))=0A mknod r${name}${unit}f c $chr $(($unit * =
8 + 5))=0A mknod r${name}${unit}g c $chr $(($unit * 8 + 6))=0A mknod r${nam=
e}${unit}h c $chr $(($unit * 8 + 7))=0A mknod r${name}${unit}i c $chr $(($u=
nit * 8 + $highpartoffset + 8))=0A mknod r${name}${unit}j c $chr $(($unit *=
8 + $highpartoffset + 9))=0A mknod r${name}${unit}k c $chr $(($unit * 8 + =
$highpartoffset + 10))=0A mknod r${name}${unit}l c $chr $(($unit * 8 + $hig=
hpartoffset + 11))=0A mknod r${name}${unit}m c $chr $(($unit * 8 + $highpar=
toffset + 12))=0A mknod r${name}${unit}n c $chr $(($unit * 8 + $highpartoff=
set + 13))=0A mknod r${name}${unit}o c $chr $(($unit * 8 + $highpartoffset =
+ 14))=0A mknod r${name}${unit}p c $chr $(($unit * 8 + $highpartoffset + 15=
))=0A chgrp operator $name$unit? r$name$unit?=0A chmod 640 $name$unit? r$na=
me$unit?=0A ;;=0A=0AttyCZ*)=0A unit=3D${i#ttyCZ}=0A major=3D73=0A minor=3D$=
(($unit * 64))=0A eminor=3D$(($minor + 64))=0A while [ $minor -lt $eminor ]=
; do=0A if [ $minor -lt 10 ]; then=0A nminor=3D000$minor=0A elif [ $min=
or -lt 100 ]; then=0A nminor=3D00$minor=0A elif [ $minor -lt 1000 ]; the=
n=0A nminor=3D0$minor=0A else=0A nminor=3D$minor=0A fi=0A rm -f ttyC=
Z$nminor dtyCZ$nminor=0A mknod ttyCZ$nminor c $major $(($minor + $dialin =
))=0A mknod dtyCZ$nminor c $major $(($minor + $dialout ))=0A chown uucp t=
tyCZ$nminor dtyCZ$nminor=0A chmod 600 ttyCZ$nminor dtyCZ$nminor=0A minor=
=3D$(($minor + 1))=0A done=0A ;;=0A=0AttyCY*)=0A unit=3D${i#ttyCY}=0A major=
=3D38=0A minor=3D$(($unit * 32))=0A eminor=3D$(($minor + 32))=0A while [ $m=
inor -lt $eminor ]; do=0A if [ $minor -lt 10 ]; then=0A nminor=3D00$mino=
r=0A elif [ $minor -lt 100 ]; then=0A nminor=3D0$minor=0A else=0A nmi=
nor=3D$minor=0A fi=0A rm -f ttyCY$nminor dtyCY$nminor=0A mknod ttyCY$nmi=
nor c $major $(($minor + $dialin ))=0A mknod dtyCY$nminor c $major $(($mi=
nor + $dialout ))=0A chown uucp ttyCY$nminor dtyCY$nminor=0A chmod 600 tt=
yCY$nminor dtyCY$nminor=0A minor=3D$(($minor + 1))=0A done=0A ;;=0A=0Acom*=
|tty*) # (XXX -- com should die)=0A ounit=3D${i#???}=0A ounit=3D$(($oun=
it + 0))=0A if [ $ounit -lt 10 ]; then=0A unit=3D0$ounit=0A rm -f com$oun=
it=0A else=0A unit=3D$ounit=0A fi=0A rm -f tty$unit dty$unit=0A mknod tty$=
unit c 8 $(($ounit + $dialin ))=0A mknod dty$unit c 8 $(($ounit + $dialout)=
)=0A chown uucp tty$unit dty$unit=0A ;;=0A=0Aopty)=0A rm -f ttyp[0-9a-f] pt=
yp[0-9a-f]=0A for j in 0 1 2 3 4 5 6 7 8 9 a b c d e f=0A do=0A case $j in=
=0A [0-9]) jn=3D$j ;;=0A a) jn=3D10 ;;=0A b) jn=3D11 ;;=0A c) jn=3D12 ;=
;=0A d) jn=3D13 ;;=0A e) jn=3D14 ;;=0A f) jn=3D15 ;;=0A esac=0A mknod =
ttyp$j c 5 $jn=0A mknod ptyp$j c 6 $jn=0A done=0A chmod 666 ttyp[0-9a-f] p=
typ[0-9a-f]=0A ;;=0A=0A =0Apty*)=0A class=3D${i#pty}=0A name=3D`echo pqrst=
uvwxyzPQRST | dd bs=3D1 count=3D1 skip=3D$class 2>/dev/null`=0A case $name =
in=0A v) echo "$0: $i: pty unit conflicts with console ttyv0 device."=0A c=
ontinue;;=0A ?) ;;=0A *) echo "$0: $i: pty unit must be between 0=
and 15"=0A continue ;;=0A esac=0A rm -f tty$name[0-9a-zA-Z] pty$na=
789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ | dd bs=3D1 count=
=3D1 skip=3D$jn 2>/dev/null`=0A skip=3D0=0A if [ $jn -ge 16 ]; then=0A =
skip=3D$(($class * 30 + 256 - 16))=0A fi=0A unit=3D$(($class * 16 + $jn +=
$skip))=0A mknod tty$name$j c 5 $unit=0A mknod pty$name$j c 6 $unit=0A =
jn=3D$(($jn + 1))=0A done=0A chmod 666 tty$name[0-9a-zA-Z] pty$name[0-9a-zA=
-Z]=0A ;;=0A=0Ast*)=0A case $i in=0A st*) name=3Dst; unit=3D${i#st}; chr=3D=
14; blk=3D5;;=0A esac=0A rm -f $name$unit n$name$unit e$name$unit en$name$u=
nit \=0A r$name$unit nr$name$unit er$name$unit enr$name$unit=0A mknod $nam=
e$unit b $blk $(($unit * 16 + 0))=0A mknod n$name$unit b $blk $(($unit * 16=
+ 1))=0A mknod e$name$unit b $blk $(($unit * 16 + 2))=0A mknod en$name$uni=
t b $blk $(($unit * 16 + 3))=0A mknod r$name$unit c $chr $(($unit * 16 + 0)=
)=0A mknod nr$name$unit c $chr $(($unit * 16 + 1))=0A mknod er$name$unit c =
$chr $(($unit * 16 + 2))=0A mknod enr$name$unit c $chr $(($unit * 16 + 3))=
=0A chgrp operator $name$unit n$name$unit e$name$unit en$name$unit \=0A r$=
name$unit nr$name$unit er$name$unit enr$name$unit=0A chmod 660 $name$unit n=
$name$unit e$name$unit en$name$unit \=0A r$name$unit nr$name$unit er$name$=
unit enr$name$unit=0A ;;=0A=0Ases*|ch*|uk*)=0A case $i in=0A ch*) name=3Dch=
; unit=3D${i#ch}; chr=3D17;;=0A uk*) name=3Duk; unit=3D${i#uk}; chr=3D20;;=
=0A ses*) name=3Dses; unit=3D${i#ses}; chr=3D74;;=0A esac=0A rm -f $name$un=
it=0A mknod $name$unit c $chr $unit=0A chgrp operator $name$unit=0A chmod 6=
40 $name$unit=0A ;;=0A=0Acd*|mcd*)=0A case $i in=0A cd*) name=3Dcd; unit=3D=
${i#cd}; chr=3D15; blk=3D6;;=0A mcd*) name=3Dmcd; unit=3D${i#mcd}; chr=3D39=
; blk=3D7;;=0A esac=0A rm -f $name$unit? r$name$unit?=0A mknod ${name}${uni=
t}a b $blk $(($unit * 8 + 0))=0A mknod ${name}${unit}d b $blk $(($unit * 8 =
+ 3))=0A mknod r${name}${unit}a c $chr $(($unit * 8 + 0))=0A mknod r${name}=
${unit}d c $chr $(($unit * 8 + 3))=0A chgrp operator $name$unit? r$name$uni=
t?=0A chmod 640 $name$unit? r$name$unit?=0A ;;=0A=0Alpt*|lpa*)=0A case $i i=
n=0A lpt*) name=3Dlpt; unit=3D${i#lpt}; chr=3D16; flags=3D0;;=0A lpa*) name=
=3Dlpa; unit=3D${i#lpa}; chr=3D16; flags=3D128;;=0A esac=0A rm -f $name$uni=
t=0A mknod $name$unit c $chr $(($unit + $flags))=0A ;;=0A=0Abpf*|tun*|mms*|=
lms*|joy*)=0A case $i in=0A bpf*) name=3Dbpf; unit=3D${i#bpf}; chr=3D23;;=
=0A tun*) name=3Dtun; unit=3D${i#tun}; chr=3D40;;=0A mms*) name=3Dmms; unit=
=3D${i#mms}; chr=3D35;;=0A lms*) name=3Dlms; unit=3D${i#lms}; chr=3D36;;=0A=
joy*) name=3Djoy; unit=3D${i#joy}; chr=3D26;;=0A esac=0A rm -f $name$unit=
=0A mknod $name$unit c $chr $unit=0A ;;=0A=0Aipl)=0A rm -f ipl ipnat ipstat=
e ipauth=0A mknod ipl c 44 0=0A mknod ipnat c 44 1=0A mknod ipstate c 44 2=
=0A mknod ipauth c 44 3=0A chmod 600 ipl ipnat ipstate ipauth=0A ;;=0A=0Asp=
eaker) # (XXX - installed)=0A rm -f speaker=0A mknod speaker c 27 0=0A =
;;=0A=0Alkm)=0A rm -f lkm=0A mknod lkm c 28 0=0A chgrp kmem lkm=0A chmod 64=
0 lkm=0A ;;=0A=0Aaudio*)=0A unit=3D${i#audio}=0A audio=3Daudio$unit=0A soun=
d=3Dsound$unit=0A mixer=3Dmixer$unit=0A major=3D42=0A audioctl=3Daudioctl$u=
nit=0A if [ "$unit" =3D "" ]; then unit=3D0; fi=0A rm -f $audio $sound $mix=
er $audioctl=0A mknod $sound c $major $(($unit + 0))=0A mknod $audio =
c $major $(($unit + 128))=0A mknod $mixer c $major $(($unit + 16))=0A mk=
nod $audioctl c $major $(($unit + 192))=0A chmod 666 $audio $sound $mixer $=
audioctl=0A ;;=0A=0Armidi*)=0A unit=3D${i#rmidi}=0A major=3D58=0A rmidi=3Dr=
midi$unit=0A rm -f $rmidi=0A mknod $rmidi c $major $unit=0A chmod 666 $rmid=
i=0A ;;=0A=0Amusic*)=0A unit=3D${i#music}=0A music=3Dmusic$unit=0A sequence=
r=3Dsequencer$unit=0A major=3D59=0A if [ "$unit" =3D "" ]; then unit=3D0; f=
i=0A rm -f $sequencer $music=0A mknod $music c $major $(($unit + 0))=0A=
mknod $sequencer c $major $(($unit + 128))=0A chmod 666 $music $sequencer=
=0A ;;=0A=0Aradio*)=0A unit=3D${i#radio}=0A radio=3Dradio$unit=0A major=3D8=
io c $major $unit=0A chmod 666 $radio=0A ;;=0A=0Aapm*)=0A rm -f apm apmctl=
=0A mknod apm c 21 0=0A mknod apmctl c 21 8=0A chmod 644 apm apmctl=0A ;;=
=0A=0Asatlink*)=0A unit=3D${i#satlink}=0A rm -f satlink$unit=0A mknod satli=
nk$unit c 45 $unit=0A chmod 444 satlink$unit=0A ;;=0A=0Arandom)=0A rm -f ra=
ndom urandom=0A mknod random c 46 0=0A mknod urandom c 46 1=0A chmod 444 ra=
ndom=0A chmod 644 urandom=0A ;;=0A=0Acfs*)=0A unit=3D${i#cfs}=0A cfs=3Dcfs$=
unit=0A major=3D60=0A rm -f $cfs=0A mknod $cfs c $major $unit=0A chmod 600 =
$cfs=0A ;;=0A=0Asysmon)=0A major=3D67=0A rm -f sysmon=0A mknod sysmon c $ma=
jor 0=0A chmod 644 sysmon=0A=0A rm -f watchdog=0A mknod watchdog c $major 1=
=0A chmod 644 watchdog=0A ;;=0A=0Ascsibus*)=0A unit=3D${i#scsibus}=0A rm -f=
scsibus$unit=0A mknod scsibus$unit c 61 $unit=0A chmod 644 scsibus$unit=0A=
;;=0A=0Abktr)=0A makedev bktr0 bktr1=0A ln -fs bktr0 bktr=0A ln -fs tuner0=
tuner=0A ln -fs vbi0 vbi=0A ;;=0A=0Abktr*)=0A unit=3D${i#bktr}=0A rm -f bk=
tr$unit tuner$unit vbi$unit=0A mknod bktr$unit c 71 $(($unit + 0))=0A mknod=
tuner$unit c 71 $(($unit + 16))=0A mknod vbi$unit c 71 $(($unit + 32))=0A =
chmod 444 bktr$unit tuner$unit vbi$unit=0A ;;=0A=0Aiop*)=0A unit=3D${i#iop}=
=0A rm -f iop$unit=0A mknod iop$unit c 76 $unit=0A chmod 600 iop$unit=0A ;;=
=0A=0Amlx*)=0A unit=3D${i#mlx}=0A rm -f mlx$unit=0A mknod mlx$unit c 78 $un=
it=0A chmod 600 mlx$unit=0A ;;=0A=0Amly*)=0A unit=3D${i#mly}=0A rm -f mly$u=
nit=0A mknod mly$unit c 80 $unit=0A chmod 600 mly$unit=0A ;;=0A=0Aagp*)=0A =
unit=3D${i#agp}=0A rm -f agp$unit=0A mknod agp$unit c 82 $unit=0A if [ "$un=
it" =3D "0" ]; then ln -fs agp$unit agpgart; fi=0A chmod 644 agp$unit=0A ;;=
=0A=0Apci*)=0A unit=3D${i#pci}=0A rm -f pci$unit=0A mknod pci$unit c 83 $un=
it=0A chmod 644 pci$unit=0A ;;=0A=0Adpt*)=0A unit=3D${i#dpt}=0A rm -f dpt$u=
nit=0A mknod dpt$unit c 96 $unit=0A chmod 600 dpt$unit=0A ;;=0A=0Adpti*)=0A=
unit=3D${i#dpti}=0A rm -f dpti$unit=0A mknod dpti$unit c 84 $unit=0A chmod=
600 dpti$unit=0A ;;=0A=0Aaltq)=0A mkdir altq 2>/dev/null=0A chmod 755 altq=
=0A unit=3D0=0A for dev in altq cbq wfq afm fifoq red rio localq hfsc \=0A =
cdnr blue priq; do=0A rm -f altq/$dev=0A mknod altq/$dev c 77 $unit=
=0A chmod 644 altq/$dev=0A unit=3D$(($unit + 1))=0A done=0A ;;=0A=0Aisdn)=
=0A rm -f isdn=0A mknod isdn c 50 0=0A chmod 600 isdn=0A ;;=0A=0Aisdnctl)=
=0A rm -f isdnctl=0A mknod isdnctl c 51 0=0A chmod 600 isdnctl=0A ;;=0A=0Ai=
sdnbchan*)=0A unit=3D${i#isdnbchan}=0A rm -f isdnbchan$unit=0A mknod isdnbc=
han$unit c 52 $unit=0A chmod 600 isdnbchan$unit=0A ;;=0A=0Aisdntel*)=0A uni=
t=3D${i#isdntel}=0A rm -f isdntel$unit=0A mknod isdntel$unit c 54 $unit=0A =
chmod 600 isdntel$unit=0A ;;=0A=0Aisdntrc*)=0A unit=3D${i#isdntrc}=0A rm -f=
isdntrc$unit=0A mknod isdntrc$unit c 53 $unit=0A chmod 600 isdntrc$unit=0A=
;;=0A=0Avmegen)=0A makedev vmegen0 vmegen1 vmegen2 vmegen3=0A ;;=0A=0Avmeg=
en*)=0A unit=3D${i#vmegen}=0A rm -f vmegen$unit=0A mknod vmegen$unit c 68 $=
(($unit * 16 + 0))=0A chmod 600 vmegen$unit=0A ;;=0A=0Awsfont)=0A rm -f wsf=
ont=0A mknod wsfont c 81 0=0A chmod 600 wsfont=0A ;;=0A=0Acir*)=0A unit=3D$=
{i#cir}=0A cir=3Dcir$unit=0A major=3D86=0A rm -f $cir=0A mknod $cir c $majo=
r $unit=0A chmod 666 $cir=0A ;;=0A=0Airframe*)=0A unit=3D${i#irframe}=0A ir=
frame=3Dirframe$unit=0A major=3D85=0A rm -f $irframe=0A mknod $irframe c $m=
ajor $unit=0A chmod 600 $irframe=0A ;;=0A=0Aclockctl)=0A rm -f clockctl=0A =
mknod clockctl c 89 0=0A chgrp ntpd clockctl=0A chmod 660 clockctl=0A ;;=0A=
=0Ansmb*)=0A unit=3D${i#nsmb}=0A nsmb=3Dnsmb$unit=0A major=3D88=0A rm -f $n=
smb=0A mknod $nsmb c $major $unit=0A chmod 644 $nsmb=0A ;;=0A=0Alocal)=0A i=
f [ -f "$0.local" ]; then=0A umask 0=0A sh $0.local all=0A umask 77=0A f=
i=0A ;;=0A=0A*)=0A echo $i: unknown device=0A ;;=0A=0Aesac=0Adone=0A=0A}=0A=
=0Amakedev $*=0A
--qMm9M+Fa2AknHoGS--