summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Save %gs in sigcontext when delivering a signal and restore them uponluoqi1999-09-073-4/+10
| | | | | | | return (in signal trampoline code). I plan to do the same on -stable, so that we have a consistent interface to userland applications. Reviewed by: bde
* Doug missed an isa_get_flags().peter1999-09-071-1/+1
|
* Change isa_get/set_flags() to device_get/set_flags().dfr1999-09-072-10/+5
|
* Update for newpcm.dfr1999-09-062-2/+10
|
* Repo copy isa/sio* to dev/sio/sio* in preperation for extra bus methodspeter1999-09-061-1/+0
| | | | | including pci. Also, eliminate NSIOTOT and do it dynamically where it matters.
* Add id_iosize as used by pccard.peter1999-09-061-0/+1
|
* Add pccard child to nexus. A better version would take care of thisimp1999-09-062-0/+10
| | | | | | with an identify method, but that has not been implemented. Forgotten by: imp
* This commit adds driver support for PCI fast ethernet NICs based onwpaul1999-09-064-0/+12
| | | | | | | | | | | | | | | | the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation XPressNet. Datasheet is available from www.davicom8.com. The DM910x chips are still more tulip clones. The API is reproduced pretty faithfully, unfortunately the performance is pretty bad. The transmitter seems to have a lot of problems DMAing multi-fragment packets. The only way to make it work reliably is to coalesce transmitted packets into a single contiguous buffer. The Linux driver (written by Davicom) actually does something similar to this. I can't recomment this NIC as anything more than a "connectivity solution." This driver uses newbus and miibus and is supported on both i386 and alpha platforms.
* This commit adds driver support for the Silicon Integrated Systemswpaul1999-09-054-1/+15
| | | | | | | | | | | | SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the SiS chips can be found at www.sis.com.tw. This is a fairly simple chipset. The receiver uses a 128-bit multicast hash table and single perfect entry for the station address. Transmit and receive DMA and FIFO thresholds are easily tuneable. Documentation is pretty decent and performance is not bad, even on my crufty 486. This driver uses newbus and miibus and is supported on both the i386 and alpha architectures.
* Set up FPU state on the AP.peter1999-09-053-0/+12
| | | | Tested by: phk
* Temporarily disable k6_mem (k6 write combining) at Brian's request sincepeter1999-09-051-1/+1
| | | | it appears to be causing problems under XFree3.9.16.
* M_WAITOK->M_NOWAITgreen1999-09-051-1/+3
|
* $Id$ -> $FreeBSD$peter1999-09-051-1/+1
|
* Don't install stubs, make a compat symlink at buildworld time.peter1999-09-041-6/+0
| | | | All internal references to <machine/soundcard.h> are (hopefully :-) gone.
* machine/soundcard.h is now in the standard location - sys/soundcard.hpeter1999-09-043-3/+3
|
* Make <machine/soundcard.h> a stub which includes <sys/soundcard.h>dfr1999-09-041-1362/+4
|
* <machine/soundcard.h> -> <sys/soundcard.h>, since it's an exported APIpeter1999-09-041-1/+1
| | | | that's arch neutral and OSS API and Linux API compatable.
* Removed defunct option NULLFS_DIAGNOSTIC.bde1999-09-042-6/+0
|
* if_ed doesn't use the wrappers anymore.peter1999-09-031-5/+0
|
* Commit a checkpoint of an updated if_ed driver. This is pretty muchpeter1999-09-031-394/+470
| | | | | | Doug Rabson's work, with a few tweaks from Warner Losh and I. There are still some quirks to resolve, but the old driver is presently breaking the build.
* I missed the namechange of field desc in struct i386_ldt_args into descs whilemarcel1999-09-031-2/+2
| | | | | | reviewing luoqi's changes... Pointed out by: luoqi
* Revert a bunch of contraversial changes by PHK. Afterjulian1999-09-032-6/+0
| | | | | | | | | | a quick think and discussion among various people some form of some of these changes will probably be recommitted. The reversion requested was requested by dg while discussions proceed. PHK has indicated that he can live with this, and it has been agreed that some form of some of these changes may return shortly after further discussion.
* remove some out-of-scope DEVFS references..julian1999-09-031-1/+1
| | | | (don't worry greg.. cosmetic only)
* SYSINIT() needs sys/kernel.h. Include it.mdodd1999-09-032-4/+6
|
* This adds the i386 specific support for systems with a MicroChannelmdodd1999-09-0311-4/+469
| | | | | | Architecture bus. Reviewed by: msmith
* Implementation of the modify_ldt syscall. Use the sysarch() interface to domarcel1999-09-022-1/+84
| | | | | | | the actual work. When USER_LDT is not defined for a kernel, sysarch returns EOPNOTSUPP. Display a message in that case and return ENOSYS to userland. Reviewed by: luoqi
* Some reorganization of sysarch() interface:luoqi1999-09-024-36/+28
| | | | | | | | | | 1. Move definitions of struct i386_*_args to the header file sysarch.h, since they are part of the sysarch API. struct i386_get_ldt_args and i386_set_ldt_args were identical, therefore make them into one struct i386_ldt_args. Libc should use these definitions as well. 2. Return a more sensible EOPNOTSUPP for unknown operations. Reviewed by: marcel
* - Added new macros ED_P1_MAR(i) and ED_P1_PAR(i) that replacekato1999-09-022-6/+9
| | | | | | | | `ED_P1_MAR + i' and `ED_P1_PAR + i', respectively. - convert ED_PC_RESET and ED_PC_MISC into relative offset from ED_PC_ASIC_OFFSET (those macros are not used in current source). Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* The ed_probe_Novell should not clear id_maddr when it fails to probe.kato1999-09-021-2/+6
| | | | | | This fixes potential panic by kvtop at addr == 0. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Do not call the VESA BIOS if the current video mode is not one ofyokota1999-09-021-0/+6
| | | | the VESA modes.
* Update for new pnp includespeter1999-09-021-4/+3
|
* So that there is no confusion, zap these now. pnpinfo(8) should compilepeter1999-09-022-964/+0
| | | | with the new includes.
* Stub out the old pnp code till these are converted so GENERIC builds again.peter1999-09-022-2/+4
|
* This is part of an untested set of changes to the ed driver to supportdfr1999-09-011-0/+90
| | | | | | the new PnP code. Since the bulk of the driver changes are not being committed at this time, it will not affect the driver. The code is being committed early to allow others synchronise changes.
* This represents essentially a complete rewrite of the ISA PnP code. Thedfr1999-09-014-23/+8
| | | | | | | | new system is integrated with the ISA bus code more cleanly and allows the future addition of more enumerators such as PnPBIOS and ACPI. This commit also enables the new pcm driver since it is somewhat tied to the new PnP code.
* quoted string change: the si driver also covers the Specialix "SX"nsayer1999-09-011-1/+1
| | | | product.
* Set si_bsize_phys and si_bsize_max in all legacy CD drivers.phk1999-09-015-0/+10
|
* Try to win back the "removal of most crufty code" trophy from markm:phk1999-09-013-104/+33
| | | | | | | | | Remove WD formatting code which has never worked in 386bsd or FreeBSD. Remove DIOCSSTEP and DIOCSRETRIES ioctls as well, they belong in history, along with the SMD disks. OK'ed by: bde
* Try and commit the tun comment fix again; I have no idea why therejkh1999-09-011-1/+1
| | | | | was a clash the last time, leading me to think that it had already been fixed.
* Eliminate some magic numbers.peter1999-09-011-4/+4
|
* ppp(1) -> ppp(8)brian1999-09-011-1/+1
|
* Make buffered acces to bdevs from userland controllable withphk1999-08-312-2/+2
| | | | a sysctl vfs.bdev_access.
* C-NET(9N)C support (PC-98 only).nyan1999-08-311-13/+42
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Make the error return from mem_range_attr_get actually do something usefulmsmith1999-08-311-3/+5
| | | | (return an error to the caller)
* Check that there is memory range support before attempting to perform suchmsmith1999-08-301-2/+14
| | | | | | | | | | an operation, as a kernel client may not have previously checked the CPU type (it may not be able to). Also correct the function declaration style for the mem_range functions to match the rest of this file (oops). Submitted by: gibbs
* Null commit to get last commit message recorded:phk1999-08-301-0/+1
| | | | Avoid name clash with dev_t member si_tty.
* *** empty log message ***phk1999-08-301-2/+2
|
* Wrong sleep addr passed to wakeup.luoqi1999-08-301-1/+1
| | | | Submitted by: Vsevolod Lobko seva@sevasoft.alex-ua.com
* Make bdev userland access work like cdev userland access unlessphk1999-08-302-0/+6
| | | | | | | | | | the highly non-recommended option ALLOW_BDEV_ACCESS is used. (bdev access is evil because you don't get write errors reported.) Kill si_bsize_best before it kills Matt :-) Use the specfs routines rather having cloned copies in devfs.
* Converted the silly SAFTEY option into a new-style option by renaming it tobde1999-08-302-12/+0
| | | | | | DIAGNOSTIC. Fixed an English style bug in the panic messages controlled by SAFETY.
OpenPOWER on IntegriCloud