aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix a significant error in the accounting for pre-zeroed pages. ThisJohn Dyson1997-03-231-5/+6
| | | | | | | is a candidate for RELENG_2_2... Notes: svn path=/head/; revision=24130
* Merged the rest of lfs from Lite2. It compiles (uncleanly) but is asBruce Evans1997-03-239-185/+460
| | | | | | | unlikely to work as before. Notes: svn path=/head/; revision=24128
* Restore Bruce's original comment. It seems that "iff" = if and only if,Mike Pritchard1997-03-223-6/+6
| | | | | | | and is not a typo. It is used other places in the kernel, too. Notes: svn path=/head/; revision=24117
* Oops, I forgot to `cvs add'. This file is a part of new CPUKATO Takenori1997-03-222-0/+888
| | | | | | | identification and initialization routines. Notes: svn path=/head/; revision=24113
* Improved CPU identification and initialization routines. ThisKATO Takenori1997-03-2232-1510/+1420
| | | | | | | | | | | | | | | | supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD) Nx586 CPU, and initialize special registers of Cyrix CPU and msr of IBM Blue Lightning CPU. If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in write-through mode. This can be disabled by kernel configuration options. Reviewed by: Bruce Evans <bde@freebsd.org> and Jordan K. Hubbard <jkh@freebsd.org> Notes: svn path=/head/; revision=24112
* Fix a typo in a comment of a recent commit.Mike Pritchard1997-03-223-6/+6
| | | | Notes: svn path=/head/; revision=24109
* Merged enough of lfs from Lite2 for mkdep of LINT to work again.Bruce Evans1997-03-222-179/+218
| | | | Notes: svn path=/head/; revision=24103
* Removed `volatile' from declaration of `time', and removed the resultingBruce Evans1997-03-224-10/+9
| | | | | | | | | | | null casts. `time' is nonvolatile for accesses within a region locked by splclock()/splx(). Accesses outside such a region are invalid, and splx() must have the side effect of potentially changing all global variables (since there are hundreds of sort of volatile variables like `time'), so declaring `time' as volatile didn't have any real benefits. Notes: svn path=/head/; revision=24102
* Fixed some invalid (non-atomic) accesses to `time', mostly ones of theBruce Evans1997-03-2237-147/+168
| | | | | | | | | form `tv = time'. Use a new function gettime(). The current version just forces atomicicity without fixing precision or efficiency bugs. Simplified some related valid accesses by using the central function. Notes: svn path=/head/; revision=24101
* Decrease the latency/overhead in the prezero code when there isJohn Dyson1997-03-222-4/+34
| | | | | | | an adequate number of prezeroed pages. Notes: svn path=/head/; revision=24099
* Backed out rev.1.27, which broke unmounting of mfs and caused panicsBruce Evans1997-03-221-2/+2
| | | | | | | | | on shutdown. Should not have been in 2.2 (the buggy last minute change, that is). Notes: svn path=/head/; revision=24098
* Submitted by: Michael Petry <petry@netwolf.NetMasters.com>Steve Passe1997-03-215-1679/+2534
| | | | | | | | | | | | | Michael submitted code to activate the audio muxes. fsmp: extended those changes for different boards. auto-detection of board types. auto-detection of tuner types. auto-detection of stereo option. Notes: svn path=/head/; revision=24087
* Submitted by: Michael Petry <petry@netwolf.NetMasters.com>Steve Passe1997-03-213-42/+93
| | | | | | | | | | | | | Michael submitted code to activate the audio muxes. fsmp: extended those changes for different boards. auto-detection of board types. auto-detection of tuner types. auto-detection of stereo option Notes: svn path=/head/; revision=24086
* Add support to sendmsg()/recvmsg() for passing credentials betweenBill Paul1997-03-212-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processes using AF_LOCAL sockets. This hack is going to be used with Secure RPC to duplicate a feature of STREAMS which has no real counterpart in sockets (with STREAMS/TLI, you can apparently use t_getinfo() to learn UID of a local process on the other side of a transport endpoint). What happens is this: the client sets up a sendmsg() call with ancillary data using the SCM_CREDS socket-level control message type. It does not need to fill in the structure. When the kernel notices the data, unp_internalize() fills in the cmesgcred structure with the sending process' credentials (UID, EUID, GID, and ancillary groups). This data is later delivered to the receiving process. The receiver can then perform the follwing tests: - Did the client send ancillary data? o Yes, proceed. o No, refuse to authenticate the client. - The the client send data of type SCM_CREDS? o Yes, proceed. o No, refuse to authenticate the client. - Is the cmsgcred structure the right size? o Yes, proceed. o No, signal a possible error. The receiver can now inspect the credential information and use it to authenticate the client. Notes: svn path=/head/; revision=24083
* Added support for newer cards that have the DP83840A PHY chip.David Greenman1997-03-214-18/+92
| | | | | | | | | | | | | | | | | | | | | Fixed a bug in fxp_mdi_write - a hex number was missing a preceding 0x and this was causing the routine to not wait for a PHY write to complete. Added support for link0, link1, and link2 flags to toggle auto- negotiation, 10/100, and half/full duplex: link0 disable auto-negotiation When set, these flags then have meaning: -link1 10Mbps link1 100Mbps -link2 half duplex link2 full duplex ...needs a manual page. Notes: svn path=/head/; revision=24079
* Typo police.Mike Pritchard1997-03-203-9/+9
| | | | Notes: svn path=/head/; revision=24069
* Add backward compatibility so that static executables built onJohn Polstra1997-03-201-1/+2
| | | | | | | | | | | modern FreeBSD systems will syslog properly on older systems that still name the logging socket "/dev/log". This includes pre-2.2 versions of FreeBSD as well as BSD/OS systems. If the connect to "/var/run/log" fails, the function now tries to connect to "/dev/log" as a fallback. Notes: svn path=/head/; revision=24068
* Added Allied Telesis CenterCOM LA100-PCI support. Currently, fullKATO Takenori1997-03-202-2/+10
| | | | | | | duplex mode doesn't work. Notes: svn path=/head/; revision=24061
* additions for table-driven frequency calculation.Steve Passe1997-03-192-392/+404
| | | | | | | | | addition of colorbar ioctl. removed unneeded disable_intr()/enable_intr() wrappers in i2c code. minor cleanup. Notes: svn path=/head/; revision=24046
* additions for table-driven frequency calculation.Steve Passe1997-03-193-0/+33
| | | | | | | addition of colorbar ioctl. Notes: svn path=/head/; revision=24045
* Synchronize with sys/i386/conf/files.i386 revision 1.156.KATO Takenori1997-03-192-18/+20
| | | | Notes: svn path=/head/; revision=24042
* Only export ioctl-related stuff to applications. Include prerequisiteBruce Evans1997-03-191-10/+15
| | | | | | | | | headers (like most other ioctl-related headers). Didn't fix spelling errors and other warts. Notes: svn path=/head/; revision=24034
* typo (nthe --> the)David E. O'Brien1997-03-193-6/+6
| | | | Notes: svn path=/head/; revision=24019
* MAXDIRSIZE is (or would be) used in fsck. It's a sanity check.Peter Wemm1997-03-181-4/+1
| | | | Notes: svn path=/head/; revision=23998
* Restore the lost MNT_LOCAL flag twiddle. Lite2 has a different mechanismPeter Wemm1997-03-183-3/+9
| | | | | | | | | | | | | | of setting it (compiled into vfs_conf.c), but we have a dynamic system in place. This could probably be better done via a runtime configure flag in the VFS_SET() VFS declaration, perhaps VFCF_LOCAL, and have the VFS code propagate this down into MNT_LOCAL at mount time. The other FS's would need to be updated, havinf UFS and MSDOSFS filesystems without MNT_LOCAL breaks a few things.. the man page rebuild scans for local filesystems and currently fails, I suspect that other tools like find and tar with their "local filesystem only" modes might be affected. Notes: svn path=/head/; revision=23997
* aic7xxx.seq:Justin T. Gibbs1997-03-184-36/+263
| | | | | | | | | | | | | | Stick 4 more, twin channel only, instructions behind .if ( TWIN_CHANNEL) aic7xxx_asm.c: Add the -O options which allows the specification of which options to include in a program listing. This makes it possible to easily determine the address of any instruction in the program across different hardware/option configurations. Updated usage() as well. Notes: svn path=/head/; revision=23991
* Submitted by: Doug White <dwhite@gdi.uoregon.edu>Steve Passe1997-03-172-2/+2
| | | | | | | | | | | I broke the cable tuning with my 'TEST_A' code. Remove TEST_A define till I finish this change for both tuning modes. Note that this will effectively break the new TVTUNER_SETFREQ/TVTUNER_GETFREQ ioctl()s. These aren't used by anyone but me yet (attempt to provide full resolution fine tuning for "fringe" stations) so it should be no problem Notes: svn path=/head/; revision=23972
* Fixed two deficiencies in the driver that have existed since it wasDavid Greenman1997-03-174-46/+232
| | | | | | | | | | | | | | | written: 1) Full duplex mode is now supported (and works!) 2) The 10Mbps-only PCI Pro/10 should now work (untested, however) Thanks to Justin Gibbs for providing a PCI bus analyzer trace while the Intel Windows driver was configuring the board...this made it possible to figure out the mystery bit that I wasn't setting in the PHY for full duplex to work. Notes: svn path=/head/; revision=23964
* Don't try to lint the gcc extension byte-swapping macros.Nate Williams1997-03-171-2/+2
| | | | | | | Submitted by: Eivind Eklund <eivind@dimaga.com> Notes: svn path=/head/; revision=23954
* Fixed null pointer panic in devtotty(). Fixed bounds checking inBruce Evans1997-03-162-14/+26
| | | | | | | | | | devtotty(). devtotty() must check its arg carefully since the arg is supplied as ioctl data. This should fix PR3004. Renamed devtotty() to snpdevtotty(). Notes: svn path=/head/; revision=23950
* Make this whitespace compatible with the change that I correctly committedJustin T. Gibbs1997-03-161-1/+1
| | | | | | | to the 2.2 branch for the new aic7xxx assembler. Notes: svn path=/head/; revision=23949
* Don't depend on <sys/types.h> being (bogusly) included by <stdio.h>.Bruce Evans1997-03-163-3/+9
| | | | Notes: svn path=/head/; revision=23942
* Fixed broken line continuation in the previous revision. Config apparentlyBruce Evans1997-03-162-4/+4
| | | | | | | | has buggy backslash-newline handling. Avoid it by using whitespace before backslash-newline. Notes: svn path=/head/; revision=23941
* Fixed missing line-continuation backslash in the previous revision.Bruce Evans1997-03-161-1/+1
| | | | Notes: svn path=/head/; revision=23940
* Synchronize with sys/i386/boot/biosboot/sys.c revision 1.19.KATO Takenori1997-03-161-6/+8
| | | | Notes: svn path=/head/; revision=23937
* patches for bt848 specific hue/bright/contrast/satu/satv.Steve Passe1997-03-163-6/+204
| | | | Notes: svn path=/head/; revision=23936
* Submitted by: Amancio Hasty <hasty@rah.star-gate.com>Steve Passe1997-03-164-88/+364
| | | | | | | | | addition of bt848 specific ioctl()s for hue/bright/contrast/satu/satv. patches by Amancio Hasty to fix "screen freeze" problem. Notes: svn path=/head/; revision=23935
* Missed one.Justin T. Gibbs1997-03-163-0/+204
| | | | Notes: svn path=/head/; revision=23934
* The register definitions are now in the compile directory.Justin T. Gibbs1997-03-161-3/+3
| | | | Notes: svn path=/head/; revision=23930
* Adapt to some changes in the register definitions. Clear the selectionJustin T. Gibbs1997-03-161-78/+234
| | | | | | | | | | | enable in SCSISEQ during error recovery to deal with the way the sequencer leaves selections enabled now. Add code to perform "patching" during sequencer program download. Spelling fixes obtained from NetBSD. Notes: svn path=/head/; revision=23928
* The register definition file is now in the compile directory.Justin T. Gibbs1997-03-161-2/+2
| | | | Notes: svn path=/head/; revision=23927
* Adapt build rules to new aic7xxx seqeuncer assembler.Justin T. Gibbs1997-03-162-18/+20
| | | | Notes: svn path=/head/; revision=23926
* Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c:Justin T. Gibbs1997-03-1622-3239/+9185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New sequencer assembler for the aic7xxx adapters. This assembler performs some amount of register type checking, allows bit manipulation of symbolic constants, and generates "patch tables" for conditionalized downloading of portions of the program. This makes it easier to take full advantage of the different features of the aic7xxx cards without imposing run time penalies or being bound to the small memory footprints of the low end cards for features like target mode. aic7xxx.reg: New, assembler parsed, register definitions fo the aic7xxx cards. This was done primarily in anticipation of 7810 support which will have a different register layout, but should be able to use the same assembler. The kernel aic7xxx driver consumes a generated file in the compile directory to get the definitions of the register locations. aic7xxx.seq: Convert to the slighly different syntax of the new assembler. Conditionalize SCB_PAGING, ultra, and twin features which shaves quite a bit of space once the program is downloaded. Add code to leave the selection hardware enabled during reconnects that win bus arbitration. This ensures that we will rearbitrate as soon as the bus goes free instead of delaying for a bit. When we expect the bus to go free, perform all of the cleanup associated with that event "up front" and enter a loop awaiting bus free. If we see a REQ first, complain, but attempt to continue. This will hopefully address, or at least help diagnose, the "target didn't send identify" messages that have been reported. Spelling corrections obtained from NetBSD. Notes: svn path=/head/; revision=23925
* Add depend rule for the now compile time generated aic7xxx register file.Justin T. Gibbs1997-03-161-0/+1
| | | | Notes: svn path=/head/; revision=23924
* Fix from Matt for the problem described in PR # kern/2990: ``DEC FDDIJoerg Wunsch1997-03-151-1/+6
| | | | | | | | | | | is a little *too* promiscuous'' Also a 2.2 candidate, again, after testing. Submitted by: Matt Thomas <matt@lkg.dec.com> Notes: svn path=/head/; revision=23910
* Fix support for != 512 byte sector devices.Søren Schmidt1997-03-151-2/+2
| | | | | | | | | | | | Restores the use of SBLOCK instead of the BSOFF/sectorsize calculation. Using SBLOCK is bogus however in that it uses DEV_BSIZE instead of the actual sector size, but that is taken care of in other places. Changing the SBLOCK would be better, but it affects the system in other places, and doing it this way makes it possible to use filesystems that was made before the lite2 merge. Notes: svn path=/head/; revision=23908
* Don't attempt to read past EOF.Bruce Evans1997-03-151-6/+8
| | | | | | | | Saved enough bytes to make room for this bloat (testing poff < inode.i_size takes 56 bytes!) by copying fs to a local variable. Notes: svn path=/head/; revision=23905
* Synchronize with sys/i386/conf/GNERIC revision up to 1.88.KATO Takenori1997-03-152-4/+4
| | | | Notes: svn path=/head/; revision=23903
* Synchronize with sys/i386/i386/userconfig.c revision 1.85.KATO Takenori1997-03-151-4/+7
| | | | Notes: svn path=/head/; revision=23900
* Add protoswitch entries for shortcut send/receive. CorrectGarrett Wollman1997-03-141-8/+20
| | | | | | | | a few misleading comments, and move allthe struct tag forward declarations to be in one place. Notes: svn path=/head/; revision=23888