summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert all users of fldoff() to offsetof(). fldoff() is badphk2000-10-2751-120/+45
| | | | | | | | | | | | | | | | | | | | | | | because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Remove myriad of local offsetof() definitions. Remove includes of <stddef.h> in kernel code. NB: Kernelcode should *never* include from /usr/include ! Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API. Deprecate <struct.h> with a warning. The warning turns into an error on 01-12-2000 and the file gets removed entirely on 01-01-2001. Paritials reviews by: various. Significant brucifications by: bde
* MFS: don't expect result code until you close the data connectiondes2000-10-271-3/+3
|
* Expand on the reasons for and against defining NO_F00F_HACK. This is one ofdougb2000-10-272-4/+4
| | | | | | those options that is frequently misunderstood, and ends up on -questions. PR: 21852
* Backout revision 1.7 which was a bad idea since it would force peopledfr2000-10-271-1/+1
| | | | | | | | | | to reinstall boot1 after a 'make world'. Unfortunately this means that people who have already installed a new boot1 from a 'make world' after 2000/09/18 *must* reinstall it after their next build using something like: # disklabel -B /dev/da0c
* Remove bogus undocumented macros used to control conditional assembly.phk2000-10-271-13/+0
|
* Remove #if DO_DEFLATEphk2000-10-272-6/+0
| | | | | | Remove #if DO_BSD_COMPRESS They are the wrong way to enable/disable features and undocumented to boot.
* Declare or #define per-cpu globals in <machine/globals.h> in all cases.bde2000-10-2717-77/+12
| | | | The i386 UP case was messily different.
* Fetch the protocol header (TCP, UDP, ICMP) only from the first fragmentru2000-10-271-16/+11
| | | | | | | | of IP datagram. This fixes the problem when firewall denied fragmented packets whose last fragment was less than minimum protocol header size. Found by: Harti Brandt <brandt@fokus.gmd.de> PR: kern/22309
* Merge from i386: Add MSP ioctlroger2000-10-271-0/+10
|
* Add Melco LPC2-T/LPC3-TX PCMCIA Ethernet cards.tanimura2000-10-272-2/+2
|
* As the blocking model has seems to be troublesome for many, disablemarkm2000-10-2711-1/+30
| | | | | | | it for now with an option. This option is already deprecated, and will be removed when the entropy-harvesting code is fast enough to warrant it.
* Add PCI device ID for an upcoming revision of the product.msmith2000-10-272-1/+3
|
* Add a missing newline to a diagnostic.msmith2000-10-271-1/+1
|
* Defining usage() "__dead" is just ridiculous. It also won't compile withobrien2000-10-271-2/+2
| | | | | | a June 2000 GCC 2.96 snapshot. Reviewed by: bde
* Report the type of mbuf that couldn't be allocated beforebrian2000-10-271-13/+21
| | | | aborting ppp.
* Add and document the WITNESS_SKIPSPIN and WITNESS_DDB kernel options.jhb2000-10-273-0/+14
|
* - Use MUTEX_DECLARE() and MTX_COLD for the WITNESS code's internal mutex sojhb2000-10-273-168/+114
| | | | | | | | | | | | | | | | it can function before malloc(9) is up and running. - Add two new options WITNESS_DDB and WITNESS_SKIPSPIN. If WITNESS_SKIPSPIN is enabled, then spin mutexes are ignored by the WITNESS code. If WITNESS_DDB is turned on and DDB is compiled into the kernel, then the kernel will drop into DDB when either a lock hierarchy violation occurs or mutexes are held when going to sleep. - Add some new sysctls: debug.witness_ddb is a read-write sysctl that corresponds to WITNESS_DDB. The kernel option merely changes the default value to on at boot. debug.witness_skipspin is a read-only sysctl that one can use to determine if the kernel was compiled with WITNESS_SKIPSPIN. - Wipe out the BSD/OS-specific lock order lists. We get to build our own lists now as we add mutexes to the kernel.
* I don't know what "Toshiba Ethernet Cards" are.hosokawa2000-10-272-4/+0
| | | | | I think this is very old entry and should be removed or replaced with more accurate ones.
* Fix problems people were having with large -O levels with GCC andgreen2000-10-273-8/+50
| | | | | | | | | | getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem.
* Yet another bug fix/optimization for the Davicom DM9100/9102: increasewpaul2000-10-272-0/+10
| | | | | | | | | the PCI latency timer value to 0x80. Davicom's Linux driver does this, and it drastically reduces the number of TX underruns in my tests. (Note: this is done only for the Davicom chips. I'm not sure it's a good idea to do it for all of them.) Again, still waiting on confirmation before merging to stable.
* Add in MLINKS for all of the various mutex functions to mutex.9jhb2000-10-261-0/+9
|
* - Document MUTEX_DECLARE and MTX_COLDjhb2000-10-261-5/+42
| | | | - Clean up some minor nits
* Add a note that the spl() API is deprecated in favor of mutexes.jhb2000-10-263-1/+19
|
* Add a prototype mbuf.9 man page. Probably needs work, but it's a goodnik2000-10-262-1/+408
| | | | | | | start. PR: docs/22053 Submitted by: Yar Tikhiy <yar@comp.chem.msu.su>
* Remove a doubled "in the".nik2000-10-261-1/+1
| | | | | PR: docs/22140 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Update to include a link to the referenced papers when PRINTERDEVICE=htmlnik2000-10-264-61/+280
| | | | | PR: docs/22140 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
* Add a MAINTAINER= line so people know who to blamegshapiro2000-10-2612-0/+24
|
* For %c replace reference to asctime(3) with ctime(3) from which %c geneticallyache2000-10-261-1/+1
| | | | originates
* Add copyright to skeleton.julian2000-10-261-6/+29
|
* Sigh. It'd be nice to completely commit a bugfix. Once again:bmah2000-10-261-6/+6
| | | | | Fix a bug in which pkg_version(1) was ignoring $PORTREVISION or $PORTEPOCH from ports' Makefile definitions.
* Install the loader manpages.obrien2000-10-261-1/+0
|
* Fix a bug in which pkg_version(1) was ignoring $PORTREVISIONbmah2000-10-261-5/+8
| | | | or $PORTEPOCH from ports' Makefile definitions.
* some more cleanupsjulian2000-10-261-66/+113
| | | | still need to handle non-PNP devices properly.
* add reinit functions to mixerscg2000-10-2613-21/+100
| | | | | unstaticize chn_start() add reset/resetdone functions to channels
* do not attach to soundblaster 1.x - they are unsupportedcg2000-10-261-3/+7
|
* Change comment from sprintf to snprintfimp2000-10-261-1/+1
|
* Change snprintf to strncpy.imp2000-10-261-2/+9
| | | | | Also add a comment about a bogus assumption in the current code found at bsdcon by jhb.
* Improve some slightly confused formatting.dwmalone2000-10-261-3/+3
| | | | Reviewed by: sheldonh
* Note update of bktr(4) to 2.17 (+MFC) and fix up some problems withbmah2000-10-263-13/+32
| | | | a prior note about this driver. Note addition of uscanner(4).
* fix unaligned access errors caused by bad scanf/printf format stringsgallatin2000-10-261-4/+4
| | | | | PR: alpha/21247 tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
* fix unaligned access errors by copying untyped data to properly alignedgallatin2000-10-262-48/+48
| | | | | | | locals PR: alpha/13912 obtained from: NetBSD tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
* Add new ioctls for userland access to the MSP deviceroger2000-10-263-0/+30
|
* add a version tag for the alpha linulator to depend ongallatin2000-10-261-0/+2
|
* Fix typoroger2000-10-261-1/+1
|
* Minor build fixes.dfr2000-10-264-3/+4
|
* Treat c_fmt field as compatibility placeholderache2000-10-262-5/+3
|
* Force "%c" to be ctime-compatibleache2000-10-261-1/+2
| | | | Submitted by: ru
* Added "minimum3": spare room for multilingual installer and driver floppy.hosokawa2000-10-262-0/+10
| | | | The size is 3 x 1.44MB.
* Update osf1_setuid() and osf1_setgid() to use the new change_euid() andgallatin2000-10-261-8/+13
| | | | | | | | | | change_ruid() in kern_prot.c. This fixes an incorrect use of chgproccnt(). Update both osf1_setuid() and osf1_setgid() to use setsugid() instead of just frobbing the flag. (mostly) submitted by: truckman
* unstaticize change_ruid() because it is needed by osf1_setuid()gallatin2000-10-262-3/+2
|
OpenPOWER on IntegriCloud