summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* o Remove #if XXX from around the probe code.imp1999-11-172-51/+43
| | | | | | | | | | | o Rewrite probe code to work in the newbus world. o Add preliminary pnp support. I have no clue what the pnp ids for the older ISA machines/cards. I don't have any of these cards/machines so I'll have to rely on the user community to give me help. o Minor code reformatting. Attach hasn't been touched, and there may be some config issues that we need to deal with as well. These will follow in time.
* Allow octal or hex input.grog1999-11-171-1/+1
| | | | Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>
* Add the entry for usb (as opposed to usb<number>). It's minor is equivalentn_hibma1999-11-173-3/+15
| | | | to usb255 and will be used for the event queue of the usb daemon.
* Change the name of the modules from <name>_mod to <name>n_hibma1999-11-178-12/+7
| | | | Suggested by: David O'Brien <obrien@FreeBSD.ORG>
* Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)ache1999-11-178-70/+116
| | | | | | daemons started. Move log_in_vain option there. It is needed to avoid lot of connections to port 80 logged on production WWW server prior Apache started from /usr/local/etc/rc.d
* Synchronisation with NetBSD as of 1999/11/16:n_hibma1999-11-1730-2187/+2929
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning up the code: - Declare many functions static - Change variable names to make them more self explanatory - Change usbd_request_handle -> usbd_xfer_handle - Syntactical changes - Remove some unused code - Other KNF changes Interrupt context handling - Change delay to usbd_delay_ms were possible (takes polling mode into account) - Change detection mechanism for interrupt context Add support for pre-allocation DMA-able memory by device driver Add preliminary support for isochronous to the UHCI driver (not for OHCI yet). usb.c, uhci.c, ohci.c - Initial attempt at detachable USB host controllers - Handle the use_polling flag with a lttle more care and only set it if we are cold booting. usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c - Make sure an aborted pipe is marked as not running. - Start queued request in the right order. - Insert some more DIAGNOSTIC sanity checks. - Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN. usb.c, usb_subr.c - Add an event mechanism so that a userland process can watch devices come and go. ohci.c - Handle the case when a USB transfer is so long that it crosses two page (4K) boundaries. OHCI cannot do that with a single TD so we make a chain. ulpt.c - Use a bigger buffer when transferring data. - Pre-allocate the DMA buffer. This makes the driver slightly more efficient. - Comment out the GET_DEVICE_ID code, because for some unknown reason it causes printing to fail sometimes. usb.h - Add a macro to extract the isoc type. - Add a macro to check whether the routine has been entered after splusb and if not, complain. usbdi.c - Fix a glitch in dequeueing and aborting requests on interrupt pipes. - Add a flag in the request to determine if the data copying is done by the driver or the usbdi layer.
* "b_unused1" was.phk1999-11-172-6/+4
| | | | | | Fix comment for b_caller[12] fields. Spotted by: grog
* Do timeouts in terms of hzphk1999-11-171-1/+1
| | | | Spotted by: julian
* Make proc/*/cmdline use the cached argv if available.phk1999-11-172-42/+62
| | | | | Submitted by: Paul Saab <paul@mu.org> Reviewed by: phk
* The function `procfs_getattr()' in procfs doesn't set the value ofphk1999-11-172-0/+4
| | | | | | | | vap->va_fsid, so we cannot get valid information about procfs. Submitted by: SAWADA Mizuki miz@pa.aix.or.jp Reviewed by: phk PR: 1654
* modfind(char *) -> modfind(const char *)brian1999-11-172-2/+2
| | | | Reminded by: dfr
* Fix ``set proctitle'' by using setproctitle().brian1999-11-176-20/+34
|
* Make setproctitle(NULL) restore all of the original argumentsbrian1999-11-174-60/+90
| | | | (if it's able).
* The logic for blackhole processing does not free mbufs if thephk1999-11-171-0/+2
| | | | | | | | blackhole flag is set. PR: 14958 Submitted by: Larry Baird <lab@gta.com> Reviewed by: phk
* purity change for name length checking codeache1999-11-171-1/+1
|
* Merge with OpenBSD whois (with bugfixes missed there)ache1999-11-173-38/+173
| | | | | | | | | | | New features are: Automatic lookup using *.whois-servers.net Recursive lookup using Registrar's name Fallback to InterNIC for non-domains -m for RADB database -Q to turn recursion/fallback off Obtained from: OpenBSD
* gcc 2.95.2imp1999-11-171-0/+3
|
* When allocating a new PKTHDR mbuf, always set m->m_pkthdr.rcvif = NULL.archie1999-11-173-2/+4
|
* Fix a couple of boo-boos in the last delta.mjacob1999-11-171-13/+15
|
* The pipleline problem introduced in version 1.22 wasn't fully fixed incracauer1999-11-171-1/+1
| | | | | | | 1.23. This revision should work for long pipes both in here-documents/backquote and in normal cases. Fix works for jmz, bde.
* Reduce max length of user names to 15 characters to reflect reality.davidn1999-11-171-2/+2
| | | | | This also prevents the line-wrap and messed up display that occurs when there happens to be one or more names with 15 chars.
* Build genrtl.h before print-rtl.o.obrien1999-11-171-1/+1
| | | | Submitted by: John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)
* Use the same technique as ps(1) to avoid the need for setgid. (ie: usepeter1999-11-172-5/+9
| | | | | /dev/null as the default kernel and /dev/mem filenames, but still allow the usual overrides)
* I'm probably jumping the gun, but what the heck, this is -current.peter1999-11-171-2/+2
| | | | | | | | | | | | | | | Turn off setgid-kmem for /bin/ps, it's now quite functional without it. ps no longer needs /dev/*mem or /proc. (It will still use some /proc files if they are available for -e, but it's not required, so it'll happily run in a jail or chroot). The proc stats are now part of eproc (obtained via sysctl) and no longer needs to beat up the u-page reading code and the problems with that. This also has the side effect of disabling 'ps -e' for normal users *EXCEPT* when looking at their own processes. ie: they can see environments in processes with their uid, enforced by the ownership of /proc/*/mem. Root can still see them all, as it can open all /proc/*/mem.
* Use eproc.e_stats, not a series of crude hacks to fetch it from the u-area.peter1999-11-171-60/+19
| | | | Also, fix some indentation that got messed up somehow..
* Add e_stats (p->p_stats, from struct user->u_stats) to eproc so it'speter1999-11-172-1/+4
| | | | | fetchable via sysctl. This saves ps having to read the u-area for stats. Be sure to recompile libkvm, ps, w, top and the usual suspects.
* Fix invalid option name: DIVERT -> IPDIVERTphantom1999-11-171-1/+1
|
* Add perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list ofsheldonh1999-11-171-3/+4
| | | | | | | | | | pod files to be converted to and installed as manual pages. These were probably overlooked in the last minor version number upgrade to perl5. This change was approved by the perl5 maintainer. PR: 14649 Submitted by: Andy Farkas <andyf@speednet.com.au>
* Allow sub-Makefile's to determine the version of the OS we are make'ing on.obrien1999-11-171-0/+4
|
* Add `mkstemp.c' to the mix if we are building on something older thanobrien1999-11-171-0/+3
| | | | | | | | | | | __FreeBSD_version < 400004. This allows -STABLE to build -CURRENT sources. [mkstemps() was added to -current just before the version bump to 400004 (a matter of hours in this case), so the test is as exact as possible.] Submitted by: marcel
* Make "-mpreferred-stack-boundary=2" the default on the i386.obrien1999-11-172-0/+26
| | | | This reduces the size of the kernel and modules when compiled with GCC 2.95.
* Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'obrien1999-11-171-4/+0
| | | | header with src/gcc/usr.bin/cc/cc_tools/Makefile.
* * Remove a trailing ";" from a macro.obrien1999-11-171-26/+26
| | | | * Style cleanup.
* This temperary file can die now.obrien1999-11-171-559/+0
|
* Fix for 11815 (at mount time do a throwaway read of the front of themjacob1999-11-171-131/+321
| | | | | | | tape to force the drive to do a media access so it knows what media may be inserted). Also Ken's make_dev patches- relatively untested.
* Get rid of some trailing commas in enumerated types that cause gcc token1999-11-172-6/+6
| | | | | | complain when some warnings are turned on. Requested by: Bertrand Petit <elrond@phoe.frmug.org>
* Convert the xpt, pass, pt and target drivers to use the newken1999-11-174-18/+27
| | | | make_dev()/destroy_dev() interface.
* Put the listening socket into non-blocking mode before doing anpeter1999-11-171-0/+8
| | | | | | | | | accept(2). This is a not really problem on -current as the accept race is fixed, however it is a MFC candidate for -stable. This could possibly be slightly more efficient and leave the listening socket permanently in non-blocking mode, but I wasn't certain that I could catch all the stream/wait (not nowait) mode implications.
* Fixed sorting on time. On i386's, time differences of more than 2147bde1999-11-171-9/+9
| | | | | | | | | | | | seconds caused overflow. Use a type-safe but slightly slower comparison. Comparisons for other fields are still fragile. Fixed rounding of cputime (don't do extra work to get it slightly wrong by first converting without rounding to milliseconds). Removed dead code for setting cputime. Fixed comments about cputime.
* Fix a bug in the hack that protects against FTP bounce attacks.jdp1999-11-171-3/+2
| | | | | | | | | It used to loop back up to the accept() call and block there, shutting out all other transports until a new connection came in. Now it returns instead after dropping the connection. That will take it back to the select() loop where all transports can be serviced. I intend to MFC this within a day or two since it fixes a DoS vulnerability.
* Remove -O from CFLAGSn_hibma1999-11-177-7/+9
|
* Don't complain loudly about unknown termcap capabilities, eg:peter1999-11-172-2/+2
| | | | | | | | {vladivostok:/usr/home/ken:1:0} echo |more "TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0' "TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX' Submitted by: Kenneth D. Merry <ken@kdm.org>
* Add option NETGRAPH_KSOCKET.archie1999-11-161-0/+1
|
* Add option NETGRAPH_KSOCKET.archie1999-11-164-0/+4
|
* Add reference to new netgraph node type "ksocket".archie1999-11-164-5/+8
|
* New Netgraph node type "ksocket".archie1999-11-164-0/+392
| | | | Obtained from: Whistle source tree
* New netgraph node type "ksocket".archie1999-11-162-0/+543
| | | | Obtained from: Whistle source tree
* Typon_hibma1999-11-165-5/+5
|
* Add the USB modules.n_hibma1999-11-161-0/+15
|
* Remove some extraneous ifdefs, and don't try to put the socket inbrian1999-11-161-21/+1
| | | | | O_NONBLOCK. The select() is the best best as I don't want to muck about with the send/receive thresholds.
OpenPOWER on IntegriCloud