summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cop on a bit and regenerate things correctly.brian1999-11-186-6/+6
| | | | Pointed out by: bde
* Cleanup of the code before we add a few thins.n_hibma1999-11-181-33/+49
| | | | | | | | | | | - remove the use of NDEV. It is confusing. MAXUSBDEV should do. - add some comments. - add more explanation in usage() - change the timeout value for undetected USB devices from 300 to 30 seconds. I don't think anyone wants to wait 5 minutes for broken devices to show up. The overhead CPU wise is very little. - print 'no controllers found' as a fatal error. - remove inclusion of malloc.h. It's unused.
* Add usbdevs and friends.n_hibma1999-11-184-0/+820
|
* Do not suggest user to change /etc/defaults/rc.conf.phantom1999-11-181-1/+0
| | | | Requested by: sheldonh
* mdoc(7)'fyphantom1999-11-181-33/+40
| | | | Mostly submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
* Set port_used and mem_used to the resource size instead of 1.nyan1999-11-183-6/+6
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* Change the clist reservation from 0 to buffer size.n_hibma1999-11-182-2/+2
| | | | Submitted by: mmoeller@infolibria.com
* Missed a name change.n_hibma1999-11-181-1/+1
|
* Sync with sys/isa/sio.c revision up to 1.275.nyan1999-11-182-220/+320
|
* Sync with sys/isa/fd.c revision 1.168.nyan1999-11-182-40/+2
|
* Sync with sys/i386/conf/Makefile.i386 revision up to 1.163.nyan1999-11-182-10/+14
|
* Argh, don't turn the IIR test on unless it's a pccard. These tests messpeter1999-11-182-48/+40
| | | | up the subsequent probes.
* Make last commit bde-compliant:pb1999-11-181-8/+9
| | | | | | - correct indentation - change data types for consistency with the rest of ping.c - create new variable separate from "answer" for clarity
* Hack: comment out the pull-in of src/sys/../share/mk/bsd.kern.mk aspeter1999-11-183-12/+18
| | | | | | | that breaks if you try and compile a kernel before building world, as is presently required to get past the signal changes. I don't particularly like doing this, but at least it will mean that a 'make world' will activate the gcc 2.95.2-specific option in bsd.kern.mk.
* Fix an unused variable warning.peter1999-11-182-2/+0
|
* If we have found pci devices via pci_cfgopen(), but don't find apeter1999-11-186-0/+84
| | | | | | | | host->pci bridge specifically, then add a pcib0 device on the motherboard for the pci bus to hang off. Requested by: Anders Andersson <anders@sanyusan.se> Obtained from: dfr
* remove PCATCH from a tsleep that isn't checked for (avoid infinite loop).alfred1999-11-181-1/+1
| | | | this needs to be revisited.
* Fix a warning (unused static declaration without MFS_ROOT)peter1999-11-181-0/+2
|
* Fix a warning.peter1999-11-182-0/+6
|
* Fix some -Wunused warningspeter1999-11-184-8/+0
|
* Fix some warnings.peter1999-11-181-2/+5
|
* Fix a warning.peter1999-11-182-6/+2
|
* Touch up the make_dev() usage to hopefully make it work and fix warnings.peter1999-11-181-5/+3
|
* Fix some warnings.peter1999-11-183-6/+6
|
* Fix a warning and a potential panic if TCPDEBUG is active. (tp ispeter1999-11-181-0/+2
| | | | a wild pointer and used by TCPDEBUG2())
* Fix a warning (unused variable RCSid)peter1999-11-181-1/+1
|
* Ensure that garbage from the kernel stack does not wind up beingdillon1999-11-183-0/+12
| | | | | | | | returned to user mode in the spare fields of the stat structure. PR: kern/14966 Reviewed by: dillon@freebsd.org Submitted by: Kelly Yancey kbyanc@posi.net
* Follow-up on mdoc fixes in rev 1.35; this includes things that I missedsheldonh1999-11-181-29/+58
| | | | | | in that revision as well as things I broke in that revision. A note- worthy instance of the latter case was the inversion of -E and -V in the subsection on Commandline Editing.
* Only bother converting the stat structure if we intend to return it,dillon1999-11-181-2/+3
| | | | | | | | when no error occurs. PR: kern/14966 Reviewed by: dillon@freebsd.org Submitted by: Kelly Yancey kbyanc@posi.net
* Zap nsiopeter1999-11-181-1/+0
|
* Sync to latest cardbusdevs fileimp1999-11-182-0/+175
|
* Merge some typo fixes from dev/sio/sio.c (siostop -> comstop)peter1999-11-182-94/+186
| | | | | | | | | | | | | | | Remove EXTRA_SIO/NSIOTOT and make it fully dynamic (from dev/sio/sio.c) Make sio work for pccard here - pccardd doesn't activate interrupts until after prove has succeeded. Mark the initial reset of likely sio ports as broken as it depended on config supplying a list of locations to probe, devices are now proved standalone. Optimize a bit of COM_NOAST4() logic. Use bus_get_resource_start() etc rather than using isa-centric calls. Reactivate the IIR_TXRDYBUG test, I've got a card here with it. Try to be a bit smarter about activating interrupts (ie: don't panic if polled) Fix some style bugs that have crept in over time (there are still more).
* Raw import of newconfig cardbus code. This is effectively an import,imp1999-11-187-0/+1093
| | | | so the code doesn't compile. I added $FreeBSD$ headers.
* Initial import of cardbus bridge driver (cbb) from the latestimp1999-11-183-0/+2701
| | | | | | newconfig code. This is a raw import and doesn't compile yet. Obtained from: newconfig project
* Add modules for cardbus and the cardbus bridge driver. Files neededimp1999-11-182-0/+34
| | | | | | to build these to be committed next. Again, not added to sys/modules/Makefile
* Newcard's pccard module. It compiles, but doesn't work. This shouldimp1999-11-181-0/+20
| | | | | | | | | | | make development easier and push the ability of newbus to load busses to the test. Not added to sys/modules/Makefile because it isn't ready to break the nightly snapshots for alpha yet :-). NOTE: This is only for NEWCARD. The old pccard stuff will not build as a loadable module.
* Remove the non-functional "swap device" userland front-end to thepeter1999-11-183-82/+14
| | | | | | | | | | | | | | | | | | | | | multiplexed underlying swap devices (/dev/drum). The only thing it did was to allow root to open /dev/drum, but not do anything with it. Various utilities used to grovel around in here, but Matt has written a much nicer (and clean) front-end to this for libkvm, and nothing uses the old system any more. The VM system was calling VOP_STRATEGY() on the vp of the first underlying swap device (not the /dev/drum one, the first real device), and using the VOP system to indirectly (and only) call swstrategy() to choose an underlying device and enqueue it on that device. I have changed it to avoid diverting through the VOP system and to call the only possible target directly, saving a little bit of time and some complexity. In all, nothing much changes, except some scaffolding to support the roundabout way of calling swstrategy() is gone. Matt gave me the ok to do this some time ago, and I apologize for taking so long to get around to it.
* Hijack old, broken, obsolete, unsupported pcic module for the NEWCARDimp1999-11-181-2/+14
| | | | | | | | | | code. You can now build the newcard's pcic driver as a module for all the joy that will bring you, which currently isn't so much joy as it is pain. The old pccard module will never be made to work again, so I think this is OK. Note, it still remains disabled in sys/modules/Makefile on purpose.
* Remove cdevsw_add() as the make_dev()'s are done in a clone-like fashion.peter1999-11-181-2/+0
| | | | | (ie: the next device is created with make_dev as the first is opened and so on)
* Remove cdevsw_add() - the make_dev() calls are already there.peter1999-11-182-16/+2
| | | | | Don't '#if NSNP > 0' around the thing as it's silly and not required. config(8) only causes it to be compiled if NSNP is > 0 by definition.
* Remove cdevsw_add() - the necessary make_dev() is already there.peter1999-11-181-1/+0
|
* 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).)
* Use a common MAKEDEV between the Alpha and i386 - the only differencespeter1999-11-183-2845/+1
| | | | | of significance were due to the Alpha version going stale. We use common device numbering for devices. Hopefully, this file's days are numbered.
* 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.
OpenPOWER on IntegriCloud