summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Remove cdevsw_add() - the necessary make_dev() calls appear to be therepeter1999-11-181-1/+0
| | | | already.
* Fix a warning.peter1999-11-181-1/+1
|
* 'const'ify a bunch of pointers in the resource_*() functions for accessingpeter1999-11-182-22/+28
| | | | the config hint tables. This fixes a few warnings elsewhere (eg: fd).
* Convert smb to use make_dev() rather than cdevsw_add(). This stops thepeter1999-11-181-1/+3
| | | | | annoying 'smb is usurping smb's cdevsw' type messages. (Yes, there are other ways to fix cdevsw_add(), but that is a doomed api)
* Convert iic to use make_dev() rather than cdevsw_add(). This stops thepeter1999-11-181-1/+3
| | | | | annoying 'iic is usurping iic's cdevsw' type messages. (Yes, there are other ways to fix cdevsw_add(), but that is a doomed api)
* Tidy up a few loose ends in the fifo setup code.peter1999-11-182-40/+2
| | | | | | Don't use NFDC as an arbitary limit, it is not required and goes against using PnP fdc devices (eg: when PNPBIOS is turned on, the motherboard devices (sio, fdc, etc etc) are detected via PnP, not config(8).)
* For now, disable umodem module building, because it doesn't. Don'tgreen1999-11-181-1/+1
| | | | want to break the snapshots :)
* Move Alpha conflicting entries (98,99) to 135,136. Renumber the zscpeter1999-11-182-4/+3
| | | | CDEV_MAJOR entry to match.. Is "ipr" in the tree? I can't find it.
* fix up a whitespace screwup I made.julian1999-11-181-2/+2
|
* 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.
* 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>
* 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
* 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
* 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
|
* 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.
* Make "-mpreferred-stack-boundary=2" the default on the i386.obrien1999-11-171-0/+13
| | | | This reduces the size of the kernel and modules when compiled with GCC 2.95.
* 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.
* Remove -O from CFLAGSn_hibma1999-11-177-7/+9
|
* 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-163-4/+6
|
* New Netgraph node type "ksocket".archie1999-11-163-0/+264
| | | | 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
|
* modfind(char *) -> modfind(const char *)brian1999-11-161-1/+1
| | | | Ok'd by: dfr
* Introduce commandline caching in the kernel.phk1999-11-167-2/+104
| | | | | | | | | | | This fixes some nasty procfs problems for SMP, makes ps(1) run much faster, and makes ps(1) even less dependent on /proc which will aid chroot and jails alike. To disable this facility and revert to previous behaviour: sysctl -w kern.ps_arg_cache_limit=0 For full details see the current@FreeBSD.org mail-archives.
* Commit the remaining part of PR14914:phk1999-11-168-101/+99
| | | | | | | | | | | Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY structures for list operations. This patch makes all list operations in sys/kern use the queue(3) macros, rather than directly accessing the *Q_{HEAD,ENTRY} structures. Reviewed by: phk Submitted by: Jake Burkholder <jake@checker.org> PR: 14914
* Fix usage of m_pullup().wpaul1999-11-161-1/+1
|
* Mchines whose interrupts are not routed through the ISA pic were stillgallatin1999-11-161-3/+11
| | | | | | | | | | | | | | registering their interrupts with rman as though they were going through the ISA pic. This prevents a conflict between isa & pci for irqs on such machines. Also hookup the chipset struct before calling platform.pci_intr_init(). This allows me to call inw/outw down in the platform code. Add interrupt printfs to match the CIA chipset. Reviewed by: dfr Tested by: wilko
* Fixed to compile bs driver with gcc 2.95.2.nyan1999-11-161-4/+7
|
* Sync with sys/i386/isa/pcaudio.c revision 1.57.nyan1999-11-161-11/+6
|
* Fixed warnings.nyan1999-11-163-6/+7
|
* Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.nyan1999-11-161-1/+1
|
* This is a partial commit of the patch from PR 14914:phk1999-11-1615-56/+50
| | | | | | | | | | | | | Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY structures for list operations. This patch makes all list operations in sys/kern use the queue(3) macros, rather than directly accessing the *Q_{HEAD,ENTRY} structures. This batch of changes compile to the same object files. Reviewed by: phk Submitted by: Jake Burkholder <jake@checker.org> PR: 14914
* Cosmetic changes.nyan1999-11-165-9/+48
|
* Install loader.rc.nyan1999-11-161-0/+4
|
* this is a full fix for writes not aligned to the sample size selected.cg1999-11-156-44/+78
| | | | should be a no-op in most cases.
* Removed the asm version of conv(). This is should be faster in its newobrien1999-11-151-11/+6
| | | | | | C form. See src/sys/i386/isa/sound/audio.c rev.1.23 Submitted by: bde
* set default ogain to 50 since some sb cards produce no sound at 0cg1999-11-152-0/+2
|
* Fix __asm__ clobber list abuses.obrien1999-11-151-3/+3
|
* Fix __asm__ clobber list abuse.obrien1999-11-152-6/+10
| | | | Submitted by: bde
OpenPOWER on IntegriCloud