summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Convert the vm_pager_strategy() interface to take a struct bio instead ofphk2000-05-036-104/+76
| | | | | | a struct buf. Don't try to examine B_ASYNC, it is a layering violation to do so. The only current user of this interface is vn(4) which, since it emulates a disk interface, operates on struct bio already.
* Remove 42 unneeded #include <sys/ioccom.h>.phk2000-05-0343-43/+0
| | | | | | ioccom.h defines only implementation detail, and should therefore only be included from the #include which defines the ioctl tags, in other words: never include it from *.c
* Don't allow VOP_GETEXTATTR to set uio->uio_offset != 0, as we don'trwatson2000-05-031-12/+10
| | | | | | | | | | provide locking over extended attribute operations, requiring that individual operations be atomic. Allowing non-zero starting offsets permits applications/etc to put themselves at risk for inconsistent behavior. As VOP_SETEXTATTR already prohibited non-zero write offsets, this makes sense. Suggested by: Andreas Gruenbacher <a.gruenbacher@bestbits.at>
* - Removed hi-resolution mode supports.nyan2000-05-031-29/+13
| | | | - Added a dummy partition table.
* Move sn and cs drivers from the compat section to the real section.imp2000-05-032-8/+8
| | | | | | | Enable xe driver now that I've had reports that it works. PR: 18323 Submitted by: MIHIRA Yoshiro-san
* Replace all the ifdef debugging spaghetti with a single ifdef andpaul2000-05-031-40/+22
| | | | a macro so that it is easier to read the flow of the code.
* Force the address of the socket to be INADDR_ANY immediately beforepaul2000-05-021-1/+13
| | | | | | | | calling in_pcbbind so that in_pcbbind sees a valid address if no address was specified (since divert sockets ignore them). PR: 17552 Reviewed by: Brian
* Bump FreeBSD_version after module version changespeter2000-05-021-1/+1
| | | | Submitted by: knu
* Don't assume *lasthook is initialized in ng_path2node().archie2000-05-021-2/+2
|
* Remove an unnecessary error messageluigi2000-05-021-0/+2
|
* Add the udbp modulen_hibma2000-05-021-0/+1
|
* Add PnP ID for vadem based plug and play card.imp2000-05-021-0/+1
| | | | | Submitted by: Dave Belfer-Shevett <shevett@stonekeep.com> Fix by: Bill Paul
* Add ENOTSUP, which is specified as an error return value for variousjasone2000-05-021-0/+1
| | | | POSIX/SUSv2 functions.
* Add the logical ID of FUJITSU Modem 33600 PNP/I2.tanimura2000-05-022-0/+2
| | | | | PR: kern/18257 Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
* Add man page for pxeboot.dwhite2000-05-022-1/+132
| | | | Reviewed By: asmodai
* Cause modules to build with the kernel build. Modules are removedchuckr2000-05-024-3/+54
| | | | | | | | | | from the sys Makefile's SUBDIRs. This is conditioned in make.conf by the NO_MODULES variable and the existence of the modules directory. The actual location of the modules is not modified. Changes in Makefiles only, this does not affect Peter's recent changes. Reviewed by: Peter Wemm, who warned me I would get some flack, and he had the good idea for the NO_MODULES variable.
* Add in include of <machine/clock.h> which defines DELAY.mjacob2000-05-021-0/+1
|
* Fix broken multi-link fragment reassembly algorithm.archie2000-05-022-260/+715
| | | | | | Add hook for IPv6. Misc cleanups. PR: kern/16335
* Macro call to ng_send_dataq() should have been to ng_send_data() instead.archie2000-05-011-5/+5
|
* Use 'type_name' structure field instead of 'typename', which isarchie2000-05-013-2/+23
| | | | | | a C++ reserved work. Add a ng_copy_meta() function.
* The USB double bulk pipe driver (Host to host cables). Currently theren_hibma2000-05-0110-1/+920
| | | | | | | | | | | | | | | | | | | | are two supported chips, the NetChip 1080 (only prototypes available) and the EzLink cable. Any other cable should be supported however as they are all very much alike (there is a difference between them wrt performance). It uses Netgraph. This driver was mostly written by Doug Ambrisko and Julian Elischer and I would like to thank Whistle for yet another contribution. And my aplogies to them for me sitting on the driver for so long (2 months). Also, many thanks to Reid Augustin from NetChip for providing me with a prototype of their 1080 chip. Be aware of the fact that this driver is very immature and has only been tested very lightly. If someone feels like learning about Netgraph however this is an excellent driver to start playing with.
* A temporary band-aid for ng_base. It works for some people, a betterpeter2000-05-011-6/+3
| | | | | | fix will follow. Submitted by: Gary Jennejohn <garyj@muc.de>
* Add $FreeBSD$peter2000-05-0193-8/+133
|
* Regen.n_hibma2000-05-012-2/+9
|
* Add the EzLink adapter Idn_hibma2000-05-011-0/+1
|
* Add missing $FreeBSD$peter2000-05-016-0/+8
|
* Move and staticize the bufchain functions so they become local to thephk2000-05-013-137/+137
| | | | only piece of code using them. This will ease a rewrite of them.
* Zap KMODDEPS linepeter2000-05-0132-32/+0
|
* Add TAILQ_FOREACH_REVERSE() macro.archie2000-05-011-1/+7
| | | | Submitted by: Jake Burkholder <jburkhol@home.com>
* Remove KMODDEPS support. All our existing dependencies are specifiedpeter2000-05-011-18/+6
| | | | | | | via the MODULE_VERSION() and MODULE_DEPEND() macros that both the loader and kld system know how to deal with. The old DT_NEEDED tag is still supported by the loader (and will remain supported for a while) - but the kernel side presently doesn't know how to deal with DT_NEEDED.
* GC unused variable (size)peter2000-05-011-1/+0
|
* Fix some warnings on the Alpha. sizeof() returns different things onpeter2000-05-011-2/+2
| | | | x86 and Alpha. Sigh.
* Wrap the failure warnings around PXE_DEBUG in the cleanup routine.ps2000-05-011-3/+9
| | | | | It does not matter if they fail, so dont print anything about it unless we are debugging.
* Update loader logic to distinguish modules vs. files.bp2000-05-0122-491/+741
| | | | | | | Add support for module metadata. The old way of dependancy handling will be supported for a while. Reviewed by: peter
* Convert to struct bio instead of struct buf.phk2000-05-012-180/+150
|
* Give struct bio it's own call back mechanism.phk2000-05-016-42/+62
|
* Move the MSG* and SEM* options to opt_sysvipc.hpeter2000-05-0112-386/+240
| | | | | | | | | | | | | | | Remove evil allocation macros from machdep.c (why was that there???) and use malloc() instead. Move paramters out of param.h and into the code itself. Move a bunch of internal definitions from public sys/*.h headers (without #ifdef _KERNEL even) into the code itself. I had hoped to make some of this more dynamic, but the cost of doing wakeups on all sleeping processes on old arrays was too frightening. The other possibility is to initialize on the first use, and allow dynamic sysctl changes to parameters right until that point. That would allow /etc/rc.sysctl to change SEM* and MSG* defaults as we presently do with SHM*, but without the nightmare of changing a running system.
* Regenerate (removed semconfig)peter2000-05-016-15/+8
|
* Remove the undocumented, flawed, broken-as-designed semconfig() syscall.peter2000-05-013-96/+2
|
* Remove undocumented broken-as-designed semconfig() syscall.peter2000-05-011-1/+1
|
* Back out t_timeout initializing, now in ttyregisterache2000-05-011-1/+0
|
* Move t_timeout initializing to ttyregisterache2000-05-011-1/+1
| | | | Pointed-by: bde
* * Move the driver_t::refs field to kobj_t to replace kobj_t::instances.dfr2000-05-014-12/+8
| | | | | * Back out a couple of workarounds for the confusion between kobj_t::instances and driver_t::refs.
* Since ptys are allocated dynamically, there is no needs to keep theirache2000-05-011-1/+1
| | | | t_timeout across close, so move t_timeout initializing to ptcopen
* Initialize t_timeout to -1 for console to set its default value once in ttyopenache2000-05-011-0/+1
|
* Split out the ISA bus front end code into its own file. PCCARD attachmentmdodd2000-05-015-298/+474
| | | | | | coming later this week. Mitsuru IWASAKI provided a patch to -mobile which I used to make sure I was doing the right thing but only a small part of the actual patch was used.
* Set t_timeout to its default sysctl value only once in ttyopenache2000-05-012-1/+4
| | | | | | Initialize t_timeout to -1 for this reason Pointed-by: bde
* Fix for the HP burners (and possibly other broken drives to)sos2000-05-011-13/+5
| | | | | | | | | that fails to proberly close the disk. The problem seems to be that the HP burners sometimes return ready when they actually are not, the solution is to not use immediate mode on the closing commands. This is suboptimal for real burners, in that they now hog the ATA bus for possibly minutes, where its really not nessesary, *sigh*.
* Now that I've got reports that this works, let's turn the debugging off.imp2000-05-011-4/+0
| | | | | | MIHIRA-san pointed out that debugging is rather big for tcpdump... Submitted by: sanpei@sanpei.org (MIHIRA Yoshiro)
* - Merge sl_probe() and ni_probe().mdodd2000-05-011-84/+47
| | | | | - Add myself as 'MAINTAINER' since I've got a number of changes in the pipe.
OpenPOWER on IntegriCloud