summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Adjust mcclock lines to avoid config(8) warning.dfr1999-06-192-8/+8
|
* Convert signalling NaNs to quiet NaNs as specified by the Alpha Architecturedfr1999-06-191-5/+11
| | | | | | Reference Manual. Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* Add RCS strings to kernel ipfilter files.green1999-06-195-0/+8
|
* sioprobe: Don't try to initialize disabled ports. In particular,grog1999-06-192-4/+8
| | | | | | | attempting to initialize sio3 caused problems with ATI video boards, which cleverly share the I/O space. PR: kern/12295
* This should fix ipfilter for everyone it was broken for. CDEV_MAJOR is _not_green1999-06-191-1/+1
| | | | | | -1. Noticed by: users on freebsd-current
* Add a transmit descriptor usage counter and use it to absolutely,wpaul1999-06-194-8/+30
| | | | | | | | | positively not let ti_encap() fill up the TX ring all the way and wrap around. This fixes a potential transmit lockup where a really fast machine (or particular TX traffic pattern) can overrun the end of the ring. Reported by: John Plevyak <jplevyak@inktomi.com>
* Change active flag handling; sanity check passed drive number; passrnordier1999-06-182-77/+81
| | | | partition pointer to bootstrap; optimise away 10 bytes; cosmetics.
* K6-family MTRR supportgreen1999-06-183-2/+196
| | | | | | | | This is tested, but I really can't say whether it works entirely. I don't know exactly what to look for when testing it. So let's say this is open for testing. Send any results to green@FreeBSD.org Reviewed by: msmith (long ago)
* Harmless change to prevent possible problems in the future. I madegreen1999-06-182-4/+8
| | | | | | | | | | sure that i686_mem was only used when 1. CPUID had MTRR set (this was there before) 2. the CPU was GenuineIntel (not there) 3. the CPU is a 686 (also not there) This should prevent any problems with CPUs that set MTRR but aren't compatibile with Intel's interface (none that I know of yet.)
* New parallel port support for PC98. Old PC98s which havekato1999-06-1810-16/+5684
| | | | | | | | | | uni-directional parallel port should use olpt driver instead of lpt driver. Files ppc.c and ppcreg.h are copied form i386/isa directory with PC98 change. Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* Changed the global `idt' from an array to a pointer so that npx.cbde1999-06-1810-43/+36
| | | | | | | | | | | | | automatically hacks on the active copy of the IDT if f00f_hack() has changed it. This also allows simplifications in setidt(). This fixes breakage of FP exception handling by rev.1.55 of sys/kernel.h. FP exceptions were sent to npx.c's probe handlers because npx.c "restored" the old handlers to the wrong copy of the IDT. The SYSINIT for f00f_hack() was purposely run quite late to avoid problems like this, but it is bogusly associated with the SYSINIT for proc0 so it was moved with the latter. Problem reported and fix tested by: Martin Cracauer <cracauer@cons.org>
* On our final pass through ffs_fsync, do all I/O synchronously so thatmckusick1999-06-181-7/+8
| | | | | we can find out if our flush is failing because of write errors. This change avoids a "flush failed" panic during unrecoverable disk errors.
* Reviewed by: the cast of thousandsgreen1999-06-176-17/+30
| | | | | | | | | This is the change to struct sockets that gets rid of so_uid and replaces it with a much more useful struct pcred *so_cred. This is here to be able to do socket-level credential checks (i.e. IPFW uid/gid support, to be added to HEAD soon). Along with this comes an update to pidentd which greatly simplifies the code necessary to get a uid from a socket. Soon to come: a sysctl() interface to finding individual sockets' credentials.
* Add a kernel config for PC-Card machines. This is part of themarkm1999-06-171-0/+220
| | | | | | (safe) PAO integration. Submitted by: Tatsumi HOSOKAWA
* Add Id stringsgpalmer1999-06-174-0/+8
|
* vm_map_growstack uses vmspace::vm_ssize as though it containedalc1999-06-171-6/+6
| | | | the stack size in bytes when in fact it is the stack size in pages.
* Update the comments on values than can be returned by DEVICE_PROBE.n_hibma1999-06-171-8/+9
| | | | | | DEVICE_PROBE can return priorities. Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Sync with sys/i386/i386/machdep.c revision up to 1.341.kato1999-06-172-8/+6
|
* Sync with sys/i386/conf/options.i386 revision 1.117.kato1999-06-172-2/+4
|
* Fixed a missing userland dev_t to kernel dev_t conversion.bde1999-06-172-2/+2
|
* vm_map_insert sometimes extends an existing vm_map entry, rather thanalc1999-06-171-3/+7
| | | | | | | creating a new entry. vm_map_stack and vm_map_growstack can panic when a new entry isn't created. Fixed vm_map_stack and vm_map_growstack. Also, when extending the stack, always set the protection to VM_PROT_ALL.
* Reformat comment to match indentation of code around it.julian1999-06-171-8/+9
|
* Move vm_map_stack and vm_map_growstack after the definitionalc1999-06-171-204/+204
| | | | | of the vm_map_clip_end macro. (The next commit will modify vm_map_stack and vm_map_growstack to use vm_map_clip_end.)
* Remove some unused declarations and duplicate initialization.alc1999-06-171-6/+2
|
* Add a vnode argument to VOP_BWRITE to get rid of the last vnodemckusick1999-06-1623-436/+92
| | | | | operator special case. Delete special case code from vnode_if.sh, vnode_if.src, umap_vnops.c, and null_vnops.c.
* Close a race window where a tcp socket is closed while tcp_pcblist istegge1999-06-162-4/+14
| | | | copying out tcp socket info, causing a NULL pointer to be dereferenced.
* Make syscall tracing work: include "opt_ktrace.h" and make it compile.dt1999-06-161-2/+8
|
* Make sure syscall arguments properly aligned in ktrace records.dt1999-06-162-11/+18
| | | | | | | Make syscall return value a register_t. Based on a patch from Hidetoshi Shimokawa. Mostly reviewed by: Hidetoshi Shimokawa and Bruce Evans.
* Use vput instead of vrele.mjacob1999-06-161-3/+3
| | | | | | Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Submitted by: Ville-Pertti Keinonen <will@iki.fi> Obtained from: Matthew Dillon <dillon@apollo.backplane.com>
* Remove option USBVERBOSEn_hibma1999-06-162-4/+4
| | | | | | Add the options for debugging used in dev/usb/*.c Submitted by: Kazu
* Grrr! The PNIC II's multicast hash table is only 128 bits wide, not 512wpaul1999-06-161-20/+45
| | | | | | | like the original PNIC and the MX98715A (from which the PNIC II is derived). This requires special handling. Save the card type, and in mx_calchash(), if we see that the card is a PNIC, return only the low 7 bits of the hash instead of the low 9 bits.
* Changed trypbuf to a getpbuf to work around a problem where redundant writesdg1999-06-161-2/+2
| | | | | | | | | would occur when clustering them - caused by running out of buffers and taking a degenerate code path as a result. It appears that waiting instead for buffers to become available is okay. Submitted by: Matthew Dillon <dillon@apollo.backplane.com> Discovered by: Craig A Soules <soules+@andrew.cmu.edu>
* Print verbose messages when there is error.yokota1999-06-162-4/+42
| | | | Oked by: des
* Fix non-benign typo.billf1999-06-161-2/+2
| | | | Submitted by: Daniel Baker <dbaker@cuckoo.com>
* Clean up bitrot in interrupt tracing code.tegge1999-06-163-9/+9
|
* If we still haven't got a sufficient number of free buffers after thetegge1999-06-161-2/+2
| | | | | | call to flushdirtybuffers() then sleep in waitfreebuffers(). PR: 11697 Reviewed by: David Greenman, Matt Dillon
* Get rid of the global variable rushjob and replace it with a function inmckusick1999-06-156-100/+170
| | | | | kern/vfs_subr.c named speedup_syncer() which handles the speedup request. Change the various clients of rushjob to use the new function.
* If we retry this operation from the top of this routine, we need tomjacob1999-06-152-2/+10
| | | | | | make sure we've freed any allocated resources (to avoid a memory leak) and and do the right thing with respect to the nfs node hash lock we'd acquired.
* Add a couple of command definitions.julian1999-06-151-67/+74
| | | | | | Also add offsets into the IDE parameter block so that it is humanly possible to match the structure to the manufacturer's documentation. (basically this is just changes to comments)
* COM_LLCONSOLE should over-ride COM_DEBUGGER request.mckusick1999-06-152-4/+4
|
* Kill option FAILSAFE.des1999-06-1516-54/+25
| | | | | PR: i386/12187 Approved by: bde
* Add VIA Apollo Master VT82c570 chipset. (I have 2 of these)roger1999-06-151-12/+8
| | | | Also, Apollo IDE controller has device ID of 1571 and 0571
* Ensoniq AudioPCI sound cards haven't worked since the newbus integrationnewton1999-06-151-2/+2
| | | | | | because they haven't been able to attach. Now fixed. Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Add the System V message queue and semaphore options for better 3rd partyjb1999-06-142-6/+10
| | | | software support out-of-the-box (like i386 does).
* Include <sys/time.h> for correctness. BDE has a better version of this,nik1999-06-141-1/+2
| | | | | | | | | | but it's more complex, and in his words Commit your version, since it is the only one that is clearly permitted (if not best), and I'll untangle it later. PR: docs/11589 Reviewed by: Bruce "he kicks ass" Evans
* Fix typo confusing `fa' and 'fb' registers.simokawa1999-06-141-4/+4
| | | | Now, MATLAB works fine under OSF/1 emulation.
* 1) remove the soft reset after a command failed.n_hibma1999-06-131-5/+17
| | | | 2) remove printing of errno and errstr
* Eliminate the bogus procfs private almost struct dirent structure.phk1999-06-136-86/+54
| | | | | Spotted by: Lars Hamren Reviewed by: bde
* 1) Add non-blocking I/O on readn_hibma1999-06-131-6/+32
| | | | | 2) Add checks to make sure we do not dereference the softc when not found because the device has been removed.
* 1) Add the USB controllers (will now print pretty strings when no usbn_hibma1999-06-131-32/+64
| | | | | | support is compiled in) 2) Add probing for generic USB host controllers as well so we get them all 3) make the returned strings look alike in the whole file
OpenPOWER on IntegriCloud