summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Operator precedence bugpeter1999-05-022-4/+4
| | | | | PR: 11411 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* Operator precedence bugpeter1999-05-022-4/+4
| | | | | PR: 11415 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* Operator precedence (nit: in #if 0 code) bug.peter1999-05-021-1/+1
| | | | | PR: 11413 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* Typo: if (mpu_config = NULL) -> if (mpu_config != NULL)peter1999-05-021-1/+1
| | | | | PR: 11411 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* Operator precedence bugpeter1999-05-023-3/+3
| | | | | PR: 11410 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* s/size == 0;/size = 0;/peter1999-05-024-12/+12
| | | | | PR: 11409 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* Make this compile with CY_PCI_FASTINTR again.peter1999-05-022-4/+10
|
* Attempt to make the sound driver recompile, at least for LINT which haspeter1999-05-021-1/+1
| | | | | | the sscape/trix driver active, which (for some reason) disables the mpu401 driver, causing an undefined reference to mpuintr. This was broken with rev 1.79 (part of the PC98 nss driver commit).
* Disable FDC_YE - it's broken at present (breaking LINT) and awaiting somepeter1999-05-023-51/+78
| | | | | pccard fixups. Make DEVFS compile, it breaks LINT.
* These two drivers have not been converted for newbus eisa yet.peter1999-05-024-4/+20
|
* Disable second declaration of oltr0 - the first one (intended for isa) willpeter1999-05-023-6/+9
| | | | cause the device to be found on all busses, including pci.
* Declare the return address for __divX, __remX so that gdb can step overdfr1999-05-021-1/+1
| | | | calls properly.
* This routine was "use"ing File::Basename. This commit removes thatmarkm1999-05-021-2/+30
| | | | | | | | | "use" and replaces it with equivalent inline code. The reason is that Perl has some very nasty circular dependancies, and I am trying to get the System Perl upgraded by one maintenance level. The basic rule, until I can find a way to solve this, is that the build tools MAY NOT use any library code; it must all be inline.
* Get extern declarations right.grog1999-05-021-4/+4
| | | | Change DEBUG_EXITFREE to DEBUG_WARNINGS.
* close_drive:grog1999-05-021-32/+47
| | | | | | | | | | | | | | | | | | If a drive has gone down and has dirty buffers associated with it, we'll get a panic when we try to vn_close it. Check for this situation and discard any buffers; they're toast anyway. Only complain about usage count if DEBUG_WARNINGS is set. check_drive: Change parameter name from drivename to devicename. Get the check for a referenced drive right. If the partition isn't a vinum drive, set the last error to ENODEV. vinum_scandisk: Change parameter name from drivename [] to devicename [].
* vinum_mallocinfo:grog1999-05-021-1/+1
| | | | Set the entry number correctly.
* set_sd_state:grog1999-05-021-6/+9
| | | | | Don't change state from reborn to reborn. This caused a silly warning message.
* sizespec:grog1999-05-021-1/+3
| | | | Implement scaling letter 's' to mean 'sectors' (of 512 bytes).
* Remove some dead variables.grog1999-05-021-3/+1
| | | | Change DEBUG_EXITFREE to DEBUG_WARNINGS.
* - Added PCI identification support for the TI1251 PCI/CardBus bridge.nate1999-05-024-4/+10
| | | | | With this addition my ThinkPad 600E works with the stock FreeBSD PCMCIA code.
* - When the card is inserted, call pccard_insert_beep instead ofnate1999-05-021-2/+2
| | | | | | pccard_remove_beep. Submitted by: PAO
* Whoops, not all SMP systems have memory range attribute support. Don'tmsmith1999-05-022-4/+6
| | | | | | try to set it up on an AP unless we do. Submitted by: dave adkins <adkin003@tc.umn.edu>
* Oops. Introduced a typo in one of previous commits.n_hibma1999-05-011-1/+1
|
* Clean up uhci_intr. Avoid acknowledging mutliple interrupts withn_hibma1999-05-011-26/+27
| | | | multiple writes.
* Correct maximum error count in TD initialisation for transfer from 2 to 3.n_hibma1999-05-011-2/+2
|
* Clean up debugging output, rename printf to DPRINTF and set somen_hibma1999-05-011-38/+29
| | | | debugging levels to more sensible values.
* Move the disabling of interrupts right before the allocation of then_hibma1999-05-013-2/+34
| | | | | | resource. Avoids useless interrupts occurring between the allocation of the interrupt resource and the final initialisation of the kernel. Cause of these interrupts is unknown (a resuming device?).
* Z direction was upside down.n_hibma1999-05-011-2/+6
| | | | Submitted By: MAEKAWA Masahide
* Added vendor OmniVision and cameran_hibma1999-05-012-0/+16
|
* Add a hook that can be called to initialise a slave processor's memorymsmith1999-04-3012-45/+142
| | | | | | | | | | range attributes after they have been extracted from the master. Hook up the i686 MP code to do this for each AP. Be more careful about printing the default memory type for the i686. Suggestions from: luoqi
* Bunch of updates:wpaul1999-04-302-104/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Try to unbreak what I broke by screwing with the tx queuing again. I'm waiting for a few more people to test out this code and report back before I move it into current. Hopefully it will be soon. Basically I reverted to the old TX queuing strategy. - Add experimental support for the 3c900B-FL (10mbps ST fiber). The card should be detected properly and the 10baseFL mode supported, but again I'm still waiting for word from a tester to see if this actually works. It shouldn't affect the other cards though; all the differences are in media selection. - Set the TX start threshold register to get better performance. - Increase the size of the RX and TX rings. UDP performance was pretty bad because the TX ring was too small. Should be substantially better now (I can saturate the link with either TCP or UDP now). - Change some of the #defines to reflect proper 3Com ASIC names (boomerang, cyclone, krakatoa, hurricane). - Simplify and reorganize interrupt handler; ack all interrupts right away and then process them. This avoids a potential race condition. (Noted by Matt Dillon.) - Reorganize the bridging code to eliminate using a goto to jump into the middle of an if() {} clause. Sorry, that just made my brain itch. - Use m_adj() in xl_rxeof(). - Make the payload alignment in xl_newbuf() the default (instead of just conditionally defined for the alpha) to improve NFS performance (avoids need for nfs_realign()).
* Add a new "file" to procfs: "rlimit" which shows the resource limits forphk1999-04-3010-9/+397
| | | | | | | | the process. PR: 11342 Submitted by: Adrian Chadd adrian@freebsd.org Reviewed by: phk
* My last commit accidentally undid the changes made in rev 1.68roger1999-04-302-2/+10
| | | | regarding COMPAT_PCI_DRIVER. Put them back.
* Added $Id$.kato1999-04-301-0/+2
|
* Add beer-ware license and $Id$phk1999-04-301-0/+11
| | | | Noticed by: dillon
* Make BOOTP to work again.phk1999-04-301-1/+1
| | | | | Submitted by: dillon Reviewed by: phk
* Set curproc at the end of proc0_init().dt1999-04-291-7/+4
| | | | | | | | | | | This patch also moves the bogus comment (the comment is still not quite right) and (as a side effect) removes some verbose initialisations (we depend on static initialisation to 0 for almost everything in proc0). The alpha kernels are bootable again. The change won't affect i386's until machdep.c is changed. Submitted by: bde
* Address a performance problem in getnewbuf:alc1999-04-291-5/+33
| | | | | | | | | | In heavy-writing situations, QUEUE_LRU can contain a large number of DELWRI buffers at its head. These buffers must be moved to the tail if they cannot be written async in order to reduce the scanning time required to skip past these buffers in later getnewbuf() calls. Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
* Add a test to ti_encap() to try and prevent the transmit producer indexwpaul1999-04-292-4/+10
| | | | | | | from ever catching up to the transmit consumer index. We can't let this happen because ti_txeof() depends on the assumption that producer == consumer means the ring is empty, and producer != consumer means the ring has some number of active descriptors in it.
* Added initial code for VBI capture based on work byroger1999-04-292-72/+448
| | | | | | Hiroki Mori <mori@infocity.co.jp> and reworked by myself. This allows software decoding of teletext, intercast and subtitles via /dev/vbi.
* Add support for VBI capture from /dev/vbi.roger1999-04-292-4/+26
| | | | | | | | This will allow software teletext/intercast/subtitles decoding while watching a TV station. Based on code from Hiroki Mori <mori@infocity.co.jp> but reworked by myself.
* Added new cards: NEC PK-UG-X017 and I/O DATA GV-BCTV2/PCIroger1999-04-292-18/+434
| | | | | | | Added new tuner: ALPS_TSBH1 (plus FM Radio for ALPS_TSCH5) Added support for BCTV audio mux. Submitted by Hiroki Mori <mori@infocity.co.jp>
* Fix crashes caused by rows=0 or columns=0.roger1999-04-292-12/+90
| | | | | | | | | Add new #ifdef. By defining BKTR_NO_MSP_RESET you can prevent the MSP34xx being reset by the bt848 driver. This is handy if you pre-initialise the MSP34xx stereo audio chip in another operating system first (eg MS Windows). Suggested by: Randal Hopper<aa8vb@ipass.net> Suggested by: Yuri Gindin <yuri@xpert.com>
* - Handle mixer read ioctls correctly. They have the same group, number andluoqi1999-04-294-40/+356
| | | | | argument size as their write counterparts and were handled as write ioctls. - Emulate some cdrom ioctls.
* Postpone route_init() until all domains are attached.luoqi1999-04-293-5/+7
|
* pmap_emulate_reference: don't ever lose PV_TABLE_MOD bit on page. Ifdt1999-04-281-2/+2
| | | | | | | | | PV_TABLE_REF cleared before PV_TABLE_MOD, the page may get fault on read again. On fault on write, pmap_emulate_reference mark the page dirty with vm_page_dirty. That decrease ill effects of the bug. The problem probably become more serious after my rev.1.18 a week ago.
* This Implements the mumbled about "Jail" feature.phk1999-04-2855-142/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restrictions imposed on what the superuser can do. For all I know, it is safe to hand over the root bit inside a prison to the customer living in that prison, this is what it was developed for in fact: "real virtual servers". Each prison has an ip number associated with it, which all IP communications will be coerced to use and each prison has its own hostname. Needless to say, you need more RAM this way, but the advantage is that each customer can run their own particular version of apache and not stomp on the toes of their neighbors. It generally does what one would expect, but setting up a jail still takes a little knowledge. A few notes: I have no scripts for setting up a jail, don't ask me for them. The IP number should be an alias on one of the interfaces. mount a /proc in each jail, it will make ps more useable. /proc/<pid>/status tells the hostname of the prison for jailed processes. Quotas are only sensible if you have a mountpoint per prison. There are no privisions for stopping resource-hogging. Some "#ifdef INET" and similar may be missing (send patches!) If somebody wants to take it from here and develop it into more of a "virtual machine" they should be most welcome! Tools, comments, patches & documentation most welcome. Have fun... Sponsored by: http://www.rndassociates.com/ Run for almost a year by: http://www.servetheweb.com/
* Add the jail system call.phk1999-04-281-1/+2
|
* s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.dt1999-04-2852-92/+92
| | | | (Edited automatically)
* Sync with sys/i386/isa/clock.c revision 1.132.kato1999-04-283-3/+9
|
OpenPOWER on IntegriCloud