summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf
Commit message (Collapse)AuthorAgeFilesLines
* Add sysctl variables for the Linuxulator. These reside under `compat.linux' asmarcel1999-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | discussed on current. The following variables are defined (for now): osname (defaults to "Linux") Allow users to change the name of the OS as returned by uname(2), specially added for all those Linux Netscape users and statistics maniacs :-) We now have what we all wanted! osrelease (defaults to "2.2.5") Allow users to change the version of the OS as returned by uname(2). Since -current supports glibc2.1 now, change the default to 2.2.5 (was 2.0.36). oss_version (defaults to 198144 [0x030600]) This one will be used by the OSS_GETVERSION ioctl (PR 12917) which I can commit now that we have the MIB. The default version number is the lowest version possible with the current 'encoding'. A note about imprisoned processes (see jail(2)): These variables are copy-on-write (as suggested by phk). This means that imprisoned processes will use the system wide value unless it is written/set by the process. From that moment on, a copy local to the prison will be used. A note about the implementation: I choose to add a single pointer to struct prison, because I didn't like the idea of changing struct prison every time I come up with a new variable. As a side effect, the extra storage is only needed when a variable is set from within the prison. This also minimizes kernel bloat when the Linuxulator is not used; both compiled in or as a module. Reviewed by: bde (first version only) and phk
* This commit adds device driver support for the Sundance Technologies ST201wpaul1999-08-213-3/+15
| | | | | | | | | | | | | PCI fast ethernet controller. Currently, the only card I know that uses this chip is the D-Link DFE-550TX. (Don't ask me where to buy these: the only cards I have are samples sent to me by D-Link.) This driver is the first to make use of the miibus code once I'm sure it all works together nicely, I'll start converting the other drivers. The Sundance chip is a clone of the 3Com 3c90x Etherlink XL design only with its own register layout. Support is provided for ifmedia, hardware multicast filtering, bridging and promiscuous mode.
* This commit adds support for the NetBSD MII abstraction layer andwpaul1999-08-212-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MII-compliant PHY drivers. Many 10/100 ethernet NICs available today either use an MII transceiver or have built-in transceivers that can be programmed using an MII interface. It makes sense then to separate this support out into common code instead of duplicating it in all of the NIC drivers. The mii code also handles all of the media detection, selection and reporting via the ifmedia interface. This is basically the same code from NetBSD's /sys/dev/mii, except it's been adapted to FreeBSD's bus architecture. The advantage to this is that it automatically allows everything to be turned into a loadable module. There are some common functions for use in drivers once an miibus has been attached (mii_mediachg(), mii_pollstat(), mii_tick()) as well as individual PHY drivers. There is also a generic driver for all PHYs that aren't handled by a specific driver. It's possible to do this because all 10/100 PHYs implement the same general register set in addition to their vendor-specific register sets, so for the most part you can use one driver for pretty much any PHY. There are a couple of oddball exceptions though, hence the need to have specific drivers. There are two layers: the generic "miibus" layer and the PHY driver layer. The drivers are child devices of "miibus" and the "miibus" is a child of a given NIC driver. The "miibus" code and the PHY drivers can actually be compiled and kldoaded as completely separate modules or compiled together into one module. For the moment I'm using the latter approach since the code is relatively small. Currently there are only three PHY drivers here: the generic driver, the built-in 3Com XL driver and the NS DP83840 driver. I'll be adding others later as I convert various NIC drivers to use this code. I realize that I'm cvs adding this stuff instead of importing it onto a separate vendor branch, but in my opinion the import approach doesn't really offer any significant advantage: I'm going to be maintaining this stuff and writing my own PHY drivers one way or the other.
* Fix short timeout problems with the pt(4) driver:ken1999-08-202-2/+10
| | | | | | | | | | | | | - increase the default timeout from 10 seconds to 60 seconds - add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify the default timeout for the pt driver to use - add two new ioctls, one to get the timeout for a given pt device, the other to set the timeout for a given pt device. The idea is that userland applications using the device can set the timeout to suit their purposes. The ioctls are defined in a new header file, sys/ptio.h PR: 10266 Reviewed by: gibbs, joerg
* The "LINUX" option isn't actually used or referenced anywhere. The stuffpeter1999-08-181-2/+1
| | | | | | | that goes to opt_dontuse.h is so an opt_*.h file doesn't get created even though an option may be used for bringing stuff in via files[.*]. Pointed out by: bde
* Create callable (non-inline) versions of the atomic_OP_TYPE functionsalc1999-08-181-1/+3
| | | | | | | | | | | | that are linked into the kernel. The KLD compilation options are changed to call these functions, rather than in-lining the atomic operations. This approach makes atomic operations from KLDs significantly faster on UP systems (though somewhat slower on SMP systems). PR: i386/13111 Submitted by: peter.jeremy@alcatel.com.au
* Give if_tun the "almost clone" makeover.phk1999-08-154-8/+8
|
* Give BPF the "almost-clone" update. If you need more of them, makephk1999-08-154-8/+8
| | | | | more entries in /dev and be happy you don't need to recompile your kernel.
* Reserve bdev/cdev entries for i2o driver.jkh1999-08-111-1/+3
| | | | Requested by: Simon Shapiro
* Merge the cons.c and cons.h to the best of my ability. alpha may orphk1999-08-091-2/+1
| | | | may not compile, I can't test it.
* Make the pty driver as close to a cloning device as we can get for now,phk1999-08-084-10/+10
| | | | | | | | | 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.
* Fix a reference to `st' by replacing it with `sa'.chris1999-08-082-4/+4
|
* Re-delete the (meaningless) device-driver tokens that came back in 1.256peter1999-08-071-29/+29
| | | | | | after having been removed in 1.253 and turned into a warning. Noticed by: bde
* Enable bpf by default. There was no significant dissention to my proposaljkh1999-08-071-3/+3
| | | | | | of 2 weeks ago that this be done, and anyone who wishes to make bpf more selective according to securelevel or compile-time options is more than free to do so.
* Add driver support for M-systems DiskOnChip Products.phk1999-08-062-2/+8
| | | | Sponsored by: M-systems Inc. http://www.m-sys.com
* updating isdn4bsd to beta version 0.83hm1999-08-064-32/+64
|
* The ARLA folks don't need a bdev after all - remove it.jkh1999-08-041-2/+1
|
* Correction: "ans" -> "and."green1999-08-042-4/+4
|
* Reserve majors for arla.jkh1999-07-311-1/+3
|
* Major update to the kernel's BIOS-calling ability.msmith1999-07-291-2/+1
| | | | | | | | | - Add support for calling 32-bit code in other segments - Add support for calling 16-bit protected mode code Update APM to use this facility. Submitted by: jlemon
* Pave the way for the fla driver.phk1999-07-261-2/+7
|
* Various formatting fixes on my FPE trapcode commit.cracauer1999-07-262-12/+8
| | | | Submitted by: BDE
* On FPU exceptions, pass a useful error code (one of the FPE_...cracauer1999-07-252-16/+28
| | | | | | | | | | | | | | | | macros) to the signal handler, for old-style BSD signal handlers as the second (int) argument, for SA_SIGINFO signal handlers as siginfo_t->si_code. This is source-compatible with Solaris, except that we have no <siginfo.h> (which isn't even mentioned in POSIX 1003.1b). An rather complete example program is at http://www3.cons.org/cracauer/freebsd-signal.c This will be added to the regression tests in src/. This commit also adds code to disable the (hardware) FPU from userconfig, so that you can use a software FP emulator on a machine that has hardware floating point. See LINT.
* This commit adds device driver support for Adaptec Duralink PCI fastwpaul1999-07-253-3/+18
| | | | | | | | | | | | | | | | | | | | | ethernet controllers based on the AIC-6915 "Starfire" controller chip. There are single port, dual port and quad port cards, plus one 100baseFX card. All are 64-bit PCI devices, except one single port model. The Starfire would be a very nice chip were it not for the fact that receive buffers have to be longword aligned. This requires buffer copying in order to achieve proper payload alignment on the alpha. Payload alignment is enforced on both the alpha and x86 platforms. The Starfire has several different DMA descriptor formats and transfer mechanisms. This driver uses frame descriptors for transmission which can address up to 14 packet fragments, and a single fragment descriptor for receive. It also uses the producer/consumer model and completion queues for both transmit and receive. The transmit ring has 128 descriptors and the receive ring has 256. This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus so that it can be compiled as a loadable kernel module. Support for BPF and hardware multicast filtering is included.
* Sync with GENERIC (place of xe0 driver)hosokawa1999-07-191-2/+3
|
* Move the xe0 driver back where it was. It was misleading where it was as itobrien1999-07-131-2/+3
| | | | | does not take over the PCIC, it does require PCCARD support, and it doesn't replace any existing driver.
* This commit adds driver support for the SysKonnect SK-984x serieswpaul1999-07-092-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gigabit ethernet adapters. This includes two single port cards (single mode and multimode fiber) and two dual port cards (also single mode and multimode fiber). SysKonnect is currently the only vendor with a dual port gigabit ethernet NIC. The ports on dual port adapters are treated as separate network interfaces. Thus, if you have an SK-9844 dual port SX card, you should have both sk0 and sk1 interfaces attached. Dual port cards are implemented using two XMAC II chips connected to a single SysKonnect GEnesis controller. Hence, dual port cards are really one PCI device, as opposed to two separate PCI devices connected through a PCI to PCI bridge. Note that SysKonnect's drivers use the two ports for failover purposes rather that as two separate interfaces, plus they don't support jumbo frames. This applies to their Linux driver too. :) Support is provided for hardware multicast filtering, BPF and jumbo frames. The SysKonnect cards support TCP checksum offload however this feature is not currently enabled (hopefully it will be once we get checksum offload support). There are still a few things that need to be implemeted, like the ability to communicate with the on-board LM80 voltage/temperature monitor, but I wanted to get the driver under CVS control and into -current so people could bang on it. A big thanks for SysKonnect for making all their programming info for these cards (and for their FDDI and token ring cards) available without NDA (see www.syskonnect.com).
* Rename bpfilter to bpf.des1999-07-064-16/+16
|
* The IDA driver is 'ida', not 'id'msmith1999-07-051-3/+3
|
* Update comment for new location of soft-updates sources.jdp1999-07-032-4/+4
|
* Delete the 'device-driver' suffix. It's been meaningless for a long time.peter1999-07-032-219/+215
| | | | | | On the VAX, it used to be used for special compilation to avoid the optimizer which would mess with memory mapped devices etc. These days we use 'volatile'.
* Only have the pci component compiled if pci is specified at config.peter1999-07-031-3/+3
| | | | Remove #if NPCI > 0 as a result.
* Move bt_isa.c to the cpu-independent isa section.peter1999-07-031-2/+1
|
* Sync with GENERIC.. (Gee, this is a useful file..)peter1999-07-021-118/+108
|
* Working kernel tags!jkh1999-07-021-2/+5
| | | | | Submitted by: Craig Leres <leres@ee.lbl.gov> PR: 2806
* 127 fire Firewire driver <ikob@koganei.wide.ad.jp>jkh1999-07-021-1/+2
|
* Remove the now-bogus comment about using iosiz with npx0 for memoryjkh1999-07-012-24/+4
| | | | sizing - environment does this properly now. Thanks, Peter!
* sscape_mss is supposed to work..peter1999-06-291-1/+2
|
* Drop old-scsi drivers (was commented out) od0 and (not commented) sctarg0peter1999-06-292-6/+2
|
* Correct spelling of NMBCLUSTERS in a comment.mph1999-06-292-4/+4
| | | | Submitted by: Peter Radcliffe <pir@pir.net>
* With asbestos suit on, make the options indenting a little more consistantpeter1999-06-292-578/+578
| | | | | so that it doesn't screw up the alignment when commenting out an entry. Also dequote two entries that do not need it.
* Put on my asbestos suit and attempt to tidy up and add some simple docspeter1999-06-291-118/+108
| | | | | or notes to make it much more obvious what things are for people who have not committed LINT to memory yet.
* (mostly) fix ordering.peter1999-06-291-152/+151
|
* Use the same -UKERNEL strategy as the alpha to avoid the inlines etc.peter1999-06-281-2/+2
|
* Hmm, might as well make all of BEFORE_DEPEND first in case make dependphk1999-06-281-2/+2
| | | | wasn't run.
* Also make pci_if.h early if make depend wasn't run.phk1999-06-281-2/+2
|
* Make bus_if.h and device_if.h as early as possible if make depend hasn'tphk1999-06-281-2/+2
| | | | been run.
* add description of Qlogic ISP FC Full Duplex optionmjacob1999-06-272-2/+14
|
* Add ida/id linesjlemon1999-06-242-2/+20
|
* The second phase of syscons reorganization.yokota1999-06-224-31/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split syscons source code into manageable chunks and reorganize some of complicated functions. - Many static variables are moved to the softc structure. - Added a new key function, PREV. When this key is pressed, the vty immediately before the current vty will become foreground. Analogue to PREV, which is usually assigned to the PrntScrn key. PR: kern/10113 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> - Modified the kernel console input function sccngetc() so that it handles function keys properly. - Reorganized the screen update routine. - VT switching code is reorganized. It now should be slightly more robust than before. - Added the DEVICE_RESUME function so that syscons no longer hooks the APM resume event directly. - New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING, SC_NO_HISTORY and SC_NO_SYSMOUSE. Various parts of syscons can be omitted so that the kernel size is reduced. SC_PIXEL_MODE Made the VESA 800x600 mode an option, rather than a standard part of syscons. SC_DISABLE_DDBKEY Disables the `debug' key combination. SC_ALT_MOUSE_IMAGE Inverse the character cell at the mouse cursor position in the text console, rather than drawing an arrow on the screen. Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG) SC_DFLT_FONT makeoptions "SC_DFLT_FONT=_font_name_" Include the named font as the default font of syscons. 16-line, 14-line and 8-line font data will be compiled in. This option replaces the existing STD8X16FONT option, which loads 16-line font data only. - The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c. - The video driver provides a set of ioctl commands to manipulate the frame buffer. - New kernel configuration option: VGA_WIDTH90 Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60. These modes are mot always supported by the video card. PR: i386/7510 Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx. - The header file machine/console.h is reorganized; its contents is now split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h (another new file). machine/console.h is still maintained for compatibility reasons. - Kernel console selection/installation routines are fixed and slightly rebumped so that it should now be possible to switch between the interanl kernel console (sc or vt) and a remote kernel console (sio) again, as it was in 2.x, 3.0 and 3.1. - Screen savers and splash screen decoders Because of the header file reorganization described above, screen savers and splash screen decoders are slightly modified. After this update, /sys/modules/syscons/saver.h is no longer necessary and is removed.
OpenPOWER on IntegriCloud