summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Remove extraneous ";" from C++'s version of __END_DECLS.dt1998-05-281-2/+3
| | | | Found by: TenDRA C++
* Sync with sys/i386/isa/clock.c revision 1.121.kato1998-05-283-9/+9
|
* Sync with sys/i386/i386/machdep.c revision 1.297.kato1998-05-282-22/+4
|
* Sync with sys/i386/boot/kzipboot/Makefile revision 1.9.kato1998-05-281-2/+2
|
* Sync with sys/i386/boot/biosboot/Makefile revision 1.64.kato1998-05-281-1/+5
|
* Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.phk1998-05-2832-174/+194
| | | | | | | | | | | | | | | | | | | | Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde
* Install ${DESTDIR}/boot.help during `make distribution'.jkoshy1998-05-271-1/+5
| | | | | PR: 6063 Submitted by: Doug <Studded@dal.net>
* Fix some bitrot in the multicast support, the move from TAILQ macros wasn't ↵paul1998-05-272-4/+4
| | | | implemented fully.
* This time add an Id string that'll actually get expanded :-)paul1998-05-272-2/+2
|
* Add an ID string (can't believe it never had one!)paul1998-05-272-0/+2
|
* Install in /usr/lib/aoutsos1998-05-271-2/+2
|
* A fix to a debug test from Kirk.julian1998-05-272-2/+8
|
* Ignore 'invalid' interrupts that occur while the interface is down.wpaul1998-05-261-2/+12
| | | | | | | | These are probably generated by other PCI devices sharing the TLAN's interrupt. The programmer's guide says to simply re-enable interrupts and return if one of these is detected. Prompted by bug report from: Bill Fenner
* Fixed logic in the test to drop ICMP echo and timestamp packets whendg1998-05-261-5/+3
| | | | | | | | | net.inet.ip.icmp.bmcastecho = 0 by removing the extra check for the address being a multicast address. The test now relies on the link layer flags that indicate it was received via multicast. The previous logic was broken and replied to ICMP echo/timestamp broadcasts even when the sysctl option disallowed them. Reviewed by: wollman
* code was using wrong temporary variable "i", in place of "j".jmb1998-05-261-2/+2
| | | | | | | | | | | i contains the contents of the EP_W0_CONFIG_CTRL register. i was being used as the array index into an array on the stack. j is initialized to 0 as it should be. PR: kern/6757 Reviewed by: jmb Submitted by: Stephane E. Potvin <sepotvin@videotron.ca>
* Add optional code to change the way that divert and ipfw work together.julian1998-05-256-8/+126
| | | | | | | | | | | | | | | | | | | | | | | Prior to this change, Accidental recursion protection was done by the diverted daemon feeding back the divert port number it got the packet on, as the port number on a sendto(). IPFW knew not to redivert a packet to this port (again). Processing of the ruleset started at the beginning again, skipping that divert port. The new semantic (which is how we should have done it the first time) is that the port number in the sendto() is the rule number AFTER which processing should restart, and on a recvfrom(), the port number is the rule number which caused the diversion. This is much more flexible, and also more intuitive. If the user uses the same sockaddr received when resending, processing resumes at the rule number following that that caused the diversion. The user can however select to resume rule processing at any rule. (0 is restart at the beginning) To enable the new code use option IPFW_DIVERT_RESTART This should become the default as soon as people have looked at it a bit
* Fixed missing semicolon and added space before semicolon.kato1998-05-252-6/+6
| | | | Noticed by: Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
* Hide the interface name in the sin_zero section of the sockaddr_injulian1998-05-251-8/+50
| | | | | | | | | | | passed to the user process for incoming packets. When the sockaddr_in is passed back to the divert socket later, use thi sas the primary interface lookup and only revert to the IP address when the name fails. This solves a long standing bug with divert sockets: When two interfaces had the same address (P2P for example) the interface "assigned" to the reinjected packet was sometimes incorect. Probably we should define a "sockaddr_div" to officially hold this extended information in teh same manner as sockaddr_dl.
* Take the user's "IGNORE_DIVERT" argument from where the user put itjulian1998-05-251-5/+7
| | | | | and not from the PCB which HAPPENS to contain the same number most of the time, but not always.
* Take IP options into account when calculating the allowable lengthfenner1998-05-241-4/+13
| | | | | | | of the TCP payload. See RFC1122 section 4.2.2.6 . This allows Path MTU discovery to be used along with IP options. PR: problem discovered by Kevin Lahey <kml@nas.nasa.gov>
* Reviewed by: hasty@freebsd.orgahasty1998-05-242-14/+0
| | | | | | Submitted by: hasty@star-gate.com Eliminate NTSC default setting if user choses a different video format.
* The ipt_ptr field is 1-based (see TCP/IP Illustrated, Vol. 1, pp. 91-95),dg1998-05-241-3/+3
| | | | | | | | | | so it must be adjusted (minus 1) before using it to do the length check. I'm not sure who to give the credit to, but the bug was reported by Jennifer Dawn Myers <jdm@enteract.com>, who also supplied a patch. It was also fixed in OpenBSD previously by andreas.gunnarsson@emw.ericsson.se, and of course I did the homework to verify that the fix was correct per the specification. PR: 6738
* Convert a couple of large allocations to use zones rather than mallocpeter1998-05-2415-102/+86
| | | | | | for better packing. This means that we can choose better values for the various hash entries without having to try and get it all to fit within an artificial power of two limit for malloc's sake.
* Reformat some comments to not overflow 80 chars.julian1998-05-241-69/+63
|
* Support a 16K first level cache for 512K 2nd level. Also, add supportdyson1998-05-241-2/+11
| | | | for 1MB 2nd level cache.
* Remove stray debug message.steve1998-05-241-1/+0
| | | | PR: 6722
* Primary verison of NetBIOS over TCP/IP. Now you can connect Windowsamurai1998-05-245-4/+622
| | | | | | | DOMAIN as DOMAIN user through NAT function. See also RFC1002 for futher detail of SMB structure. Submitted by: Atsushi Murai <amurai@spec.co.jp>
* Add CVS optionjkh1998-05-241-1/+2
| | | | Submitted by: Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
* Remove two CODA entries by request.jkh1998-05-241-2/+0
| | | | Submitted by: Robert Baron <rvb@sicily.odyssey.cs.cmu.edu>
* Fix a mind-o in tl_setmulti(): when setting a bit in the upperwpaul1998-05-241-3/+3
| | | | | | | 32 bits of the 64-bit hash table, we have to use a 32-bit shift, not 31. Pointed out by: Bill Fenner
* Add GDB support for ELF shared libs.dfr1998-05-232-2/+60
|
* Get more details on the "arpresolve: can't allocate llinfo" bogon.phk1998-05-231-3/+4
| | | | | | PR: 2570 Reviewed by: phk Submitted by: fenner
* Sync with sys/i386/conf/Makefile.i386 revision 1.113.kato1998-05-232-4/+4
|
* Use switch instead of if/else chain for 686 model identification.des1998-05-222-16/+82
| | | | Add precise model identification for 586-family CPUs.
* Remove 2.2.x compatibility code and #ifdefs. Once the shakedown periodwpaul1998-05-222-72/+5
| | | | | | | | | | | in -current is over, I'll put a 2.2.x specific version in the RELENG_2_2 branch. If somebody wants a 2.2 version of this driver now, they can check out the previous version from CVS or ask me via e-mail. Gee people, I didn't mean to stir up such a controversy. I just wanted to make sure I could get this thing to work with both kernel versions and didn't want to have to maintain two separate copies. All ya hadda do was ask. :)
* Add CPU_PII to the list.des1998-05-222-2/+4
|
* Correctly identify the precise CPU model within the 686 family: insteaddes1998-05-212-4/+32
| | | | | of just printing "Pentium Pro", check the model (cpu_id & 0xf0) and print the appropriate information.
* Move __FreeBSD_version from src/sys/conf/newvers.sh toeivind1998-05-215-9/+18
| | | | | | src/sys/sys/param.h, to facilitate access from the kernel. This make it possible to do outside kernel development and have it actually work properly.
* Yeargh! After all that, I forgot to remove the #include.jkh1998-05-211-4/+2
|
* Don't use __FreeBSD_version explicitly - none of the otherjkh1998-05-212-13/+13
| | | | | | drivers here do and it also blows up in building GENERIC during a release build if you try and include <osreldate.h> (which shot my SNAP dead - argh!). Use __FreeBSD__ instead.
* Sync with sys/i386/conf/GENERIC revision 1.109.kato1998-05-212-2/+4
|
* Make flushing dirty pages work correctly on filesystems thatdyson1998-05-217-25/+39
| | | | | | unexpectedly do not complete writes even with sync I/O requests. This should help the behavior of mmaped files when using softupdates (and perhaps in other circumstances also.)
* And entries for ThunderLAN driver.wpaul1998-05-215-5/+28
|
* Add entry for ThunderLAN driver to files.wpaul1998-05-211-0/+1
|
* Add Texas Instruments TNET100 'ThunderLAN' PCI NIC driver to the tree.wpaul1998-05-212-0/+3533
| | | | | | | | | | | | | | | | | | | | | | | This driver supports the following cards/integrated ethernet controllers: Compaq Netelligent 10, Compaq Netelligent 10/100, Compaq Netelligent 10/100, Compaq Netelligent 10/100 Proliant, Compaq Netelligent 10/100 Dual Port, Compaq NetFlex-3/P Integrated, Compaq NetFlex-3/P Integrated, Compaq NetFlex 3/P w/ BNC, Compaq Deskpro 4000 5233MMX. It should also support Texas Instruments NICs that use the ThunderLAN chip, though I don't have any to test. If you've got a card that uses the ThunderLAN chip but isn't listed in the PCI vendor/product list in if_tl.c, try adding it and see what happens. The driver supports any MII compliant PHY at 10 or 100Mbps speeds in full or half duplex. (Those I've personally tested are the National Semiconductor DP83840A (Prosignia server), the Level 1 LXT970 (Deskpro desktop), and the ThunderLAN's internal 10baseT PHY.) Autonegotiation, hardware multicast filtering, BPF and ifmedia support are included. This chip is pretty fast; Prosignia servers with NCR SCSI, ThunderLAN ethernet and FreeBSD make for a nice combination.
* Backed out last fix and fixed my typo:dg1998-05-211-2/+2
| | | | ipflow(fastforward -> ipflow_fastforward
* Back out previous commit - it breaks when called from 'buildworld' :-(eivind1998-05-205-12/+9
| | | | (Damn, I wanted that in the -snap).
* Move __FreeBSD_version into <sys/param.h> (with automated duplicationeivind1998-05-205-9/+12
| | | | | | to <osreldate.h>). This allow kernel drivers access to it. Approved by: -current
* Add missing close parendufault1998-05-201-2/+2
|
* Sync with sys/i386/isa/sio.c revision 1.202.kato1998-05-202-4/+4
|
OpenPOWER on IntegriCloud