summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Reserve character major 104 for the CAM Transport Layer Services device.gibbs1998-09-091-1/+2
|
* Add a new library function getobjformat(). It checks all thejdp1998-09-091-1/+12
| | | | | | | | | | | | | standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an indication of the user's preferred object file format. This consolidates some code that was starting to be duplicated in more and more places. Use the new function in ldconfig. Note: I don't think that gcc should use getobjformat(), even though it could. The compiler should limit itself to functions that are widespread, to ease porting and cross-compilation.
* Add new atapi-cd driver that supports atapi CD-R/RW drives.sos1998-09-0810-22/+3949
| | | | This is only a stop-gab solution to get atapi burner support into 3.0.
* Make PCIC_RESUME_RESET an proper option.brian1998-09-084-4/+14
| | | | | | My laptop (a CTX Cybernote) needs this. It claims to have a PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
* fix a problem with our definition of SNDCTL_DSP_GETBLKSIZE, to letluigi1998-09-081-0/+2
| | | | the FreeBSD x11amp work (same as in -stable)
* Make profiling work for ELF. gprof now autodetects the format ofjdp1998-09-071-1/+5
| | | | | | | | | | | the executable file, so it will work for both a.out and ELF format files. I have split the object format specific code into separate source files. It's cleaner than it was before, but it's still pretty crufty. Don't cheat on your make world for this update. A lot of things have to be rebuilt for it to work, including the compiler and all of the profiled libraries.
* Add entries for xl0, tlc0 and adv0. Some of these aren't evenjkh1998-09-071-2/+5
| | | | in LINT!
* Don't go below the low water mark of free pages due to optional prefaultingtegge1998-09-061-1/+10
| | | | | of pages. PR: 2431
* Maintain a mapping from irq number to (ioapic number, int pin) tuple,tegge1998-09-0615-156/+468
| | | | | | | | | | | | and use this when masking/unmasking interrupts. Maintain a mapping from (iopaic number, int pin) tuple to irq number, and use this when configuring devices and programming the ioapics. Previous code assumed that irq number was equal to int pin number, and that the ioapic number was 0. Don't let an AP enter _cpu_switch before all local apics are initialized.
* Make irq forwarding truely functional.luoqi1998-09-042-22/+2
|
* Increase 'maxusers' to 32; with the number of people using GENERIC asmsmith1998-09-041-2/+2
| | | | | | | their one-size-fits-all kernel, this should help reduce the "out of foo" reports. Reviewed by: jkh
* PAGE_WAKEUP -> vm_page_wakeupache1998-09-041-7/+7
|
* pcf.c added, support for the Philips PCF8584 I2C bus controllernsouch1998-09-041-1/+2
| | | | (this is part of the iicbus system)
* Reviewed by: Doug Rabsonnsouch1998-09-032-1/+609
| | | | | Submitted by: nsouch Philips PCF8584 chipset support. Chipset controller for the I2C bus.
* Reviewed by: Doug Rabsonnsouch1998-09-032-0/+103
| | | | | Submitted by: nsouch I2C and SMB ioctls
* Reviewed by: Doug Rabsonnsouch1998-09-031-1/+6
| | | | | Submitted by: nsouch root_bus_configure() call to initialize new bus arch in i386 env.
* Reviewed by: Doug Rabsonnsouch1998-09-033-4/+76
| | | | | Submitted by: nsouch Adding I2C and SMB entries to LINT, CONFIGVERS modified in Makefile.i386
* printing with compatible mode fixed if ECP available + more verbose if ↵nsouch1998-09-021-43/+163
| | | | bootverbose set
* - Fix style bug.kato1998-09-011-3/+3
| | | | | | - hw.ispc98 -> machdep.ispc98. Submitted by: Garrett Wollman (hw -> machdep)
* Change BINFORMAT to KERNFORMAT and add -aout or -elf to the tooljb1998-09-011-17/+25
| | | | | | arguments as appropriate. This is necessary because setting OBJFORMAT=aout in the makefile doesn't get exported to the environment. I wish our make could do that!
* Renamed BT848[SG]CAPAREA to BT848_[SG]CAPAREA.sos1998-08-311-2/+2
| | | | | | | | | | | Added PR kern/7177 for SECAM Video Highway Xtreme with single crystal PLL configuration submitted by Vsevolod Lobko <seva@alex-ua.com>. In kernel configuration file add options OVERRIDE_CARD=2 options OVERRIDE_TUNER=11 options BKTR_USE_PLL Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Added Capture Area ioctl - BT848[SG]CAPAREA.sos1998-08-311-0/+15
| | | | | | | | | Normally the full 640x480 (768x576 PAL) image is grabbed. This ioctl allows a smaller area from anywhere within the video image to be grabbed, eg a 400x300 image from (50,10). See restrictions in BT848SCAPAREA. Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
* Use 16bit register in inline asm code to set segment registers.luoqi1998-08-311-3/+3
|
* Force OBJFORMAT=aout.jb1998-08-311-1/+2
|
* Argh! *Now* the correct 3.0 fix is committed.jkh1998-08-311-7/+7
|
* Whoops! Stamp out a 2.2-ism that snuck between branches here.jkh1998-08-311-2/+2
|
* - hw.machine_arch returns cpu architecture type.kato1998-08-313-15/+12
| | | | | | | | | - moved definition of MACHINE_ARCH from cpu.h to parm.h as alpha. - Added definitions of _MACHINE and _MACHINE_ARCH. - Added hw.ispc98. The hw.ispc98 is 1 in PC98 kernel and is 0 in IBM-PC kernel. Discussed with: John Birrell <jb@FreeBSD.ORG>
* Initial support for using linux X servers under emulation - to use anjkh1998-08-312-5/+51
| | | | | | | | | | | | | | | | XFree86 server, users need to create the following links in their /compat/linux/dev directory (assuming kernel configured with 4 VTs). lrwxrwxrwx 1 root wheel 7 Aug 30 22:59 tty0 -> console lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty1 -> ttyv0 lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty2 -> ttyv1 lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty3 -> ttyv2 lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty4 -> ttyv3 VT switching is still not yet supported. Attempting to switch VT currently will cause Xserver bus error. Submitted by: Chain Lee <chain@110.net>
* The aout->elf transition build from a 2.2.5/6/7 system requires thatjb1998-08-301-0/+176
| | | | | | | | | | | | | | | a kernel be built and installed at just the right time. If the system were to be rebooted after installing the 3.0 binaries without the new kernel, the system is hosed. The addition of this config file reserves the name of the config file that the upgrade procedure uses. If an upgrade is to be performed on a 2.2.5/6/7 system system for which a GENERIC kernel is inadequate, this config file must be replace with a suitable one before performing the upgrade. On systems which report 'uname -r' as 3.0-CURRENT, the kernel build is not performed and this file is ignored.
* Enable duplex autodetection if UTP media are autodetected.msmith1998-08-271-11/+12
| | | | | | | | | Add a sysctl 'machdep.cs_recv_delay' to specify how long to wait after receiving a packet in order to check for a subsequent (back-to-back) packet. The cs8900 has a very small receive buffer, so this helps avoid overflows at the cost of some extra CPU overhead. Submitted by: Oleg Sharoiko <os@rsu.ru>, MIHIRA "Sanpei" Yoshiro <sanpei@sanpei.org>
* Add CFS options to LINT, though commented out for now.jkh1998-08-272-2/+10
| | | | Submitted by: Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
* NULLFS_DIAGNOSTICS and PCVT_SCANSET=2 listed twice.obrien1998-08-272-6/+2
|
* New major number for SR4 streams emulation.msmith1998-08-241-1/+2
|
* Change various syscalls to use size_t arguments instead of u_int.dfr1998-08-241-0/+58
| | | | | | | | | | Add some overflow checks to read/write (from bde). Change all modifications to vm_page::flags, vm_page::busy, vm_object::flags and vm_object::paging_in_progress to use operations which are not interruptable. Reviewed by: Bruce Evans <bde@zeta.org.au>
* Use a relative path to bsd.kern.mk if the relative mk directory exists.bde1998-08-241-1/+5
|
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-2415-68/+90
|
* remove bdevsw arg from dsopen();phk1998-08-232-5/+4
| | | | | Forgotten by: julian Reviewed by: bde
* Don't check minor number of dump device at all.des1998-08-231-5/+1
| | | | Discussed-with: Jörg Wunsch
* Fixed printf format errors.bde1998-08-233-6/+6
|
* Fixed printf format errors. `struct eisa_device' uses a strange typebde1998-08-231-8/+8
| | | | for the unit number (like most SCSI drivers).
* Fixed printf format errors.bde1998-08-232-37/+47
| | | | | | | Fixed style bugs in the int to u_long ioctl command arg changes. This driver doesn't use the u_foo BSDism. Don't smash ioctl command args back to int.
* Added D_TTY to the cdevswitch flags for all tty drivers. This is requiredbde1998-08-2311-76/+87
| | | | | | | | | for the Lite2 fix for always returning EIO in dead_read(). Cleaned up the cdevswitch initializers for all tty drivers. Removed explicit calls to ttsetwater() from all (tty) drivers. ttsetwater() is now called centrally for opens, not just for parameter changes.
* Removed cxpoll(). Just use ttpoll() like all other tty drivers. It'sbde1998-08-231-11/+1
| | | | | equivalent except for the bad-minor-number case (which probably can't happen).
* A better fix for kern/7144:msmith1998-08-201-36/+28
| | | | | | | | | | | | | | | | | | | | | The check for dropping unicast packets not sent to our ethernet address is after the bpf tap, but not conditioned on it. All packets received should get handed to bpf, and unicast packets not to us (mac) should get dropped whether or not there is a bpf listener. I believe that the common optimization that the interface is in hw promisc mode iff there is a bpf listener is in general wrong, but more frequently so on wavelans. I think Max's fix makes bpf listeners not see unicast packets sent to others, but I'm not sure. One can argue that checking on MOD_ENAL is wrong, but the code only drops packets that shouldn't be received. The correctness condition is that it be run whenever unicast packets without our mac address can be received. PR: kern/7144 Submitted by: Greg Troxel <gdt@ir.bbn.com>
* Fixed bogus spelling `nx*' of some `no*' devswitch functions.bde1998-08-202-4/+4
|
* Fixed devfs initialization which I broke in the previous commit.bde1998-08-201-10/+10
| | | | Fixed an old name and disorder in the sio dictionary.
* Fixed devfs initialization which I broke in the previous commit.bde1998-08-201-7/+7
|
* Enabled dynamically sized tty input buffers (with enough bufferingbde1998-08-192-18/+20
| | | | | | | | | | | | for 1 second's worth of input) and larger tty output buffers. The interrupt-level buffers are still too small for speeds above 115200 bps (only a little too small for 230400 bps if RTS flow control is enabled). Don't call ttsetwater() explicitly in open(). It is now called for the TTYDISC l_open() and should be static. Don't attempt to register the cdevsw more than once.
* Correct handling of ASCII DEL (0x7F).jkoshy1998-08-191-4/+6
| | | | | | | | | | | | I don't have access to a real VT220 to verify this against. However, I'm committing the patch in `good faith' because (a) getting hold of a real VT220 is going to be increasingly difficult the longer the PR sits around, (b) some one was troubled enough to in a PR and (c) the fix is minor and has no other implications. PR: 7559 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Correct glyph displayed by PCVT in ISO Latin-1 mode.jkoshy1998-08-191-1/+1
| | | | | PR: 7610 Submitted-by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
OpenPOWER on IntegriCloud