1994-10-17 21:10:20 +00:00
|
|
|
#
|
1994-11-03 01:46:59 +00:00
|
|
|
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
|
1994-10-17 21:10:20 +00:00
|
|
|
#
|
1996-08-27 16:25:53 +00:00
|
|
|
# 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/>
|
1994-10-17 21:10:20 +00:00
|
|
|
#
|
1996-08-27 16:25:53 +00:00
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is present in the ./LINT configuration file. If you are
|
|
|
|
# in doubt as to the purpose or necessity of a line, check first in LINT.
|
|
|
|
#
|
Add driver support (and man page) for PCI fast ethernet cards based
on the ASIX AX88140A chip. Update /sys/conf/files, RELNOTES.TXT,
/sys/i388/i386/userconfig.c, sysinstall/devices.c, GENERIC and LINT
accordingly.
For now, the only board that I know of that uses this chip is the
Alfa Inc. GFC2204. (Its predecessor, the GFC2202, was a DEC tulip card.)
Thanks again to Ulf for obtaining the board for me. If anyone runs
across another, please feel free to update the man page and/or the
release notes. (The same applies for the other drivers.)
FreeBSD should now have support for all of the DEC tulip workalike
chipsets currently on the market (Macronix, Lite-On, Winbond, ASIX).
And unless I'm mistaken, it should also have support for all PCI fast
ethernet chipsets in general (except maybe the SMC FEAST chip, which
nobody seems to ever use, including SMC). Now if only we could convince
3Com, Intel or whoever to cough up some documentation for gigabit
ethernet hardware.
Also updated RELNOTEX.TXT to mention that the SVEC PN102TX is supported
by the Macronix driver (assuming you actually have an SVEC PN102TX with
a Macronix chip on it; I tried to order a PN102TX once and got a box
labeled 'Hawking Technology PN102TX' that had a VIA Rhine board inside
it).
1999-01-09 18:12:08 +00:00
|
|
|
# $Id: GENERIC,v 1.141 1999/01/01 08:09:57 peter Exp $
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
machine "i386"
|
|
|
|
cpu "I386_CPU"
|
|
|
|
cpu "I486_CPU"
|
|
|
|
cpu "I586_CPU"
|
1995-12-24 08:11:46 +00:00
|
|
|
cpu "I686_CPU"
|
1994-10-17 21:10:20 +00:00
|
|
|
ident GENERIC
|
1998-09-04 19:55:51 +00:00
|
|
|
maxusers 32
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1997-09-22 00:37:08 +00:00
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
1994-10-17 21:10:20 +00:00
|
|
|
options INET #InterNETworking
|
1994-11-05 07:38:50 +00:00
|
|
|
options FFS #Berkeley Fast Filesystem
|
1998-10-05 07:45:54 +00:00
|
|
|
options FFS_ROOT #FFS usable as root device [keep this!]
|
1998-10-10 08:13:58 +00:00
|
|
|
options MFS #Memory Filesystem
|
|
|
|
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
|
1994-11-05 07:38:50 +00:00
|
|
|
options NFS #Network Filesystem
|
1998-10-05 07:45:54 +00:00
|
|
|
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
|
1994-11-05 07:38:50 +00:00
|
|
|
options MSDOSFS #MSDOS Filesystem
|
1998-10-07 13:51:46 +00:00
|
|
|
options "CD9660" #ISO 9660 Filesystem
|
|
|
|
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
|
1994-10-17 21:10:20 +00:00
|
|
|
options PROCFS #Process filesystem
|
1995-12-29 02:04:20 +00:00
|
|
|
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
|
1998-09-15 10:01:14 +00:00
|
|
|
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
|
1995-01-14 02:39:22 +00:00
|
|
|
options UCONSOLE #Allow users to grab the console
|
1996-03-11 18:47:39 +00:00
|
|
|
options FAILSAFE #Be conservative
|
1996-09-11 19:53:45 +00:00
|
|
|
options USERCONFIG #boot -c editor
|
|
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1995-12-10 22:14:15 +00:00
|
|
|
config kernel root on wd0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-12-27 13:12:59 +00:00
|
|
|
# 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
|
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
controller isa0
|
1995-11-05 17:02:54 +00:00
|
|
|
controller eisa0
|
1994-10-17 21:10:20 +00:00
|
|
|
controller pci0
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
|
1994-10-17 21:10:20 +00:00
|
|
|
disk fd0 at fdc0 drive 0
|
|
|
|
disk fd1 at fdc0 drive 1
|
|
|
|
|
1997-03-13 19:03:58 +00:00
|
|
|
options "CMD640" # work around CMD640 chip deficiency
|
1998-10-22 12:23:04 +00:00
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 14
|
1994-10-17 21:10:20 +00:00
|
|
|
disk wd0 at wdc0 drive 0
|
|
|
|
disk wd1 at wdc0 drive 1
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
controller wdc1 at isa? port "IO_WD2" bio irq 15
|
1994-10-17 21:10:20 +00:00
|
|
|
disk wd2 at wdc1 drive 0
|
|
|
|
disk wd3 at wdc1 drive 1
|
|
|
|
|
1997-09-22 00:37:08 +00:00
|
|
|
options ATAPI #Enable ATAPI support for IDE bus
|
|
|
|
options ATAPI_STATIC #Don't do it as an LKM
|
1998-12-27 13:55:48 +00:00
|
|
|
device acd0 #IDE CD-ROM
|
1998-01-16 22:13:07 +00:00
|
|
|
device wfd0 #IDE Floppy (e.g. LS-120)
|
1995-08-18 11:26:35 +00:00
|
|
|
|
1998-11-12 11:29:28 +00:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc) is
|
1996-12-21 02:09:04 +00:00
|
|
|
# sufficient for any number of installed devices.
|
1994-10-17 21:10:20 +00:00
|
|
|
controller ncr0
|
1995-11-09 22:47:05 +00:00
|
|
|
controller ahb0
|
1995-01-13 02:23:27 +00:00
|
|
|
controller ahc0
|
1998-04-22 18:18:16 +00:00
|
|
|
controller isp0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-06-03 13:33:34 +00:00
|
|
|
# This controller offers a number of configuration options, too many to
|
|
|
|
# document here - see the LINT file in this directory and look up the
|
1998-10-03 17:09:00 +00:00
|
|
|
# dpt0 entry there for much fuller documentation on this.
|
|
|
|
controller dpt0
|
1998-09-15 10:01:14 +00:00
|
|
|
|
|
|
|
controller adv0 at isa? port ? cam irq ?
|
1998-10-07 03:42:44 +00:00
|
|
|
controller adw0
|
1998-09-15 10:01:14 +00:00
|
|
|
controller bt0 at isa? port ? cam irq ?
|
|
|
|
controller aha0 at isa? port ? cam irq ?
|
1998-10-22 12:23:04 +00:00
|
|
|
#controller aic0 at isa? port 0x340 bio irq 11
|
1995-01-14 02:39:22 +00:00
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
controller scbus0
|
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device da0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device sa0
|
1995-10-31 17:00:03 +00:00
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device pass0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
device wt0 at isa? port 0x300 bio irq 5 drq 1
|
|
|
|
device mcd0 at isa? port 0x300 bio irq 10
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1995-10-25 16:43:01 +00:00
|
|
|
controller matcd0 at isa? port 0x230 bio
|
1995-03-02 04:07:03 +00:00
|
|
|
|
1995-01-28 05:01:43 +00:00
|
|
|
device scd0 at isa? port 0x230 bio
|
|
|
|
|
1999-01-01 08:09:58 +00:00
|
|
|
# syscons is the default console driver, resembling an SCO console
|
1998-10-22 13:49:51 +00:00
|
|
|
device sc0 at isa? port IO_KBD conflicts tty irq 1
|
1999-01-01 08:09:58 +00:00
|
|
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
|
|
|
#device vt0 at isa? port IO_KBD conflicts tty irq 1
|
|
|
|
#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
|
1995-02-15 20:38:36 +00:00
|
|
|
|
1998-10-22 13:49:51 +00:00
|
|
|
device npx0 at isa? port IO_NPX irq 13
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1996-04-22 19:40:28 +00:00
|
|
|
#
|
|
|
|
# Laptop support (see LINT for more options)
|
|
|
|
#
|
1997-03-29 11:07:12 +00:00
|
|
|
device apm0 at isa? disable flags 0x31 # Advanced Power Management
|
|
|
|
|
1996-05-13 04:29:14 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
1997-10-26 04:36:24 +00:00
|
|
|
#controller card0
|
|
|
|
#device pcic0 at card?
|
|
|
|
#device pcic1 at card?
|
1996-04-22 19:40:28 +00:00
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
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
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
device lpt0 at isa? port? tty irq 7
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-10-22 13:49:51 +00:00
|
|
|
device psm0 at isa? port IO_KBD conflicts tty irq 12
|
1996-04-18 04:02:30 +00:00
|
|
|
|
1995-06-11 19:33:05 +00:00
|
|
|
# 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.
|
Add driver support (and man page) for PCI fast ethernet cards based
on the ASIX AX88140A chip. Update /sys/conf/files, RELNOTES.TXT,
/sys/i388/i386/userconfig.c, sysinstall/devices.c, GENERIC and LINT
accordingly.
For now, the only board that I know of that uses this chip is the
Alfa Inc. GFC2204. (Its predecessor, the GFC2202, was a DEC tulip card.)
Thanks again to Ulf for obtaining the board for me. If anyone runs
across another, please feel free to update the man page and/or the
release notes. (The same applies for the other drivers.)
FreeBSD should now have support for all of the DEC tulip workalike
chipsets currently on the market (Macronix, Lite-On, Winbond, ASIX).
And unless I'm mistaken, it should also have support for all PCI fast
ethernet chipsets in general (except maybe the SMC FEAST chip, which
nobody seems to ever use, including SMC). Now if only we could convince
3Com, Intel or whoever to cough up some documentation for gigabit
ethernet hardware.
Also updated RELNOTEX.TXT to mention that the SVEC PN102TX is supported
by the Macronix driver (assuming you actually have an SVEC PN102TX with
a Macronix chip on it; I tried to order a PN102TX once and got a box
labeled 'Hawking Technology PN102TX' that had a VIA Rhine board inside
it).
1999-01-09 18:12:08 +00:00
|
|
|
device ax0
|
1997-09-22 00:37:08 +00:00
|
|
|
device de0
|
|
|
|
device fxp0
|
An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.
if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
various other PNIC devices
if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
other boards based on the Macronix 98713, 98713A, 98715, 98715A
and 98725 chips
if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
Rhine II chips (note: the D-Link and certain other cards
that actually use a Rhine II chip still return the PCI
device ID of the Rhine I. I don't know why, and it doesn't
really matter since the driver treats both chips the same
anyway.)
if_wb.c: Trendware TE100-PCIE and various other cards based on the
Winbond W89C840F chip (the Trendware card is identical to
the sample boards Winbond sent me, so who knows how many
clones there are running around)
All drivers include support for ifmedia, BPF and hardware multicast
filtering.
Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.
I also have a driver for the ASIX AX88140A in the works.
1998-12-04 18:01:24 +00:00
|
|
|
device mx0
|
|
|
|
device pn0
|
1998-10-18 16:24:34 +00:00
|
|
|
device rl0
|
1998-05-21 03:22:20 +00:00
|
|
|
device tl0
|
1998-01-21 18:34:47 +00:00
|
|
|
device tx0
|
An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.
if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
various other PNIC devices
if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
other boards based on the Macronix 98713, 98713A, 98715, 98715A
and 98725 chips
if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
Rhine II chips (note: the D-Link and certain other cards
that actually use a Rhine II chip still return the PCI
device ID of the Rhine I. I don't know why, and it doesn't
really matter since the driver treats both chips the same
anyway.)
if_wb.c: Trendware TE100-PCIE and various other cards based on the
Winbond W89C840F chip (the Trendware card is identical to
the sample boards Winbond sent me, so who knows how many
clones there are running around)
All drivers include support for ifmedia, BPF and hardware multicast
filtering.
Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.
I also have a driver for the ASIX AX88140A in the works.
1998-12-04 18:01:24 +00:00
|
|
|
device vr0
|
1997-09-22 00:37:08 +00:00
|
|
|
device vx0
|
An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.
if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
various other PNIC devices
if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
other boards based on the Macronix 98713, 98713A, 98715, 98715A
and 98725 chips
if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
Rhine II chips (note: the D-Link and certain other cards
that actually use a Rhine II chip still return the PCI
device ID of the Rhine I. I don't know why, and it doesn't
really matter since the driver treats both chips the same
anyway.)
if_wb.c: Trendware TE100-PCIE and various other cards based on the
Winbond W89C840F chip (the Trendware card is identical to
the sample boards Winbond sent me, so who knows how many
clones there are running around)
All drivers include support for ifmedia, BPF and hardware multicast
filtering.
Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.
I also have a driver for the ASIX AX88140A in the works.
1998-12-04 18:01:24 +00:00
|
|
|
device wb0
|
1998-08-17 16:46:33 +00:00
|
|
|
device xl0
|
1996-03-20 10:42:56 +00:00
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
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 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 ?
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
pseudo-device ether
|
1995-02-09 11:21:07 +00:00
|
|
|
pseudo-device sl 1
|
1998-01-11 02:16:38 +00:00
|
|
|
pseudo-device ppp 1
|
1995-06-11 19:33:05 +00:00
|
|
|
pseudo-device tun 1
|
1994-10-17 21:10:20 +00:00
|
|
|
pseudo-device pty 16
|
|
|
|
pseudo-device gzip # Exec gzipped a.out's
|
1996-06-30 09:39:29 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
1997-07-15 04:04:45 +00:00
|
|
|
# This provides support for System V shared memory.
|
|
|
|
#
|
|
|
|
options SYSVSHM
|
1998-10-16 01:30:11 +00:00
|
|
|
|
1998-11-03 22:01:22 +00:00
|
|
|
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
|
1998-10-16 01:30:11 +00:00
|
|
|
# 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.
|
1998-11-03 22:01:22 +00:00
|
|
|
#pseudo-device bpfilter 4 #Berkeley packet filter
|
1998-11-26 23:13:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
# USB support
|
|
|
|
#controller uhci0
|
1998-12-09 23:28:43 +00:00
|
|
|
#controller ohci0
|
1998-11-26 23:13:13 +00:00
|
|
|
#controller usb0
|
|
|
|
#
|
|
|
|
# for the moment we have to specify the priorities of the device
|
|
|
|
# drivers explicitly by the ordering in the list below. This will
|
|
|
|
# be changed in the future.
|
|
|
|
#
|
|
|
|
#device ums0
|
|
|
|
#device ukbd0
|
|
|
|
#device ulpt0
|
|
|
|
#device uhub0
|
1998-12-13 23:04:35 +00:00
|
|
|
#device ucom0
|
|
|
|
#device umodem0
|
1998-11-26 23:13:13 +00:00
|
|
|
#device hid0
|
|
|
|
#device ugen0
|
1998-12-13 23:04:35 +00:00
|
|
|
|
1998-11-26 23:13:13 +00:00
|
|
|
#
|
|
|
|
#options USB_DEBUG
|
|
|
|
#options USBVERBOSE
|