summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* This patch clears the way for removing a number of tty relatedphk1999-09-2540-634/+271
| | | | | | | | | | | | | | | | | | | | | fields in struct cdevsw: d_stop moved to struct tty. d_reset already unused. d_devtotty linkage now provided by dev_t->si_tty. These fields will be removed from struct cdevsw together with d_params and d_maxio Real Soon Now. The changes in this patch consist of: initialize dev->si_tty in *_open() initialize tty->t_stop remove devtotty functions rename ttpoll to ttypoll a few adjustments to these changes in the generic code a bump of __FreeBSD_version add a couple of FreeBSD tags
* Add missing 't' in printf message.phk1999-09-251-1/+1
|
* Remove unnecessary file. This file is obsolete by newbus integration.nyan1999-09-251-1144/+0
|
* Fix a hole in jail(2).phk1999-09-257-2/+24
| | | | Noticed by: Alexander Bezroutchko <abb@zenon.net>
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-2553-563/+16
| | | | | | | | | | | | This means that we will not have to have a bpf and a non-bpf version of our driver modules. This does not open any security hole, because the bpf core isn't loadable The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be. Add a couple of missing FreeBSD tags.
* Oops! I enabled SOFTUPDATES by accident.phk1999-09-253-3/+3
| | | | Pointed out by: eivind
* Merge from sys/i386/conf/files.i386 revision 1.270 and 1.271.nyan1999-09-252-6/+10
|
* Call sk_start() at the end of sk_intr() if there's packets in thewpaul1999-09-252-0/+10
| | | | interface send queue that need to be processed.
* Switch the order of a two tests so that the error actually has to occurobrien1999-09-242-2/+2
| | | | | | | | for you to be told there was an error [during verbose boot]. I poked him for the fix, he poked me to get it committed. Submitted by: Jason Young <doogie@anet-stl.com>
* Fix timeout handeling and add retry counts.sos1999-09-247-37/+75
| | | | | | Add HPT366 probe message (but no real support yet), Add CDR support for several diffenrent blocktypes, also close disk as a multisession CD.
* Header file required to support ccd changes. Forgot to commit lastdillon1999-09-231-0/+2
| | | | night.
* - Supported 1.23MB FD again.nyan1999-09-232-118/+138
| | | | | - Supported all formats that IBM-PC's driver (isa/fd.c) supports. - Changed the device minor numbers. They sync in IBM-PC's driver.
* Linux doesn't complain if you remove a msg queue that doesn't existmarcel1999-09-232-2/+6
| | | | (given the proper permissions).
* Cleanup CCD quite a bit, including adding clarifying comments.dillon1999-09-232-294/+714
| | | | | | | | | | | | | | | Enhance MIRROR code. Add a few more sanity checks and implement a zone-based disk selector to make use of both disks when reading. Also implement a read fail-over. If a read error occurs on one disk, the I/O is retried on the other. NOTE: CCD's mirroring support cannot deal with write errors properly in regards to recovery, meaning that 'old' data under a write error may be read non-deterministically if you reboot after a write error, and CCD certainly cannot deal with a disk changeout. And it still can't. Use vinum if you are really serious about mirroring. CCD basically just implements a poor-man's mirror.
* Fix ccdiodone code. The code was using cbp->cb_buf.b_bcount todillon1999-09-232-2/+20
| | | | | | sum the total amount of I/O issued to determine when all the I/O has completed. This fails when the EOF boundry occurs in the middle of an I/O. Using cbp->cb_buf.b_bufsize works better.
* Make the frequency tuneable via a sysctl.jhay1999-09-231-1/+24
| | | | Reviewed by: phk
* Restore vendor $Id$ now that it won't be clobbered.peter1999-09-234-4/+4
|
* Fix a commit that shouldn't have snuck in. Rev 1.12 was a part of thepeter1999-09-231-0/+5
| | | | newbusification of aha, not device_get_flags() related...
* MFS: firewall -> firewall_typejkh1999-09-233-3/+3
|
* Fixed the bug that the number of sectors per cylinder was stored intokato1999-09-231-1/+1
| | | | | | the ncyls (number of cylinders) in dsinit(). Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* - Fixed DMA 64k boundary problem.kato1999-09-231-7/+14
| | | | | | - Test the processor flag to detect disk I/O BIOS errors. Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
* Sync with sys/dev/syscons/syscons.c revision 1.322.kato1999-09-231-114/+92
|
* As suggested by phk, unconditionalize BPF support in these drivers. Sincewpaul1999-09-2321-212/+26
| | | | | | | there are stubs compiled into the kernel if BPF support is not enabled, there aren't any problems with unresolved symbols. The modules in /modules are compiled with BPF support enabled anyway, so the most this will do is bloat GENERIC a little.
* Fix bug in pseudo-geometry calculation code that assumed a sector sizedillon1999-09-232-2/+2
| | | | smaller then 1024 bytes.
* Regeneration.luoqi1999-09-223-6/+9
|
* Implement linux_ioperm() syscall. Fix linux_iopl() to use the level argument.luoqi1999-09-226-18/+54
| | | | | | SVGAlib should now work. Reviewed by: marcel
* Add phk's m(4) Memory Disk driver as a KLD. I don't believe itgreen1999-09-222-1/+10
| | | | works properly after unloading, however.
* Fix includes (remove unnecessary ones, reorder necessary ones.)green1999-09-221-16/+5
| | | | | | Also, correct an %x to be %lx. Reviewed by: phk
* Display CPU (BSP) clock speed on SMP systems.luoqi1999-09-222-8/+0
|
* Stylistic cleanup.phk1999-09-221-5/+3
| | | | Submitted by: ken.
* Kill the cdevsw->d_maxio field.phk1999-09-225-29/+26
| | | | | | | | | d_maxio is replaced by the dev->si_iosize_max field which the driver should be set in all calls to cdevsw->d_open if it has a better idea than the system wide default. The field is a generic dev_t field (ie: not disk specific) so that tapes and other devices can use physio as well.
* Mention in the documentation that the AOpen/Acer ALN-320 is a supportedwpaul1999-09-223-3/+6
| | | | ethernet card (PCI, VIA Rhine II chipset).
* Oops, the syntax didn't work that way...sos1999-09-222-6/+10
|
* Delete the README file from /sys/pci.roger1999-09-221-85/+0
| | | | Important information is now in the bktr man page
* Bt848 driver now moved to /sys/dev/bktrroger1999-09-223-7961/+0
|
* ReLink() partial links in FindLinkOut() in the same manner as we do itru1999-09-221-7/+15
| | | | | | in FindLinkIn(). This will make TcpMonitorIn()/TcpMonitorOut() happy. Reviewed by: eivind
* Support quad & max speeds in wormcontrol.sos1999-09-2211-98/+47
| | | | A bit more general cleanup.
* Sync with sys/i386/isa/npx.c revision 1.78.kato1999-09-221-0/+2
|
* Sync with sys/i386/i386/userconfig.c revision 1.159.kato1999-09-221-1/+1
|
* Sync with sys/i386/conf/majors.i386 revision 1.86.kato1999-09-221-2/+2
|
* Added mp_clock.c.kato1999-09-222-0/+2
|
* Commented out ed driver.kato1999-09-222-20/+20
|
* Sync with sys/i386/conf/GENERIC revision 1.192.kato1999-09-222-4/+4
|
* Use new location of Bt848 driver.roger1999-09-221-6/+3
| | | | Remove NPCI generation as the driver no longer checks for NPIC > 0
* Bktr Bt848/Bt878 driver is now in /sys/dev/bktrroger1999-09-221-2/+2
|
* I knew it, I introduced new bugs :)sos1999-09-222-6/+7
| | | | | | | | | | The lun is not incremented in the ata-disk driver when ATA_STATIC_ID is not defined, thanks to Kenneth Wayne Culver <culverk@wam.umd.edu> for finding that one. PHK pointed at the & problem in atapi-cd in devstat_end_transaction_buf. Too little sleep I guess...
* Move the bktr Bt848/Bt878 driver to /sys/dev/bktrroger1999-09-222-4/+4
| | | | | | | | Phase 1) move the driver Phase 2) Phase 3) Profit, by splitting the driver into smaller files like bktr_tuner, bktr_card, bktr_audio, bktr_<osname> making it easier to maintain and understand.
* Update the Tigon driver firmware images to the latest release fromwpaul1999-09-226-7552/+6990
| | | | Alteon (12.6.15).
* Tweak these for what I hope is the last time: change the DRIVER_MODULE()wpaul1999-09-2221-21/+21
| | | | | | | | | | declaration for the interface driver from "foo" to "if_foo" but leave the declaration for the miibus attached to the interface driver alone. This lets the internal module name be "if_foo" while still allowing the miibus instances to attach to "foo." This should allow ifconfig to autoload driver modules again without breaking the miibus attach.
* Back out a portion of the last commit. DFLTPHYS and MAXPHYS cannotdillon1999-09-226-47/+3
| | | | | | | | | be set by a kernel conf option due to the struct buf structural dependancy (sizing of b_pages[]) creating a conflict with modules (which are not compiled with kernel config options overrides). We'll be able to sysctl these two later on when the buffer subsystem is revamped.
OpenPOWER on IntegriCloud