summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Enable the sym module.alex2000-12-191-1/+1
|
* Use the default value for MFILESalex2000-12-191-1/+0
|
* Proberly back down DMA modes on the Acer Aladdin.sos2000-12-192-5/+13
|
* un-staticize M_AGP so that it can be used in agp*.cassar2000-12-192-2/+2
|
* remove pfctlinputassar2000-12-191-2/+0
|
* Several small but important fixes for snapshots:mckusick2000-12-194-17/+40
| | | | | | | | | | | 1) Be more tolerant of missing snapshot files by only trying to decrement their reference count if they are registered as active. 2) Fix for snapshots of filesystems with block sizes larger than 8K (from Ollivier Robert <roberto@eurocontrol.fr>). 3) Fix to avoid losing last block in snapshot file when calculating blocks that need to be copied (from Don Coleman <coleman@coleman.org>).
* Get rid of spurious check in ffs_truncate for i_size == lengthmckusick2000-12-191-2/+0
| | | | | | | which fails to set the modification time on the file. The same check a few lines later takes the correct action. Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* translate the flags in recvfrom and recvmsg from linux to bsd onesassar2000-12-192-2/+121
| | | | Approved by: marcel
* Fix column alignment (whitespace-only change).rnordier2000-12-191-1/+1
|
* Fix another sched_sihand -> sched_swi in a KTR trace message.jhb2000-12-181-1/+1
|
* Convert the sio driver to use a spin mutex instead of a s_lock. This isjhb2000-12-182-246/+116
| | | | | | going to hurt sio(4) performance for the time being. As we get closer to release and have more of the kernel unlocked we can come back to doing arcane optimizations to workaround the limitations of the sio hardware.
* Attempt to read and verify the card's status in wi_stop() before sending itjhb2000-12-182-4/+18
| | | | | | | the disable command. On some systems, writing to the card after it has been ejected causes the machine to hang. Reviewed by: wpaul
* Add power state manipulation to the fxp driver. Some people havewpaul2000-12-182-0/+40
| | | | | | claimed that their Intel NIC is comatose after a warm boot from Windoze. This is most likely due to the card getting put in the D3 state. This should bring it back to life.
* Use pci_get_powerstate()/pci_set_powerstate() which now exists in thewpaul2000-12-184-94/+70
| | | | | | | | PCI code. This saves each driver from having to grovel around looking for the right registers to twiddle. I should eventually convert the other PCI drivers to do this; for now, these three are ones which I know need power state handling.
* Remove the "wd" driver.phk2000-12-181-1/+0
|
* Fix floppy drives on machines with lots of RAM.phk2000-12-181-1/+1
| | | | | | | | The fix works by reverting the ordering of free memory so that the chances of contig_malloc() succeeding increases. PR: 23291 Submitted by: Andrew Atrens <atrens@nortel.ca>
* Divorce the kernel binary ABI version number from the messagejulian2000-12-1837-278/+314
| | | | | | | | | format version number. (userland programs should not need to be recompiled when the netgraph kernel internal ABI is changed. Also fix modules that don;t handle the fact that a caller may not supply a return message pointer. (benign at the moment because the calling code checks, but that will change)
* Use "node->ID" for the node's ID, instead of "(long)node".archie2000-12-181-5/+1
| | | | Reported by: julian
* Linksys Fast Ethernet PCCARD cards supported by the ed driver nowtoshi2000-12-183-39/+44
| | | | | | | | require the addition of flag 0x80000 to their config line in pccard.conf(5). This flag is not optional. These Linksys cards will not be recognized without it. Reviewed by: imp, iwasaki
* Impossible to see typo.. |= instead of !=julian2000-12-181-1/+1
|
* revert addition of strlcpy/strlcatassar2000-12-182-4/+0
|
* Whitespace. Fix a comment block and an if statement that were widerjake2000-12-181-7/+9
| | | | than 80 characters.
* Unbreak the modules after the last commit (newpcm kobjification).green2000-12-182-2/+4
|
* Add an assertion macro for lockmgr locks, LOCKMGR_ASSERT(lkp, what, p).jake2000-12-182-0/+44
| | | | | | The what argument is the hold type that assertion acts on. LK_SHARED to assert that the process holds a shared, LK_EXCLUSIVE to assert that the process holds _either_ a shared lock or an exclusive lock.
* add strlcpy and strlcat to kernelassar2000-12-182-0/+4
|
* kobjify.cg2000-12-1840-2832/+2802
| | | | | | | | | | this gives us several benefits, including: * easier extensibility- new optional methods can be added to ac97/mixer/channel classes without having to fixup every driver. * forward compatibility for drivers, provided no new mandatory methods are added.
* add a stub for softdep_slowdown so that it's possible to build theassar2000-12-171-0/+6
| | | | kernel without SOFTUPDATES
* Avoid a data-consistency race between write() and mmap()dillon2000-12-173-0/+27
| | | | | | | | by ensuring that newly allocated blocks are zerod. The race can occur even in the case where the write covers the entire block. Reported by: Sven Berkvens <sven@berkvens.net>, Marc Olzheim <zlo@zlo.nu>
* Fix bug: a read() on a bpf device which was in non-blocking modejdp2000-12-171-5/+6
| | | | | | | | and had no data available returned 0. Now it returns -1 with errno set to EWOULDBLOCK (== EAGAIN) as it should. This fix makes the bpf device usable in threaded programs. Reviewed by: bde
* Call ed_probe_Novel in the AX88190 case as well.imp2000-12-171-1/+1
| | | | | | Remove stary blank line. Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
* Use getmicrotime() instead of microtime() when timestamping ICMP packets,billf2000-12-161-1/+1
| | | | | | | the former is quicker and accurate enough for use here. Submitted by: Jason Slagle <raistlin@toledolink.com> (on IRC) Reviewed by: phk
* Fix a typo that allowed signals caused by traps to be deliveredmarcel2000-12-161-1/+1
| | | | | | | to the process when said signal is masked. PR: 23457 Submitted by: Yasuhiko Watanabe <yasu@mrit.mei.co.jp>
* We currently does not react to ICMP administratively prohibitedphk2000-12-164-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages send by routers when they deny our traffic, this causes a timeout when trying to connect to TCP ports/services on a remote host, which is blocked by routers or firewalls. rfc1122 (Requirements for Internet Hosts) section 3.2.2.1 actually requi re that we treat such a message for a TCP session, that we treat it like if we had recieved a RST. quote begin. A Destination Unreachable message that is received MUST be reported to the transport layer. The transport layer SHOULD use the information appropriately; for example, see Sections 4.1.3.3, 4.2.3.9, and 4.2.4 below. A transport protocol that has its own mechanism for notifying the sender that a port is unreachable (e.g., TCP, which sends RST segments) MUST nevertheless accept an ICMP Port Unreachable for the same purpose. quote end. I've written a small extension that implement this, it also create a sysctl "net.inet.tcp.icmp_admin_prohib_like_rst" to control if this new behaviour is activated. When it's activated (set to 1) we'll treat a ICMP administratively prohibited message (icmp type 3 code 9, 10 and 13) for a TCP sessions, as if we recived a TCP RST, but only if the TCP session is in SYN_SENT state. The reason for only reacting when in SYN_SENT state, is that this will solve the problem, and at the same time minimize the risk of this being abused. I suggest that we enable this new behaviour by default, but it would be a change of current behaviour, so if people prefer to leave it disabled by default, at least for now, this would be ok for me, the attached diff actually have the sysctl set to 0 by default. PR: 23086 Submitted by: Jesper Skriver <jesper@skriver.dk>
* Add a cloning function to vn(4) which triggers on "vn%d.ctl". Give thephk2000-12-161-52/+112
| | | | | | | .ctl devices their own cdevsw since no I/O can or should be done on them. Vn(4) is still not entirely DEVFS friendly since it only creates vn%d nodes.
* PC-98 boxes use aic_cbus.c instead of aic_isa.c.nyan2000-12-161-1/+8
|
* Merged from sys/i386/conf/GENERIC revisions 1.292 - 1.294.kato2000-12-161-2/+1
|
* Switch off some debugging code.paul2000-12-162-3/+1
|
* Merged from sys/i386/i386/machdep.c revision 1.425.kato2000-12-162-8/+30
|
* Merged from files.i386 revision 1.340.kato2000-12-161-0/+1
|
* Merged from Makefile.i386 revision 1.215.kato2000-12-161-1/+1
|
* Merged from sys/boot/i386/loader/Makefile revision 1.49.kato2000-12-161-1/+1
|
* Enable building of lnc module.paul2000-12-161-1/+1
|
* Add lnc module.paul2000-12-161-0/+11
|
* Fixup some problems with the merged code of the previous commit.paul2000-12-163-5/+4
|
* Newbusify.paul2000-12-166-544/+627
| | | | Temporarily disable PC98 until I bring it up to date.
* Back out these two changes inadvertantly made with the last commit.jkh2000-12-162-9/+0
|
* Apply some contributed patches to reduce number of tx buffer allocationwpaul2000-12-154-6/+312
| | | | | | failures and add some support for WEP on Prism II chip. Submitted by: YAMAMOTO Shigeru <shigeru@iij.ad.jp>
* Fix ypo in essage about isabling EISA nterrupt ectormjacob2000-12-151-1/+1
| | | | (tip 'o the tired cap to Bernd Walter <ticso@cicely5.cicely.de>)
* SNAPDATE is an obsolete mechanism which has also been pretty muchjkh2000-12-153-4/+9
| | | | | | | of a no-op all along anyway. There are other ways to set this for release building, so nuke it. PR: 22979
* Change the following:bmilekic2000-12-155-11/+43
| | | | | | | | | | | | | | | | 1. ICMP ECHO and TSTAMP replies are now rate limited. 2. RSTs generated due to packets sent to open and unopen ports are now limited by seperate counters. 3. Each rate limiting queue now has its own description, as follows: Limiting icmp unreach response from 439 to 200 packets per second Limiting closed port RST response from 283 to 200 packets per second Limiting open port RST response from 18724 to 200 packets per second Limiting icmp ping response from 211 to 200 packets per second Limiting icmp tstamp response from 394 to 200 packets per second Submitted by: Mike Silbersack <silby@silby.com>
OpenPOWER on IntegriCloud