summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Silence warnings.eivind1999-01-1210-22/+37
|
* Clean up warnings; a couple of these came because of genuine errors ineivind1999-01-121-4/+6
| | | | | parameter passing (passing a pointer to u_short where a pointer to int is expected), for which the bugs have been fixed.
* Silence warnings.eivind1999-01-125-12/+16
|
* Silence warnings by removing unused convenience function andeivind1999-01-121-16/+3
| | | | globalizing debugging functions.
* Add support for the Cyrix Cx5530 PCI/ISA bridge which also includesjulian1999-01-111-3/+2
| | | | a PCI UDMA IDE controller.
* SLOW_VGA -> VGA_SLOW_IOACCESS here, too.eivind1999-01-112-4/+4
|
* Fix linux sendmsg() emulationmsmith1999-01-111-2/+35
| | | | Submitted by: Brian Feldman <green@unixhelp.org>
* Don't refer to i386/isa/kbdio.h anymore. Use dev/kbd/atkbdcreg.h instead.yokota1999-01-111-2/+3
|
* The first stage of console driver reorganization: activate newyokota1999-01-1112-463/+615
| | | | | | | | | | | | | keyboard and video card drivers. Because of the changes, you are required to update your kernel configuration file now! The files in sys/dev/syscons are still i386-specific (but less so than before), and won't compile for alpha and PC98 yet. syscons still directly accesses the video card registers here and there; this will be rectified in the later stages.
* Added file handling to ulpt (USB printer) drivern_hibma1999-01-111-1/+2
|
* Use truncate() instead of otruncate() - step on the way to stoppingeivind1999-01-101-3/+3
| | | | the linulator from depending on COMPAT_43.
* Forgotten options needed to build last ppbus commit.nsouch1999-01-101-1/+3
| | | | Submitted by: "D. Rock" <rock@wurzelausix.CS.Uni-SB.DE>
* Fix broken low level ppb_rxxx() return type: char becomes u_char.nsouch1999-01-102-18/+18
| | | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Some ppb bootup printfs simplified.
* Major ppbus commit with:nsouch1999-01-102-52/+486
| | | | | | | | | | | | | | | | | | | + ECP parallel port chipset FIFO detection + DMA+FIFO parallel I/O handled as chipset specific + nlpt updated in order to use the above enhanced parallel I/O. Use 'lptcontrol -e' to use enhanced I/O + Various options documented in LINT + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for an overview of the IEEE1284 standard + Detection of PnP parallel devices at boot + Read capability added to nlpt driver to get IEEE1284 compliant printer status with a simple 'cat /dev/lpt0' + IEEE1284 peripheral emulation added to BYTE mode. Two computers may dialog according to IEEE1284 signaling method. See PERIPH_1284 option and /sys/dev/ppbus/ppi.c All this code is supposed to provide basic functions for IEEE1284 programming. ppi.c and nlpt.c may act as examples.
* Back out last change to sysctl.phk1999-01-102-6/+0
| | | | | | | | | | | | | | | | | | | | | | | It was nay'ed before committing on the grounds that this is not the way to do it, and has been decided as such several times in the past. There is not point in loading gobs of ascii into the kernel when the only use of that ascii is presentation to the user. Next thing we'd be adding all section 4 man pages to the loaded kernel as well. The argument about KLD's is bogus, klds can store a file in /usr/share/doc/sysctl/dev/foo/thisvar.txt with a description and sysctl or other facilities can pick it up there. Proper documentation will take several K worth of text for many sysctl variables, we don't want that in the kernel under any circumstances. I will welcome any well thought out attempt at improving the situation wrt. sysctl documentation, but this wasn't it.
* Add kernel support for sysctl descriptions. The NO_SYSCTL_DESCRIPTIONS optiondes1999-01-102-2/+8
| | | | | | | disables them if they're not wanted; in that case, sysctl_sysctl_descr will always return an empty string. Apporved by: jkh
* Switch to using ".So" as the extension for PIC object files ratherjdp1999-01-091-6/+7
| | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems.
* Oops --<, replace 1.216 with a version that actually check pv_entries (anddt1999-01-091-3/+5
| | | | | | | | | was tested for month or two in production). Noticed by: Stephen McKay Stephen also suggested to remove the complication at all. I don't do it as it would be backout of a large part of 1.190 (from 1998/03/16)...
* Add driver support (and man page) for PCI fast ethernet cards basedwpaul1999-01-094-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Change /dev/smb and /dev/iic interface to allow user programs to interact withnsouch1999-01-092-9/+17
| | | | | | | | | | devices dynamically. That means, + only one /dev/iic or /dev/smb device for each smb/iic bus to access + I2C/SMB device address must be given to any ioctl + new devices may be plugged and accessed after boot, which was impossible previously (device addresses were hardcoded into the kernel)
* Removed a stray label that broke compiling in the (elf && profiling) case.bde1999-01-091-2/+1
| | | | | PR: 9369 Submitted by: Assar Westerlund <assar@sics.se>
* Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.bde1999-01-091-1/+2
| | | | Broken in: rev.1.315
* Fixed pedantic syntax errors caused by a trailing semicolon in a macrobde1999-01-091-2/+2
| | | | definition.
* Removed the asm version of translate_bytes(). When both the Cbde1999-01-091-29/+0
| | | | | | version and the asm version are inlined, and everything is cached, the asm version is 1.75 times slower than the C version on P5's. On K6's, it is only 1.25 times slower.
* Removed buggy, `#if 0'ed asm version of translate_bytes() instead ofbde1999-01-091-18/+0
| | | | | | | fixing it. See rev.1.22 of ../sound/audio.c for fixes. When both the C version and the asm version are inlined, and everything is cached, the asm version is 1.75 times slower than the C version on P5's. On K6's, it is only 1.25 times slower.
* Don't put operands in clobber lists, since this is dubious for oldbde1999-01-091-4/+6
| | | | | | | | | | versions of gcc and broken for current versions of egcs. The asm here (for translate_bytes()) is now an interesting example of one that needs to be volatile to work. Fixed missing "memory" in the clobber list for translate_bytes(). Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me
* Don't put operands in clobber lists, since this is dubious for oldbde1999-01-091-8/+8
| | | | | | | | versions of gcc and broken for current versions of egcs. Cleaned up the asm statement for do_cpuid() a little. Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me
* Don't put operands in clobber lists, since this is dubious for oldbde1999-01-091-13/+16
| | | | | | versions of gcc and broken for current versions of egcs. Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me
* Add the new keyboard driver and video card driver. They will beyokota1999-01-093-0/+2421
| | | | | | used by console drivers. (They are not yet activated yet. Wait for announcement later.)
* Fix faulty logic in handling userconfig_script, INTRO_USERCONFIG andabial1999-01-081-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | RB_CONFIG. Now, the code should do the right thing in the following cases, when kernel is compiled with INTRO_USERCONFIG: * when booted without userconfig_script and without RB_CONFIG, present intro screen, and wait for user input. * when booted with userconfig_script and without RB_CONFIG, DON'T present intro screen unless explicitly asked in userconfig_script, basing on assumption that if a user loads userconfig_script, (s)he already decided what parameters to configure. Proceed with booting. * when booted without userconfig_script, and with RB_CONFIG, enter configuration utility and wait for user input. * when booted with userconfig_script, and with RB_CONFIG, execute all commands from userconfig_script, and DON'T leave the config utility, but wait for user input. And finally, regardless of the combination of the above parameters, when intro screen is invoked either first or next times, and user chooses to go back to CLI interface, unblock the quit command.
* Fixed some style bugs. Clarified a comment.bde1999-01-081-13/+12
|
* Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partiallybde1999-01-085-14/+29
| | | | unspammed them in the SMP case.
* Split DIAGNOSTIC -> DIAGNOSTIC, INVARIANTS, and INVARIANT_SUPPORT aseivind1999-01-082-4/+40
| | | | | | | | | discussed on -hackers. Introduce 'KASSERT(assertion, ("panic message", args))' for simple check + panic. Reviewed by: msmith
* Moved declarations related to copying and zeroing to the right place.bde1999-01-084-20/+19
|
* Instead of providing bad instructions here, point people at theeivind1999-01-082-16/+18
| | | | | | appropriate docs. Prodded by: Sheldon Hearn <axl@iafrica.com>'s message in -current
* Allocate kernel page table object (kptobj) before any kmem_alloc calls.luoqi1999-01-081-5/+6
| | | | | | On a system with a large amount of ram (e.g. 2G), allocation of per-page data structures (512K physical pages) could easily bust the initial kernel page table (36M), and growth of kernel page table requires kptobj.
* Update #ifdef directive.yokota1999-01-081-2/+2
| | | | # I forgot this bit when I committed VESA KLD update a few days ago ;-<
* Make pmap_ts_referenced check more than 1 pv_entry. (One should be carefulldt1999-01-071-5/+5
| | | | when move elements to the tail of a list in a loop...)
* Remove a hard-coded table of kernel console I/O functions exportedyokota1999-01-076-58/+61
| | | | | | | | | | from sc, vt and sio drivers. Use instead a linker_set to collect them. Staticize ??cngetc(), ??cnputc(), etc functions in sc and vt drivers. We must still have siocngetc() and siocnputc() as globals because they are directly referred to by i386-gdbstub.c :-( Oked by: bde
* When compiled with INTRO_USERCONFIG, skip the intro screen anyway if weabial1999-01-071-8/+15
| | | | | | | | already loaded and interpreted userconfig_script. Otherwise, when using such kernel system would always block waiting for user input in UserConfig, while the intention was to avoid this by having userconfig_script. Reviewed by: msmith
* Flip the kernel default to ELF.. Add a test to try and warn peoplepeter1999-01-071-2/+12
| | | | | | that they might be about to blow their feet off if they have not been reading their mail. I don't know if or how well this will work, but it's worth a try.
* OBJFORMAT_DEFAULT = elf now. (this is where /usr/bin/objformat andpeter1999-01-071-5/+1
| | | | libc/gen/getobjformat.c get their default from)
* Add (but don't activate) code for a special VM option to makejulian1999-01-065-70/+109
| | | | | | | | | | | | | downward growing stacks more general. Add (but don't activate) code to use the new stack facility when running threads, (specifically the linux threads support). This allows people to use both linux compiled linuxthreads, and also the native FreeBSD linux-threads port. The code is conditional on VM_STACK. Not using this will produce the old heavily tested system. Submitted by: Richard Seaman <dick@tar.com>
* Add new sysctl machdep.uc_devlist. It allows to cleanly retrieve theabial1999-01-061-2/+42
| | | | | | | | | | list of devices which has been changed in UserConfig, without resorting to reading /dev/kmem. The data returned consist of series of struct isa_device and char dev_name[8]. Ok'd by: jkh
* Don't build biosboot by default - there's no point now that nothingjkh1999-01-061-2/+2
| | | | | looks for /usr/mdec/boot{1,2}. The other stuff in here is probably equally useless/pointless but I'm going to not worry about it for now.
* Move IO_PSMSIZE from kbdio.h to isa.h. I thought I did this a long timeyokota1999-01-063-8/+7
| | | | | | | ago... While I am here, correct the values for IO_MDASIZE and IO_CGASIZE; they should be 12 rather than 16.
* Assign CDEV 112 to the keyboard driver.yokota1999-01-061-1/+2
|
* Fix YMF719 detection (report by jose@we.lc.ehu.es).luigi1999-01-041-4/+9
| | | | | Fix compile problems without "controller pnp0" (fix by German Tischler)
* Bring in ad1816 patches from German Tischler.luigi1999-01-045-8/+604
| | | | | Fix 'device not configured' problem that people were experiencing when only PCI devices are present.
* Corrected the major number for usb and added ums as major 111n_hibma1999-01-031-1/+2
|
OpenPOWER on IntegriCloud