summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Peter and I cross-committed: this file needs sys/kernel.h now.phk2000-04-291-0/+1
|
* Return 0 from attach.imp2000-04-291-1/+1
| | | | Submitted by: mihira-san <sanpei@sanpei.org>
* s/biowait/bufwait/gphk2000-04-2918-34/+34
| | | | Prodded by: several.
* Remove a leftover dysonism.phk2000-04-291-4/+0
|
* Remove unneeded #include <sys/kernel.h>phk2000-04-2971-72/+0
|
* Add a missing MODULE_DEPEND() on miibus.. I was working frompeter2000-04-292-0/+4
| | | | KMODDEPS which this driver didn't have.
* Depend on miibus.peter2000-04-2915-0/+30
| | | | | | | | Note that if_aue doesn't strictly depend on usb because it uses the method interface for calls rather than using internal symbols, and because it's a child driver of usb and therefore will not try and do anything unless the parent usb code is loaded at some point. if_aue does strictly depend on miibus as it will fail to link if it is missing.
* Provide a tag so that miibus consumers can depend on the module,peter2000-04-291-0/+2
| | | | | regardless of whether it is in a seperate .ko or the kernel (or in a .ko bundled with several other things in one file for packaging).
* Minimal tweak to make the ng_XXX modules depend on netgraph so that theypeter2000-04-292-1/+4
| | | | see its symbols and link ok.
* nwfs depends on ncppeter2000-04-293-0/+6
|
* Stick a module dependency on 'splash' in the saver declaration macro sopeter2000-04-292-2/+6
| | | | that all savers are automatically declared dependent on the splash driver.
* Initial dependency so that the kld's will link. imgact_coff dependspeter2000-04-292-0/+4
| | | | on the ibcs2 module being present.
* The newer module dependency code exposes an apparent bug in thepeter2000-04-291-0/+1
| | | | | | | | | | | | | bus/driver/kobj system. I am not 100% sure that this is the correct fix, but it is harmless and does seem to solve the problem. At worst, it could cause a tiny memory leak at unload time - this is better than a free(NULL) and subsequent panic. I'm waiting for comments from Doug about this. This may yet be backed out and fixed differently. The change itself is to increment the reference count on drivers in one case where it appears to have been missed. When everything is unloaded, kobj_class_free() was being called twice in some cases, and panicing the second time.
* First round implementation of a fine grain enhanced module to modulepeter2000-04-298-385/+705
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version dependency system. This isn't quite finished, but it is at a useful stage to do a functional checkpoint. Highlights: - version and dependency metadata is gathered via linker sets, so things are handled the same for static kernels and code built to live in a kld. - The dependencies are at module level (versus at file level). - Dependencies determine kld symbol search order - this means that you cannot link against symbols in another file unless you depend on it. This is so that you cannot accidently unload the target out from underneath the ones referencing it. - It is flexible enough that we can put tags in #include files and macros so that we can get decent hooks for enforcing recompiles on incompatable ABI changes. eg: if we change struct proc, we could force a recompile for all kld's that reference the proc struct. - Tangled dependency references at boot time are sorted. Files are relocated once all their dependencies are already relocated. Caveats: - Loader support is incomplete, but has been worked on seperately. - Actual enforcement of the version number tags is not active yet - just the module dependencies are live. The actual structure of versioning hasn't been agreed on yet. (eg: major.minor, or whatever) - There is some backwards compatability for old modules without metadata but I'm not sure how good it is. This is based on work originally done by Boris Popov (bp@freebsd.org), but I'm not sure he'd recognize much of it now. Don't blame him. :-) Also, ideas have been borrowed from Mike Smith.
* Do not fault if curproc is null.peter2000-04-291-1/+1
|
* Do not use uprintf() for link time error messages. This has unpleasantpeter2000-04-292-8/+8
| | | | | consequences when it happens in the preload support, before curproc or the tty system exist.
* This new version adds support for early NCR chips.groudier2000-04-296-2116/+4517
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53C810 non 'A', 53C815 and 53C825 non 'A' are now attached by the driver (by default). The driver uses a different SCRIPTS set based on MEMORY MOVE instructions for these chips. 2 SCRIPTS sets (firmwares) numbered #1 and #2 are used for the whole support of the 53C8XX family to get possible: - FW #1 : Only based on MEMORY MOVE instructions. Selected for 810, 815, 825. - FW #2 : LOAD/STORE based. This is the firmware also used by previous driver versions. Selected for other chips. When both `ncr' and `sym' are configured, `sym' will now attach all the 53C8XX devices by default. Previous balancing between `ncr' and `sym' can be preserved by: - Either editing sym_conf.h and commenting the following compile option: #define SYM_CONF_GENERIC_SUPPORT (This also saves about 3.5Kb of kernel memory). - Or setting kernel config option SYM_SETUP_LP_PROBE_MAP to 64 (bit 0x40)
* Mark two functions as private.peter2000-04-296-0/+22
|
* LOAD_ADDRESS is not used here. See conf/ldscript.* for the link basepeter2000-04-294-4/+0
| | | | address.
* Fixed typo.nyan2000-04-291-1/+1
|
* OOps forgot to check in this one...julian2000-04-281-3/+4
| | | | API chage for netgraph.
* Hookup /dev/[u]random on the Alpha.obrien2000-04-282-4/+91
|
* Initialise entropy pool.obrien2000-04-281-0/+5
| | | | Submitted by: dfr
* Two simple changes to the kernel internal API for netgraph modules,julian2000-04-2830-98/+188
| | | | | | | to support future work in flow-control and 'packet reject/replace' processing modes. reviewed by: phk, archie
* Replace PacketAliasRedirectPptp() (which had nothing specificru2000-04-285-111/+88
| | | | | | | to PPTP) with more generic PacketAliasRedirectProto(). Major number is not bumped because it is believed that noone has started using PacketAliasRedirectPptp() yet.
* Change Elf64_Brandinfo::brand from char* to int.dfr2000-04-281-1/+1
|
* Reserve register t7 on alpha to point at per-cpu global variables.dfr2000-04-281-1/+2
|
* When files are given to users by root, the quota system failed tomckusick2000-04-281-0/+10
| | | | | | | | | | | | | | reset their grace timer as their ownership crossed the soft limit threshhold. Thus if they had been over their limit in the past, they were suddenly penalized as if they had been over their limit ever since. The fix is to check when root gives away files, that when the receiving user crosses their soft limit, their grace timer is reset. See the PR report for a detailed method of reproducing the bug. PR: kern/17128 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
* sanpai-san (sanpai@sanpai.org) suggested that we put the novel probeimp2000-04-281-2/+2
| | | | | | | | | | | first. This will fix a few cards that hang on the WD probe. He tells me that PAO went one step farther and removed the WD proble completely and none of the cards in the 2.x database broke in PAO3. Since I'm more conservative in this code, I'm just swapping the order, which he said also fixed his problem. Reviewed by: mdodd, iwasaki Submitted by: sanpai@sanpai.org
* Add a new macro CIRCLEQ_FOREACH_REVERSE for traversing through aarchie2000-04-271-0/+5
| | | | circle queue in the reverse direction (from tail to head).
* make the example compile again.n_hibma2000-04-271-0/+2
| | | | | | | | The makefile contains a reference to /sys/dev/ppbus. What really should be done is copy the header files to /usr/include/sys/dev/ppbus. PR: kern/16767 Submitted by: Jin Guojun (FTG staff) <jin@gracie.lbl.gov>
* Add default 5min timeout for output drain to stop hanging on exit or in otherache2000-04-271-0/+2
| | | | places when connection dropped
* Spell PacketAliasRedirectAddr() correctly.ru2000-04-271-1/+1
|
* Load Sharing using IP Network Address Translation (RFC 2391, LSNAT).ru2000-04-273-27/+150
| | | | | | LSNAT links are first created by either PacketAliasRedirectPort() or PacketAliasRedirectAddress() and then set up by one or more calls to PacketAliasAddServer().
* Add a bpfdetach() stub routine to bpf.c. Without this, you'll get anwpaul2000-04-271-0/+6
| | | | | | | | unresolved symbol error if you try to load a network driver into a kernel which doesn't have bpf enabled. Forgotten by: rwatson Found by: peter
* Added PC-98 supports.nyan2000-04-273-0/+86
| | | | | | Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>, Tomokazu HARADA <tkhara@osk4.3web.ne.jp> and yokota
* Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes.nyan2000-04-279-168/+572
| | | | | Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp> and Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
* machine/random.h -> sys/random.hnyan2000-04-273-3/+3
|
* Add wormio.h. The wd driver needs it.nyan2000-04-272-1/+118
|
* Make PXE do a dhcp request to find out where its files are. Theps2000-04-271-15/+36
| | | | | DHCP server is no longer required to also act as the NFS/TFTP server.
* Calculate checksum properly for propagated IPX/NetBIOS packets.bp2000-04-271-2/+2
|
* Fix support for 802.2 and SNAP frames. Bug was introduced duringbp2000-04-272-25/+53
| | | | | | initial import. Tested by: Jorge P Vasquez <jorge@acron.ind.br>
* Don't report errors when we UDP_WRITE fails with a status of 1.ps2000-04-271-1/+3
|
* duh, i forgot to change a bitmask, sorry alexandercg2000-04-261-1/+1
| | | | Submitted by: Alexander Matey <matey@cis.ohio-state.edu>
* Remove synchronizing instruction in MP unlock code. It turns outdillon2000-04-261-10/+21
| | | | not to be necessary.
* Fix #! script exec under linux emulation. If a script is exec'd from adillon2000-04-269-39/+156
| | | | | | | | | | program running under linux emulation, the script binary is checked for in /compat/linux first. Without this patch the wrong script binary (i.e. the FreeBSD binary) will be run instead of the linux binary. For example, #!/bin/sh, thus breaking out of linux compatibility mode. This solves a number of problems people have had installing linux software on FreeBSD boxes.
* Driver for DEC "Tulip" based WAN cards from LanMedia Corporation.phk2000-04-2610-569/+605
| | | | | | | | | | | | This driver should support both the SSI (V.35 etc) E1/T1 unchannelized, DS3 and HSSI cards. Only tested on the SSI card. More info at: http://www.lanmedia.com Thanks to LanMedia for donating two LMC1000P cards. if_de.c driver modified by: LanMedia NetGraphification by: Stephen Kiernan <sk-ports@vegamuse.org>
* fix minor numbers for multi-channel devicescg2000-04-261-8/+6
| | | | Submitted by: Alexander Matey <matey@cis.ohio-state.edu>
* Now that we are compiling PXE into libi386, we don't need ../libi386 injhb2000-04-261-1/+0
| | | | .PATH anymore.
* repo-copied to sys/gnu/dev/sound/pci/emu10k1.hcg2000-04-261-672/+0
|
OpenPOWER on IntegriCloud