summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* The first stage of console driver reorganization: activate newyokota1999-01-1140-2114/+2000
| | | | | | | | | | | | | 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.
* Oops, I committed wrong version of these files in the last commit!yokota1999-01-112-73/+151
| | | | Here are the correct, and up-top-date ones.
* Added file handling to ulpt (USB printer) drivern_hibma1999-01-113-4/+43
|
* Use truncate() instead of otruncate() - step on the way to stoppingeivind1999-01-102-6/+6
| | | | the linulator from depending on COMPAT_43.
* Remove warningn_hibma1999-01-101-3/+1
|
* Disable kzipping the loader; it seems to be breaking the aout-to-elf buildmsmith1999-01-101-3/+3
|
* Tweak the vr_start() and vr_rxeof() routines a little to improvewpaul1999-01-104-62/+26
| | | | | | | performance and reliability a little. There was a condition before where transmission would stall during periods of heavy traffic exchange between two hosts. Also set the 'want interrupt' bit in receive descriptor control words.
* Sync with NetBSD sources. Almost there. Mostly style fixes.n_hibma1999-01-1024-199/+287
|
* Remove warningn_hibma1999-01-101-2/+1
|
* Remove redundant line of code.steve1999-01-101-2/+1
| | | | | PR: 9364 Submitted by: Daniel C. Sobral <dcs@newsguy.com>
* Forgotten options needed to build last ppbus commit.nsouch1999-01-103-4/+12
| | | | Submitted by: "D. Rock" <rock@wurzelausix.CS.Uni-SB.DE>
* Remove check from where arp replies are coming from -- when doing bridging,luigi1999-01-101-1/+3
| | | | interfaces are used in clusters so the check does not apply.
* Fix broken low level ppb_rxxx() return type: char becomes u_char.nsouch1999-01-108-65/+63
| | | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Some ppb bootup printfs simplified.
* Use etc/make.conf settings for serial port and speed.rnordier1999-01-106-16/+28
| | | | | Submitted by: rvb Reviewed by: bde
* Damn, I thought I had committed this already, but it seems not.peter1999-01-104-12/+12
| | | | | | | | | | Move the relocated boot1 and arg transfer space from 0x600/0x800 to 0x700/0x900. In theory this should make no difference, apart from the fact that Buslogic controllers happen to use a few bytes at 0x600 for some sort of scratch space for it's int 0x13 hook (!!!), causing the machine to crash badly when the boot2 code makes it's callbacks into boot1 for disk IO. Submitted by: Robert Nordier <rnordier@freebsd.org>
* Add hooks for the Iprobe kernel profiler.dfr1999-01-103-3/+34
| | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Major ppbus commit with:nsouch1999-01-1020-368/+2880
| | | | | | | | | | | | | | | | | | | + 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.
* Suggested by bde@freebsd.org- memcpy not necessarily good to use. D'oh- not inmjacob1999-01-103-13/+15
| | | | | the BSD DKI. Stop being lazy and finish the defines so MEMCPY becomes bzero for FreeBSD.
* Back out last change to sysctl.phk1999-01-106-67/+2
| | | | | | | | | | | | | | | | | | | | | | | 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-106-8/+73
| | | | | | | disables them if they're not wanted; in that case, sysctl_sysctl_descr will always return an empty string. Apporved by: jkh
* Enable escapes for $ to make it possible to insert variable names intomsmith1999-01-102-4/+9
| | | | other variable values.
* Add some prototype deadchip detection. Set FIFO bursting (1XX0 only-mjacob1999-01-101-48/+88
| | | | | | | | it's already on for the 2XX0) and detect the broken 1040A FIFO. Change bzero to MEMZERO (portability with **nux). Use memcpy for same reason. Finally detect QUEUE FULL conditions and return this as an error that will get cam_periph_error to do it's 'tagged openings now XXX' dance.
* up isp_fifo_threshold NVRAM storage to 3 bits (for future 128 bit)mjacob1999-01-101-3/+3
|
* add MEMZERO portability definesmjacob1999-01-102-4/+8
|
* Amazingly stupid forgetfullness had me forgetting to turn on FIFO burstsmjacob1999-01-102-8/+8
| | | | for the 1XX0 cards. That cost > 50% performance.
* If we can't open alias.log, don't try to write to thebrian1999-01-101-2/+4
| | | | | resulting NULL FILE *. PR: 9403
* KNFize, by bde.eivind1999-01-1022-101/+92
|
* Switch to using ".So" as the extension for PIC object files ratherjdp1999-01-097-38/+43
| | | | | | | | 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-092-6/+10
| | | | | | | | | 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)...
* Explicitly look for kzip in /usr/bin, again this is a stopgap, to avoidmsmith1999-01-091-2/+2
| | | | making kzip a build tool.
* Add driver support (and man page) for PCI fast ethernet cards basedwpaul1999-01-099-7/+2757
| | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Fix Linux compatible mode. ppb_rxxx() calls are chars, inb() is int.nsouch1999-01-091-8/+7
|
* Change /dev/smb and /dev/iic interface to allow user programs to interact withnsouch1999-01-0912-84/+196
| | | | | | | | | | 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)
* Fix the disappearing da0 problem.nsouch1999-01-091-1/+5
| | | | Submited by: Doug Rabson <dfr@nlsystems.com>
* Removed a stray label that broke compiling in the (elf && profiling) case.bde1999-01-093-6/+3
| | | | | PR: 9369 Submitted by: Assar Westerlund <assar@sics.se>
* Remove a diagnostic message left in by mistake.dfr1999-01-091-3/+2
|
* Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.bde1999-01-092-2/+4
| | | | Broken in: rev.1.315
* Implement a mechanism for a module to report a small amount of moduledfr1999-01-093-4/+45
| | | | | specific data back to the user via kldstat(2). Use that mechanism in the syscall handler to report the syscall number used.
* Implement support for adding syscalls in KLD modules.dfr1999-01-092-2/+126
| | | | Submitted by: Assar Westerlund <assar@sics.se>
* Fixed pedantic syntax errors caused by a trailing semicolon in a macrobde1999-01-092-4/+4
| | | | 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-092-16/+16
| | | | | | | | 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-092-26/+32
| | | | | | versions of gcc and broken for current versions of egcs. Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me
* cleanup: remove part of the code for 2.1.kjc1999-01-092-72/+256
| | | | | | add two functions to get the MAC address of the card. Obtained from: ALTQ
* Add the new keyboard driver and video card driver. They will beyokota1999-01-0918-0/+10004
| | | | | | used by console drivers. (They are not yet activated yet. Wait for announcement later.)
* kzip the loader, this shrinks it to about 60% of its original size.msmith1999-01-091-1/+3
| | | | Note that this is a stopgap with dependancies on the a.out tools.
* Extend bd_print() so that it displays slices and partitions on disks.msmith1999-01-091-7/+82
|
* Add a description for 'lsdev' so that it shows up in the '?' displaymsmith1999-01-091-2/+3
|
OpenPOWER on IntegriCloud