summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* (Belatedly) add the required EXPORT_SYMS. I'm not sure the list is complete,des2002-02-221-0/+8
| | | | | but at least linprocfs works (I haven't had the opportunity to test other stuff that depends on the linux module, like aac or tdfx)
* - Whitespace fixes leftover from previous commit.arr2002-02-221-21/+21
| | | | Submitted by: bde
* - Whitespace fixup left over from previous commit.arr2002-02-221-10/+9
| | | | | | - Remove bogus cast. Submitted by: bde
* Convert p->p_runtime and PCPU(switchtime) to bintime format.phk2002-02-2217-46/+34
|
* Use better scaling factor for NTPs correction.phk2002-02-221-1/+7
| | | | Explain the magic.
* Allow PCI_ALLOW_UNSUPPORTED_IO_RANGE to leave broken setups broken enoughphk2002-02-221-0/+18
| | | | to work.
* GC: BIO_ORDERED, various infrastructure dealing with BIO_ORDERED.phk2002-02-225-12/+4
|
* GC: BIO_ORDERED going away.phk2002-02-225-30/+4
|
* Disksort will not "munge" requests, BIO_ORDERED or not, so removephk2002-02-224-16/+8
| | | | use of BIO_ORDERED.
* Replace bowrite() with BUF_WRITE in ufs.phk2002-02-223-20/+3
| | | | | | | | | Remove bowrite(), it is now unused. This is the first step in getting entirely rid of BIO_ORDERED which is a generally accepted evil thing. Approved by: mckusick
* GC: bufqueues are not used under -current, we use bioqueues.phk2002-02-221-47/+0
|
* Use make -V VARIABLE | xargs ... to pass argument lists to programluigi2002-02-221-5/+8
| | | | | | | | | | | | | so that this is safe even if VARIABLE is longer than kern.argmax. There is another instance of CFILES which might need the same treatment, and might be noticed when doing a "make links". The same has to be done in RELENG_4 (on some different file). Noticed-by: picobsd cross-compiling LINT Suggested-by: Alfred (bright@mu.org), des@freebsd.org MFC-after: 3 days
* - Massive style fixup.arr2002-02-221-1268/+1292
| | | | | Reviewed by: mike Approved by: dfr
* recovery from new binutils part II: fix the alpha kernel so thatgallatin2002-02-211-1/+1
| | | | | | it handles R_ALPHA_RELATIVE relocs with addends properly. tested by: ticso
* Reorder some of the ioctls and add a few new ones.mjacob2002-02-212-17/+37
| | | | MFC after: 1 day
* Add support for iovcnt greater than 1. This should resolve problemsbp2002-02-211-14/+16
| | | | | | | with some applications. Obtained from: Darwin project MFC after: 2 weeks
* Remove redundant checks for iovcnt > 1. This should be handled properlybp2002-02-211-7/+7
| | | | | | | in the subr_mchain. Obtained from: Darwin project MFC after: 2 weeks
* Add unicode related definition for future use. Descibe Samba bug.bp2002-02-212-1/+10
| | | | | Obtained from: Darwin project MFC after: 2 weeks
* Add subfunction definition for future use.bp2002-02-211-0/+1
| | | | MFC after: 2 weeks
* - Add support for Simplified Direct Access Device, mostly forsimokawa2002-02-212-1/+21
| | | | | | | | Firewire/SBP-II devices. - Add quirk for Logitec USB/Firewire HDD. MFC after: 3 days.
* Reserved one of the spare fields in struct gmon to record the historybde2002-02-211-2/+3
| | | | | | | | | | | | | | | | | | | counter type, as threatened in rev.1.8 (the density doesn't need to be recorded since it can be derived from other fields). This doesn't affect binary compatibility, but new utilities won't be able to depend on the contents of this field because libc/gmon/gmon.c was broken -- it wrote garbage to the spare fields. Added a history counter type field to struct gmonparam. This breaks binary compatibility a little, since kgmon wanted to read the whole struct. Fixed kgmon to only depend on reading the critical earlier parts of the struct. This should also fix 6+ year old breakage of binary compatibility when the profrate field was added. Only initialize the new field in struct gmon for now, so that the compatibility code for this (in kgmon) gets tested. The compatibility code has to guesstimate the value. The new field in struct gmonparam is for the kernel to initialize so that kgmon doesn't have to guess.
* Document the hw.physmem kernel environment variable.davidc2002-02-212-0/+8
| | | | Reviewed by: alfred
* Fixed some style bugs. Added a comment about a bug in PT_SSTEP.bde2002-02-211-25/+21
| | | | Approved by: des
* Recover bits that were lost in transition in rev.1.76:bde2002-02-211-16/+77
| | | | | | | | | | | | | | | | | - P_INMEM checks in all the functions. P_INMEM must be checked because PHOLD() is broken. The old bits had bogus locking (using sched_lock) to lock P_INMEM. After removing the P_INMEM checks, we were left with just the bogus locking. - large comments. They were too large, but better than nothing. Remove obfuscations that were gained in transition in rev.1.76: - PROC_REG_ACTION() is even more of an obfuscation than PROC_ACTION(). The change copies procfs_machdep.c rev.1.22 of i386/procfs_machdep.c verbatim except for "fixing" the old-style function headers and adjusting function names and comments. It doesn't remove the bogus locking. Approved by: des
* Fix a problem where a local loop disk logs out- and we get a PORT LOGGEDmjacob2002-02-211-8/+38
| | | | | | | | | | | | OUT status. We are, apparently, required to force the f/w to log back in if we want to try and talk to that disk again. This means either issuing a LOGIN LOCAL LOOP PORT mailbox command, or by issuing a LIP. I've elected to issue a LIP because this has a better chance of waking up the disk which clearly just crashed and burned. These should not occur at all. If they do, they should be darned rare. MFC after: 1 week
* Commit some infrastructure for turning on -Werror for kernel compiles.peter2002-02-207-10/+16
| | | | | | It doesn't actually do it yet though. This adds a flag to config so that we can exclude certain vendor files from this even when the rest of the kernel has it on. make -DNO_WERROR would also bypass all of it.
* Oops, used wrong error value for unimplemented syscalls.julian2002-02-201-6/+6
|
* Pass me the pointy hat please. Be sure to return a value in a non-voidpeter2002-02-202-2/+2
| | | | | function. I've been running with this buried in the mountains of compiler output for about a month on my desktop.
* Tidy up some unused variablespeter2002-02-202-10/+0
|
* Prefix structure members to protect them against clashes with eg.alfred2002-02-206-125/+125
| | | | | | | | | c++ keywords. This keeps us in sync with NetBSD because they actually committed my delta first. Ok'd by: lennard
* Cleanup of nmdm devicejulian2002-02-201-61/+100
|
* Add missing m_free() so we actually drain the send buffer in monitor mode.brooks2002-02-201-0/+2
| | | | Submitted by: Kenjiro Cho <kjc@csl.sony.co.jp>
* BUGFIX: make use of the pointer to the target of skipto rules,luigi2002-02-201-2/+4
| | | | | | | | | so that after the first time we can follow the pointer instead of having to scan the list. This was the intended behaviour from day one. PR: 34639 MFC-after: 3 days
* fix file descriptor leak.alfred2002-02-201-1/+2
| | | | Submitted by: Mark Santcroos <marks@ripe.net>
* When expanding a syncache entry into a socket, inherit the socket optionsjlemon2002-02-201-1/+1
| | | | | from the current listen socket instead of the cached (and possibly stale) TCB pointer.
* Check the status of the card bridge first thing, rather than last inimp2002-02-201-10/+16
| | | | | the loop. This fixes the "my card is in the laptop on boot, but doesn't attach" problem.
* - Fix style further by adding parentheses around return values so thatarr2002-02-201-14/+14
| | | | | they look like: return (val); instead of: return val;
* Send a NGM_PPPOE_ACNAME message to userland when a node is connected.brian2002-02-202-2/+25
| | | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Shuffled about by: brian Approved by: julian
* o Minor style fix on #endif, missing '_' in comment.rwatson2002-02-201-1/+1
|
* Add a module of xe driver.shiba2002-02-202-1/+11
| | | | Approved by: imp
* Add some code which is compatible for NEWCARD. It makes manufacturershiba2002-02-204-0/+18
| | | | | | id transfer from pccardd. Reviewed by: imp
* NEWCARD support for xe.shiba2002-02-201-1/+3
| | | | Reviewed by: imp
* Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byteshiba2002-02-203-0/+15
| | | | | | | when manufacturer id tuple length is 5. This change is for xe driver. This is a dirty hack. But there is no better idea. Reviewd by: imp
* - Style.9 formatting fix; this commit is mostly white space related witharr2002-02-201-209/+209
| | | | | | | | | | the next commit actually doing the: return val; -> return (val); changes. This commit was done in preparation for getting ``struct modules'' locked down. Reviewed by: bde Approved by: dfr
* Update xe driver to probe and attach in a NEWCARD kernel.shiba2002-02-203-310/+365
| | | | | | | And separate probe and attach routine for PC Card from if_xe.c to if_xe_pccard.c. Reviewed by: imp
* Fix typos in some comments.cjc2002-02-202-4/+4
| | | | | PR: i386/35114 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
* MFi386: revision 1.497nyan2002-02-202-2/+4
|
* Some more tidy-up of stray "unsigned" variables instead of p[dt]_entry_tpeter2002-02-204-46/+50
| | | | etc.
* More cleanups relating to vm object allocation failure: make sure werwatson2002-02-201-1/+5
| | | | | | | | | call VOP_CLOSE() with vp unlocked; clean up the return path a little, in as much as our namei/vnode operation return paths can be cleared up. For a return case that was apparently never taken, this sure is ugly. Reviewed by: jeffr
* Add a page queue, PQ_HOLD, that temporarily owns pages with nonzero holdtegge2002-02-193-4/+11
| | | | | | | | count that would otherwise be on one of the free queues. This eliminates a panic when broken programs unmap memory that still has pending IO from raw devices. Reviewed by: dillon, alc
OpenPOWER on IntegriCloud