head	1.44;
access;
symbols
	RELENG_3_5_0_RELEASE:1.15.2.4
	RELENG_3_4_0_RELEASE:1.15.2.4
	RELENG_3_3_0_RELEASE:1.15.2.4
	RELENG_3:1.15.0.2
	RELENG_2_2_8_RELEASE:1.1.2.1
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.1.2.1
	PRE_NOBDEV:1.2
	POST_DEVFS_SLICE:1.2
	PRE_DEVFS_SLICE:1.2
	RELENG_2_2_6_RELEASE:1.1.2.1
	POST_SOFTUPDATE:1.2
	PRE_SOFTUPDATE:1.2
	RELENG_2_2:1.1.0.2;
locks; strict;
comment	@# @;


1.44
date	2000.01.15.03.45.22;	author hosokawa;	state dead;
branches;
next	1.43;

1.43
date	2000.01.14.20.40.59;	author wpaul;	state Exp;
branches;
next	1.42;

1.42
date	2000.01.14.03.14.43;	author wpaul;	state Exp;
branches;
next	1.41;

1.41
date	2000.01.13.07.01.13;	author mdodd;	state Exp;
branches;
next	1.40;

1.40
date	2000.01.08.16.19.33;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	2000.01.08.16.17.41;	author peter;	state Exp;
branches;
next	1.38;

1.38
date	2000.01.05.04.27.14;	author wpaul;	state Exp;
branches;
next	1.37;

1.37
date	99.12.28.02.01.05;	author wpaul;	state Exp;
branches;
next	1.36;

1.36
date	99.12.23.05.32.53;	author wpaul;	state Exp;
branches;
next	1.35;

1.35
date	99.12.19.21.55.29;	author imp;	state Exp;
branches;
next	1.34;

1.34
date	99.12.19.17.12.19;	author markm;	state Exp;
branches;
next	1.33;

1.33
date	99.12.18.07.49.54;	author imp;	state Exp;
branches;
next	1.32;

1.32
date	99.12.18.07.47.34;	author imp;	state Exp;
branches;
next	1.31;

1.31
date	99.12.10.10.44.47;	author phk;	state Exp;
branches;
next	1.30;

1.30
date	99.12.08.09.19.37;	author sos;	state Exp;
branches;
next	1.29;

1.29
date	99.12.06.18.17.42;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	99.12.04.17.41.20;	author wpaul;	state Exp;
branches;
next	1.27;

1.27
date	99.11.26.20.08.40;	author phk;	state Exp;
branches;
next	1.26;

1.26
date	99.11.25.20.45.45;	author wpaul;	state Exp;
branches;
next	1.25;

1.25
date	99.11.05.20.41.09;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	99.11.05.20.06.38;	author obrien;	state Exp;
branches;
next	1.23;

1.23
date	99.11.01.04.02.58;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	99.10.25.02.41.58;	author imp;	state Exp;
branches;
next	1.21;

1.21
date	99.10.15.17.29.20;	author imp;	state Exp;
branches;
next	1.20;

1.20
date	99.09.08.19.02.26;	author markm;	state Exp;
branches;
next	1.19;

1.19
date	99.08.29.16.58.40;	author iwasaki;	state Exp;
branches;
next	1.18;

1.18
date	99.08.28.00.43.33;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	99.08.15.09.54.57;	author phk;	state Exp;
branches;
next	1.16;

1.16
date	99.08.15.09.38.20;	author phk;	state Exp;
branches;
next	1.15;

1.15
date	99.08.08.19.28.59;	author phk;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	99.07.19.15.18.21;	author hosokawa;	state Exp;
branches;
next	1.13;

1.13
date	99.07.06.19.22.41;	author des;	state Exp;
branches;
next	1.12;

1.12
date	99.07.02.04.36.48;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.06.17.23.53.20;	author markm;	state Exp;
branches;
next	1.10;

1.10
date	98.12.27.13.13.41;	author phk;	state dead;
branches;
next	1.9;

1.9
date	98.10.22.13.49.51;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	98.10.22.12.23.04;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	98.09.30.03.48.23;	author gibbs;	state Exp;
branches;
next	1.6;

1.6
date	98.09.25.17.34.48;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	98.09.15.22.38.50;	author gibbs;	state Exp;
branches;
next	1.4;

1.4
date	98.09.15.10.01.13;	author gibbs;	state Exp;
branches;
next	1.3;

1.3
date	98.09.08.18.09.50;	author brian;	state Exp;
branches;
next	1.2;

1.2
date	97.11.11.00.47.01;	author nate;	state Exp;
branches;
next	1.1;

1.1
date	97.11.01.18.54.10;	author nate;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	97.11.01.18.55.45;	author nate;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.09.05.08.10.52;	author peter;	state Exp;
branches;
next	;

1.15.2.1
date	99.08.13.15.58.56;	author kuriyama;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	99.08.23.15.33.57;	author kuriyama;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	99.08.29.16.05.23;	author peter;	state Exp;
branches;
next	1.15.2.4;

1.15.2.4
date	99.08.29.17.05.59;	author iwasaki;	state Exp;
branches;
next	;


desc
@@


1.44
log
@Removed PCCARD config file again.
(PCCARD support has been merged into GENERIC config file)
@
text
@#
# PCCARD -- Generic machine with WD/AHx/NCR/BTx family disks and PCMCIA
#           hardware support
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.43 2000/01/14 20:40:59 wpaul Exp $

machine		i386
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		PCCARD
maxusers	32

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=4			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

device		isa0
device		eisa0
device		pci0

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata2
device		atadisk0	# ATA disk drives
device		atapicd0	# ATAPI CDROM drives
device		atapifd0	# ATAPI floppy drives
device		atapist0	# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
# A single entry for any of these controllers (ahb, ahc, amd, ncr, etc...) is
# sufficient for any number of installed devices.
device		ahb0		# EISA AHA1742 family
device		ahc0		# AHA2940 and onboard AIC7xxx devices
device		amd0		# AMD 53C974 (Teckram DC-390(T))
device		dpt0		# DPT Smartcache - See LINT for options!
device		isp0		# Qlogic family
device		ncr0		# NCR/Symbios Logic
device		sym0		# NCR/Symbios Logic (newer chipsets)

device		adv0	at isa? port ? irq ?
device		adw0
device		bt0	at isa? port ? irq ?
device		aha0	at isa? port ? irq ?
device		aic0	at isa? port ? irq ?

# SCSI peripherals
# Only one of each of these is needed, they are dynamically allocated.
device		scbus0		# SCSI bus (required)
device		da0		# Direct Access (disks)
device		sa0		# Sequential Access (tape etc)
device		cd0		# CD
device		pass0		# Passthrough device (direct SCSI access)

# RAID controllers
#device		amr0		# AMI MegaRAID
#device		mlx0		# Mylex DAC960 family

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
device		card0
device		pcic0	at isa?
device		pcic1	at isa?

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? port? flags 0x40 irq 7
device		ppbus0		# Parallel port bus (required)
device		lpt0		# Printer
device		plip0		# TCP/IP over parallel
device		ppi0		# Parallel port interface device
#device		vpo0		# Requires scbus and da0


# PCI Ethernet NICs.
device		de0		# DEC/Intel DC21x4x (``Tulip'')
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device		tx0		# SMC 9432TX (83c170 ``EPIC'')
device		vx0		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus0		# MII bus support
device		dc0		# DEC/Intel 21143 and various workalikes
device		rl0		# RealTek 8129/8139
device		sf0		# Adaptec AIC-6915 (``Starfire'')
device		sis0		# Silicon Integrated Systems SiS 900/SiS 7016
device		ste0		# Sundance ST201 (D-Link DFE-550TX)
device		tl0		# Texas Instruments ThunderLAN
device		vr0		# VIA Rhine, Rhine II
device		wb0		# Winbond W89C840F
device		xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
device		ex0
device		ep0
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
device		wi0
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
device        an0
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
device		fe0	at isa? port 0x300 irq ?
device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
device		lnc0	at isa? port 0x280 irq 10 drq 0
device		cs0	at isa? port 0x300 irq ?
device		sn0	at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
device		xe0	at isa? port? irq ?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# USB support
#device		uhci0		# UHCI PCI->USB interface
#device		ohci0		# OHCI PCI->USB interface
#device		usb0		# USB Bus (required)
#device		ugen0		# Generic
#device		uhid0		# "Human Interface Devices"
#device		ukbd0		# Keyboard
#device		ulpt0		# Printer
#device		umass0		# Disks/Mass storage - Requires scbus and da0
#device		ums0		# Mouse
#device		aue0		# ADMtek USB ethernet
#device		cue0		# CATC USB ethernet
#device		kue0		# Kawasaki LSI USB ethernet
@


1.43
log
@Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.42 2000/01/14 03:14:43 wpaul Exp $
@


1.42
log
@Add device driver support for USB ethernet adapters based on the CATC
USB-EL1202A chipset. Between this and the other two drivers, we should
have support for pretty much every USB ethernet adapter on the market.
The only other USB chip that I know of is the SMC USB97C196, and right
now I don't know of any adapters that use it (including the ones made
by SMC :/ ).

Note that the CATC chip supports a nifty feature: read and write combining.
This allows multiple ethernet packets to be transfered in a single USB
bulk in/out transaction. However I'm again having trouble with large
bulk in transfers like I did with the ADMtek chip, which leads me to
believe that our USB stack needs some work before we can really make
use of this feature. When/if things improve, I intend to revisit the
aue and cue drivers. For now, I've lost enough sanity points.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.41 2000/01/13 07:01:13 mdodd Exp $
d183 6
@


1.41
log
@Remove the 'at isa? ...' bits for ex0.

Remove the confusing text about pccard and unit numbers for ep0.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.40 2000/01/08 16:19:33 peter Exp $
d217 1
@


1.40
log
@Sync the sym0 description while here.  It doesn't conflict with ncr0
and is enabled in GENERIC.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.39 2000/01/08 16:17:41 peter Exp $
d177 1
a177 3
device		ex0	at isa? port? irq?
# NOTE: This removes the isa attachment so that the pccard unit numbers
# come out right.
@


1.39
log
@s/controller/device/ as per config(8) changes
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.38 2000/01/05 04:27:14 wpaul Exp $
d91 1
a91 1
#device		sym0		# NCR/Symbios Logic (do not mix with ncr, it conflicts)
@


1.38
log
@Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.37 1999/12/28 02:01:05 wpaul Exp $
d62 3
a64 3
controller	isa0
controller	eisa0
controller	pci0
d67 1
a67 1
controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
d72 3
a74 3
controller	ata0	at isa? port IO_WD1 irq 14
controller	ata1	at isa? port IO_WD2 irq 15
controller	ata2
d85 13
a97 13
controller	ahb0		# EISA AHA1742 family
controller	ahc0		# AHA2940 and onboard AIC7xxx devices
controller	amd0		# AMD 53C974 (Teckram DC-390(T))
controller	dpt0		# DPT Smartcache - See LINT for options!
controller	isp0		# Qlogic family
controller	ncr0		# NCR/Symbios Logic
#controller	sym0		# NCR/Symbios Logic (do not mix with ncr, it conflicts)

controller	adv0	at isa? port ? irq ?
controller	adw0
controller	bt0	at isa? port ? irq ?
controller	aha0	at isa? port ? irq ?
controller	aic0	at isa? port ? irq ?
d101 1
a101 1
controller	scbus0		# SCSI bus (required)
d112 1
a112 1
controller	atkbdc0	at isa? port IO_KBD
d138 1
a138 1
controller	card0
d150 1
a150 1
controller	ppbus0		# Parallel port bus (required)
d154 1
a154 1
#controller	vpo0		# Requires scbus and da0
d164 1
a164 1
controller	miibus0		# MII bus support
d209 3
a211 3
#controller	uhci0		# UHCI PCI->USB interface
#controller	ohci0		# OHCI PCI->USB interface
#controller	usb0		# USB Bus (required)
d216 1
a216 1
#controller	umass0		# Disks/Mass storage - Requires scbus and da0
@


1.37
log
@This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.36 1999/12/23 05:32:53 wpaul Exp $
d219 1
@


1.36
log
@Fix minor typo in comments about WaveLAN/IEEE driver: 802.1 -> 802.11
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.35 1999/12/19 21:55:29 imp Exp $
d218 1
@


1.35
log
@Merge changes from GENERIC into PCCARD (cdrom)
Merge changes from PCCARD into NEWCARD (cdrom and markm's comments)
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.34 1999/12/19 17:12:19 markm Exp $
d181 1
a181 1
# WaveLAN/IEEE 802.1 wireless NICs. Note: the WaveLAN/IEEE really
@


1.34
log
@Comment and order to reduce diffs. No functional change.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.33 1999/12/18 07:49:54 imp Exp $
a109 6

# Proprietary or custom CD-ROM Interfaces
device		wt0	at isa? port 0x300 irq 5 drq 1
device		mcd0	at isa? port 0x300 irq 10
device		matcd0	at isa? port 0x230
device		scd0	at isa? port 0x230
@


1.33
log
@spell isa right on sn0 line
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.32 1999/12/18 07:47:34 imp Exp $
d35 1
a36 1
options 	MFS			#Memory Filesystem
d184 2
@


1.32
log
@Merge GENERIC into PCCARD
Merge PCCARD into NEWCARD
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.31 1999/12/10 10:44:47 phk Exp $
d195 1
a195 1
device		sn0	at ias? port 0x300 irq 10
@


1.31
log
@Remove the if_ze and if_zp drivers.

These drivers were cloned from the ed and ep drivers back in 1994
when PCMCIA cards were a very new thing and we had no other support
for such devices.  They treated the PCIC (the chip which controls the
PCCARD slot) as part of their device and generally hacked their way
to success.  They have significantly bit-rotted relative to their
ancestor drivers (ed & ep) and they were a dead-end on the evolution
path to proper PCCARD support in FreeBSD.

They have been terminally broken since August 18 where mdodd forgot
them and nobody seems to have missed them enough to fix them since.

I found no outstanding PRs against these drivers.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.30 1999/12/08 09:19:37 sos Exp $
d35 1
a36 1
options 	MD_ROOT			#MD is a potential root device
d83 1
a83 1
# A single entry for any of these controllers (ncr, ahb, ahc) is
a84 1
controller	ncr0		# NCR/Symbios Logic
d88 1
d90 2
a91 1
controller	dpt0		# DPT Smartcache - See LINT for options!
d97 1
d107 4
d141 1
a141 1
device		apm0    at nexus? disable flags 0x31 # Advanced Power Management
d145 2
a146 2
controller	pcic0	at isa?
controller	pcic1	at isa?
d171 1
a171 1
device		dc0		# DEC/Intrl 21143 and various workalikes
a183 2
# NOTE: This removes the isa attachment so that the pccard unit numbers
# come out right.
d195 1
a205 1
pseudo-device	gzip		# Exec gzipped a.out's
@


1.30
log
@Finally use the new ata driver.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.29 1999/12/06 18:17:42 peter Exp $
a192 6

# PCCARD NIC drivers.
# ze and zp take over the pcic and cannot coexist with generic pccard
# support, nor the ed and ep drivers they replace.
#device		ze0	at isa? port 0x300 irq 10 iomem 0xd8000	
#device		zp0	at isa? port 0x300 irq 10 iomem 0xd8000
@


1.29
log
@Fold the pnp code into the base isa system to pave the way for PNPBIOS.

Reviewed by:	dfr (a few weeks ago)
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.28 1999/12/04 17:41:20 wpaul Exp $
d71 10
a80 13
# IDE controller and disks
controller	wdc0	at isa? port IO_WD1 irq 14
device		wd0	at wdc0 drive 0
device		wd1	at wdc0 drive 1

controller	wdc1	at isa? port IO_WD2 irq 15
device		wd2	at wdc1 drive 0
device		wd3	at wdc1 drive 1

# ATAPI devices on wdc?
device		wcd0		#IDE CD-ROM
device		wfd0		#IDE Floppy (e.g. LS-120)
device		wst0		#IDE Tape (e.g. Travan)
@


1.28
log
@Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.27 1999/11/26 20:08:40 phk Exp $
a62 1
controller	pnp0			# PnP support for ISA
@


1.27
log
@Retire MFS_ROOT and MFS_ROOT_SIZE options from the MFS implementation.

Add MD_ROOT and MD_ROOT_SIZE options to the md driver.

Make the md driver handle MFS_ROOT and MFS_ROOT_SIZE options for compatibility.

Add md driver to GENERIC, PCCARD and LINT.

This is a cleanup which removes the need for some of the worse hacks in
MFS:  We really want to have a rootvnode but MFS on a preloaded image
doesn't really have one.  md is a true device, so it is less trouble.

This has been tested with make release, and if people remember to add
the "md" pseudo-device to their kernels, PicoBSD should be just fine
as well.  If people have no other use for MFS, it can be removed from
the kernel.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.26 1999/11/25 20:45:45 wpaul Exp $
a161 1
device		ax0		# ASIX AX88140A
a163 1
device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
d169 1
a169 3
device		al0		# ADMtek AL981/AN985 (``Comet''/``Centaur'')
device		dm0		# Davicom DM9100/DM9102
device		mx0		# Macronix 98713/98715/98725 (``PMAC'')
@


1.26
log
@Update the WaveLAN/IEEE driver:

- Convert to new bus attachment scheme. Thanks to Blaz Zupan for doing
  the initial work here. One thing I changed was to have the attach
  and detach routines work like the PCI drivers, which means that in
  theory you should be able to load and unload the driver like the PCI
  NIC drivers, however the pccard support for this hasn't settled down
  yet so it doesn't quite work. Once the pccard work is done, I'll have
  to revisit this.

- Add device wi0 to PCCARD. If we're lucky, people should be able to
  install via their WaveLAN cards now.

- Add support for signal strength caching. The wicontrol utility has
  also been updated to allow zeroing and displaying the signal strength
  cache.

- Add a /sys/modules/wi directory and fix a Makefile to builf if_wi.ko.
  Currently this module is only built for the i386 platform, though once
  the pccard stuff is done it should be able to work on the alpha too.
  (Theoretically you should be able to plug one of the WaveLAN/IEEE ISA
  cards into an alpha with an ISA slot, but we'll see how that turns out.

- Update LINT to use only device wi0. There is no true ISA version of
  the WaveLAN/IEEE so we'll never use an ISA attachment.

- Update files.i386 so that if_wi is dependent on card.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.25 1999/11/05 20:41:09 obrien Exp $
d36 1
a36 1
options 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
d216 1
@


1.25
log
@Fix the style of some options.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.24 1999/11/05 20:06:38 obrien Exp $
d189 4
@


1.24
log
@Style sync with GENERIC.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.23 1999/11/01 04:02:58 peter Exp $
d49 3
a51 3
options         SYSVSHM			#SYSV-style shared memory
options         SYSVMSG			#SYSV-style message queues
options         SYSVSEM			#SYSV-style semaphores
@


1.23
log
@Update examples using 'disk' and 'tape' - they used to have magic meaning
to config(8) for static device tables that have not existed for quite
some time.  They have been aliases for 'device' for a while, and "tape"
went away entirely as it wasn't used anywhere (except in an example
in LINT.. "fixed").
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.22 1999/10/25 02:41:58 imp Exp $
d92 1
d94 1
a94 1
controller      dpt0		# DPT Smartcache - See LINT for options!
a159 2
# MII bus support, required for some 10/100 NICs
controller	miibus0
a161 1
device		al0		# ADMtek AL981 (``Comet'')
d164 8
a172 1
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
a173 1
device		pn0		# Lite-On 82c168/82c169 (``PNIC'')
a178 1
device		tx0		# SMC 9432TX (83c170 ``EPIC'')
a179 1
device		vx0		# 3Com 3c590, 3c595 (``Vortex'')
a183 1
# The probe order of these is presently determined by i386/isa/isa_compat.c.
d185 1
a185 1
device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
d189 2
a190 1
device		ex0	at isa? port? irq?
d196 1
a196 1
#device		xe0	at isa? port? irq ?
@


1.22
log
@Massive rewrite of pccard to convert it to newbus.
o Gut the compatibility interface, you now must attach with newbus.
o Unit numbers from pccardd are now ignored.  This may change the units
  assigned to a card.  It now uses the first available unit.
o kill old skeleton code that is now obsolete.
o Use newbus attachment code.
o cleanup interfile dependencies some.
o kill list of devices per slot.  we use the device tree for what we need.
o Remove now obsolete code.
o The ep driver (and maybe ed) may need some config file tweaks to
  allow it to attach.  See config files that were committed for examples
  on how to do this.

Drivers to be commited shortly.

This is an interrum fix until the new pccard.  ed, ep and sio will be
supported by me with this release, although others are welcome to try
to support other devices before new pccard is working.

I plan on doing minimal further work on this code base.  Be careful
when upgrading, since this code is known to work on my laptop and
those of a couple others as well, but your milage may vary.

BUGS TO BE FIXED:

o system memory isn't allocated yet, it will be soon.
o No devices actually have a pccard newbus attach in the tree.

BUGS THAT MIGHT BE FIXED:

o card removal, including suspend, usually hangs the system.

Many thanks to Peter Wemm and Doug Rabson for helping me to fill in
the missing bits of New Bus understanding at FreeBSD Con '99.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.21 1999/10/15 17:29:20 imp Exp $
d69 2
a70 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
d74 2
a75 2
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
d78 2
a79 2
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1
@


1.21
log
@Reorganize the attachement point for pcic (it was unattached and
floating before).  Attach pccard devices to pcic, one per slot
(although this may change to one per pcic).  pcic is now attached to
isa (to act as a bridge) and pccard is attached to pcic, cbb and
pc98ic (the last two are card bus bridge and the pc98ic version of
pcic, neither of which are in the tree yet).  Move pccard compat code
into pccard/pccard_compat.c.

THIS REQUIRES A CONFIG FILE CHANGE.  You must change your pcic/card
entries to be:
# PCCARD (PCMCIA) support
controller	pcic0	at isa?
controller	pcic1	at isa?
controller	card0

The old system was upside down and this corrects that problem.  It
will make it easier to add support for YENTA pccard/card bus bridges.

Much more cleanup needs to happen before newbus devices can have
pccard attachments.  My previous commit's comments were premature.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.20 1999/09/08 19:02:26 markm Exp $
d185 3
a187 1
device		ep0	at isa? port 0x300 irq 10
@


1.20
log
@Catch up with GENERIC. This file is creaming to be automatically
generated form GENERIC. Any volunteers? I thought not :-). OK;
I'll do it.
@
text
@d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.19 1999/08/29 16:58:40 iwasaki Exp $
d142 2
a143 2
device		pcic0	at card?
device		pcic1	at card?
@


1.19
log
@ident GENERIC -> ident PCCARD

Okayed by:	hosokawa
@
text
@d5 2
a6 5
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
d8 9
a16 2
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
d19 1
a19 1
# $FreeBSD: src/sys/i386/conf/PCCARD,v 1.18 1999/08/28 00:43:33 peter Exp $
d159 3
d166 1
d171 3
d205 1
a205 1
pseudo-device	tun		# Packet tunnel, for ppp(1)
d210 2
a211 2
# Be aware of the legal and administrative consequences of enabling this!
#pseudo-device	bpf		#Berkeley packet filter
@


1.18
log
@$Id$ -> $FreeBSD$
@
text
@d15 1
a15 1
# $FreeBSD$
d22 1
a22 1
ident		GENERIC
@


1.17
log
@Give if_tun the "almost clone" makeover.
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.16 1999/08/15 09:38:20 phk Exp $
@


1.16
log
@Give BPF the "almost-clone" update.  If you need more of them, make
more entries in /dev and be happy you don't need to recompile your
kernel.
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.15 1999/08/08 19:28:59 phk Exp $
d194 1
a194 1
pseudo-device	tun	1	# Packet tunnel, for ppp(1)
@


1.15
log
@Make the pty driver as close to a cloning device as we can get for now,
we create the pty on the fly when it is first opened.

If you run out of ptys now, just MAKEDEV some more.

This also demonstrate the use of dev_t->si_tty_tty and dev_t->si_drv1
in a device driver.
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.14 1999/07/19 15:18:21 hosokawa Exp $
d200 1
a200 1
#pseudo-device	bpf	4	#Berkeley packet filter
@


1.15.2.1
log
@MFC: Add a kernel config for PC-Card machines. This is part of the
     (safe) PAO integration.

Reviewed and tested by:	hosokawa, nyan, kuriyama
@
text
@d5 5
a9 2
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
d11 2
a12 9
#    http://www.freebsd.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
d15 1
a15 1
#	$Id$
d17 5
a21 5
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
d25 1
a25 18
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
d27 21
a47 1
config		kernel	root on wd0
d50 2
a51 2
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
d53 4
a56 4
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs
d59 1
a59 1
controller	pnp0
d63 2
a64 1
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
d68 2
a69 2
options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14
d73 1
a73 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15
d77 2
a78 3
options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM
d80 1
d82 1
d85 5
a89 9
controller	ncr0
controller	ahb0
controller	ahc0
controller	isp0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
controller      dpt0
d91 1
a91 1
controller	adv0	at isa? port ? cam irq ?
d93 2
a94 19
controller	bt0	at isa? port ? cam irq ?
controller	aha0	at isa? port ? cam irq ?

controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows

device		wt0	at isa? port 0x300 bio irq 5 drq 1
device		mcd0	at isa? port 0x300 bio irq 10

controller	matcd0	at isa? port 0x230 bio

device		scd0	at isa? port 0x230 bio
d96 18
a113 4
# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12
d121 2
a122 1
device		sc0	at isa? tty
d124 3
a126 3
#device		vt0	at isa? tty
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
d128 1
a128 1
#options		PCVT_SCANSET=2		# IBM keyboards are non-std
d130 2
a131 1
device		npx0	at isa? port IO_NPX irq 13
d133 2
a134 4
#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management
d141 5
a145 4
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9
d148 48
a195 47
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device al0		# ADMtek AL981 (``Comet'')
device ax0		# ASIX AX88140A
device de0		# DEC/Intel DC21x4x (``Tulip'')
device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device mx0		# Macronix 98713/98715/98725 (``PMAC'')
device pn0		# Lite-On 82c168/82c169 (``PNIC'')
device rl0		# RealTek 8129/8139
device tl0		# Texas Instruments ThunderLAN
device tx0		# SMC 9432TX (83c170 ``EPIC'')
device vr0		# VIA Rhine, Rhine II
device vx0		# 3Com 3c590, 3c595 (``Vortex'')
device wb0		# Winbond W89C840F
device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 net irq 10
device ex0 at isa? port? net irq?
device fe0 at isa? port 0x300 net irq ?
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 net irq 10 drq 0
#device xe0 at isa? port? net irq ?
#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
device cs0 at isa? port 0x300 net irq ?

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
d198 14
a211 18
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options		SYSVSHM
options		SYSVMSG
options		SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
#pseudo-device	bpfilter 4	#Berkeley packet filter


@


1.15.2.2
log
@Merge from GENERIC:
  Merge the Adaptec AIC-6915 fast ethernet and SysKonnect gigabit ethernet
    drivers into the RELENG_3 branch.
  MFC: rev 1.179 (enable bpfilter), but only a single one.
@
text
@d19 1
a19 1
#	$Id: PCCARD,v 1.15.2.1 1999/08/13 15:58:56 kuriyama Exp $
a169 1
device sf0		# Adaptec AIC-6915 DuraLAN (``Starfire'')
d217 3
a219 1
pseudo-device	bpfilter 1	#Berkeley packet filter
@


1.15.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d19 1
a19 1
# $FreeBSD$
@


1.15.2.4
log
@MFC:	1.18 -> 1.19
ident GENERIC -> ident PCCARD

Okayed by:	hosokawa
@
text
@d26 1
a26 1
ident		PCCARD
@


1.14
log
@Sync with GENERIC (place of xe0 driver)
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.13 1999/07/06 19:22:41 des Exp $
d195 1
a195 1
pseudo-device	pty	16	# Pseudo-ttys (telnet etc)
@


1.13
log
@Rename bpfilter to bpf.
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.12 1999/07/02 04:36:48 peter Exp $
d180 2
a185 1
#device		xe0	at isa? port? irq ?
@


1.12
log
@Sync with GENERIC..  (Gee, this is a useful file..)
@
text
@d15 1
a15 1
#	$Id: PCCARD,v 1.11 1999/06/17 23:53:20 markm Exp $
d197 1
a197 1
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
d199 1
a199 1
#pseudo-device	bpfilter 4	#Berkeley packet filter
@


1.11
log
@Add a kernel config for PC-Card machines. This is part of the
(safe) PAO integration.

Submitted by:	Tatsumi HOSOKAWA
@
text
@d15 1
a15 1
#	$Id$
d27 21
a47 17
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		CD9660			#ISO 9660 Filesystem
options		CD9660_ROOT		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
d50 2
a51 2
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
d53 4
a56 4
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs
d63 1
d68 1
d82 1
d85 5
a89 9
controller	ncr0
controller	ahb0
controller	ahc0
controller	isp0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
controller      dpt0
d96 7
a102 6
controller	scbus0

device		da0	#Only need one of these, the code dynamically grows
device		sa0
device		pass0
device		cd0
d104 1
d107 1
a107 3

controller	matcd0	at isa? port 0x230

d125 2
a126 2
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
d128 1
a128 1
#options		PCVT_SCANSET=2		# IBM keyboards are non-std
d130 1
d133 1
a133 3
#
# Laptop support (see LINT for more options)
#
d141 1
d149 46
a194 45
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device al0		# ADMtek AL981 (``Comet'')
device ax0		# ASIX AX88140A
device de0		# DEC/Intel DC21x4x (``Tulip'')
device fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device mx0		# Macronix 98713/98715/98725 (``PMAC'')
device pn0		# Lite-On 82c168/82c169 (``PNIC'')
device rl0		# RealTek 8129/8139
device tl0		# Texas Instruments ThunderLAN
device tx0		# SMC 9432TX (83c170 ``EPIC'')
device vr0		# VIA Rhine, Rhine II
device vx0		# 3Com 3c590, 3c595 (``Vortex'')
device wb0		# Winbond W89C840F
device xl0		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
device ie0 at isa? port 0x300 irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 irq 10
device ex0 at isa? port? irq?
device fe0 at isa? port 0x300 irq ?
device le0 at isa? port 0x300 irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 irq 10 drq 0
#device xe0 at isa? port? irq ?
#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000
#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000
device cs0 at isa? port 0x300 irq ?

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
d197 2
a198 15
# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
d202 9
a210 10
#controller	uhci0
#controller	ohci0
#controller	usb0
#
#device		ugen0
#device		uhid0
#device		ukbd0
#device		ulpt0
#controller	umass0
#device		ums0
@


1.10
log
@Delete stale config.
@
text
@d2 2
a3 1
# PCCARD -- GENERIC laptop support
d15 1
a15 1
#	$Id: PCCARD,v 1.9 1998/10/22 13:49:51 bde Exp $
d17 9
a25 7
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		PCCARD
maxusers	10
d30 3
d34 1
d36 2
a37 1
options		"CD9660"		#ISO 9660 Filesystem
d39 1
a39 1
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
a41 1
options		FAILSAFE		#Be conservative
d45 8
a52 1
config		kernel	root on wd0
d55 2
d59 1
a59 1
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
d61 1
d63 1
a63 2
options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14
d65 22
d88 4
a91 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15
d93 1
a93 3
options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM
d95 4
a98 1
#controller	aic0	at isa? port 0x340 cam irq 11
d100 2
a101 1
#controller	scbus0
d103 1
a103 1
#device		da0
d105 1
a105 1
#device		sa0
d107 9
a115 1
#device		cd0	#Only need one of these, the code dynamically grows
d118 8
a125 1
device		sc0	at isa? port IO_KBD tty irq 1
d127 1
a127 1
device		npx0	at isa? port IO_NPX irq 13
d132 1
a132 1
device		apm0    at isa? flags 0x31	# Advanced Power Management
d139 45
a183 16
options		PCIC_RESUME_RESET	# reset after resume

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9

device		lpt0	at isa? port? tty irq 7

device		psm0	at isa? port IO_KBD conflicts tty irq 12
options		PSM_HOOKAPM		#hook the APM resume event
options		PSM_RESETAFTERSUSPEND	#reset the device at the resume event

device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
device ep0 at isa? port 0x300 net irq 10
device fe0 at isa? port 0x300 net irq ?
d188 1
a188 2
# iijppp uses tun instead of ppp device
#pseudo-device	ppp	1
d198 1
a198 1
# This provides support for System V shared memory.
d201 20
@


1.9
log
@Quote port names that have a digit in them.  IO_TIMER1 was lexed as
{ port_name = "IO_TIMER", port_number = 1 } and only worked because
it was reassembled to "IO_TIMER1".  Trailing digits always work, but
this is too magic to depend on.

Don't quote port names that don't have a digit in them.
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.8 1998/10/22 12:23:04 bde Exp $
@


1.8
log
@Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.7 1998/09/30 03:48:23 gibbs Exp $
d67 1
a67 1
device		sc0	at isa? port "IO_KBD" tty irq 1
d69 1
a69 1
device		npx0	at isa? port "IO_NPX" irq 13
d90 1
a90 1
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12
@


1.7
log
@Remove SCSI support as the only driver in this kernel config, aic, is not
currently supported by CAM.
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.6 1998/09/25 17:34:48 peter Exp $
d43 1
a43 1
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
d47 1
a47 1
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
d50 1
a50 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
d56 1
a56 1
#controller	aic0	at isa? port 0x340 cam irq 11 vector aicintr
d67 1
a67 1
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
d69 1
a69 1
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
d83 4
a86 4
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
d88 1
a88 1
device		lpt0	at isa? port? tty irq 7 vector lptintr
d90 1
a90 1
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
d94 3
a96 3
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
device ep0 at isa? port 0x300 net irq 10 vector epintr
device fe0 at isa? port 0x300 net irq ? vector feintr
@


1.6
log
@Goodbye BOUNCE_BUFFERS, for a hack it has served us well.

The last consumer of this code (the old SCSI system) has left us and
the CAM code does it's own bouncing.  The isa dma system has been
doing it's own bouncing for a while too.

Reviewed by:	core
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.5 1998/09/15 22:38:50 gibbs Exp $
d56 1
a56 1
controller	aic0	at isa? port 0x340 bio irq 11 vector aicintr
d58 1
a58 1
controller	scbus0
d60 1
a60 1
device		da0
d62 1
a62 1
device		sa0
d64 1
a64 1
device		cd0	#Only need one of these, the code dynamically grows
@


1.5
log
@Update to use CAM device names.
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.4 1998/09/15 10:01:13 gibbs Exp $
a32 1
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
@


1.4
log
@sd->da, od is gone, no SCSI control devices.
new pass, xpt, and targ devices.

Nuke no longer used AHC options.
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.3 1998/09/08 18:09:50 brian Exp $
d61 1
a61 1
device		sd0
d63 1
a63 3
device		od0	#See LINT for possible `od' options.

device		st0
@


1.3
log
@Make PCIC_RESUME_RESET an proper option.
My laptop (a CTX Cybernote) needs this.  It claims to have a

  PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.2 1997/11/11 00:47:01 nate Exp $
d32 1
a32 1
options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
@


1.2
log
@- Added PSM_HOOKAPM & PSM_RESETAFTERSUSPEND options.
OK'd by:	Kazutaka YOKOTA <yokota@@zodiac.mech.utsunomiya-u.ac.jp>
@
text
@d14 1
a14 1
#	$Id: PCCARD,v 1.1 1997/11/01 18:54:10 nate Exp $
d83 2
@


1.1
log
@- Example config file for laptop/PCCARD support.
@
text
@d14 1
a14 1
#	$Id$
d92 2
@


1.1.2.1
log
@- MFC: Example PCCARD config file (modified for 2.2).
@
text
@d14 1
a14 1
#	$Id: GENERIC,v 1.77.2.13 1997/10/30 00:38:14 nate Exp $
d72 1
a72 2
# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
d77 1
a77 2
device		apm0    at isa?		# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
d84 1
a84 1
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
d93 1
a93 1
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
a98 1
pseudo-device	log
d100 1
a100 1
# ijppp uses tun instead of ppp device
a101 1
pseudo-device	vn	1
@


1.1.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d14 1
a14 1
# $FreeBSD$
@
