summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* = Implement name service switch modules (NSS modules). NSS modulesnectar2003-04-1714-219/+1103
| | | | | | | | | | | | | | | | | | | | | may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories
* * Add explicit conflict-checking to the package tools. Packages cankris2003-04-179-18/+104
| | | | | | | | | | | | | | | register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks
* These two files fell off during my previous commit: put the encodingphk2003-04-172-125/+166
| | | | decoding functions for struct disklabel in a separate .c file.
* Revert part of revision 1.97 by calling dc_stop() unconditionallyiedowse2003-04-172-4/+2
| | | | | | | | | | | in dc_detach() instead of only calling it if the hardware is preset. This is a workaround for page faults in softclock() after a `dc' device was detached, caused by not disabling a timer before freeing its memory. The bus_child_present() checks should probably be re-added later, but only to avoid the hardware accesses and not the other resource cleanups in dc_stop(). Approved by: njl
* Separate the encoding/decoding functions for struct disklabel into aphk2003-04-177-0/+15
| | | | separate source file which can be used from both kernel and userland code.
* Buffer size is not enough in the previous commit. Use 128.sumikawa2003-04-171-2/+2
| | | | | Pointed out by: nectar MFC after: 1 week
* Move the ex, ie, plip and sl drivers to drivers.flp, so that kern.flpjhay2003-04-171-0/+4
| | | | fit again.
* NO_COMPAT_FREEBSD4 is no more.jhay2003-04-173-3/+0
|
* Revert url.c:1.2: there was a race condition between when I producedrwatson2003-04-171-1/+1
| | | | | | | the fix and when I committed it -- in between the two, DES committed a different fix, rendering this fix unneeded. Requested by: des
* We don't need "device fwohci" in the kernel config file.simokawa2003-04-172-2/+0
|
* Add dev/firewire/fwdma.c.simokawa2003-04-171-0/+1
|
* MFp4(simokawa_firewire):simokawa2003-04-1725-2156/+2755
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many internal structure changes for the FireWire driver. - Compute CRC in CROM parsing. - Add support for configuration ROM build. - Simplify dummy buffer handling. - busdma conversion - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE. - AR buffer handling. Don't reallocate AR buffer but just recycle it. Don't malloc and copy per packet in fwohci_arcv(). Pass packet to fw_rcv() using iovec. Application must prepare receiving buffer in advance. - Change fw_bind API so that application should pre-allocate xfer structure. - Add fw_xfer_unload() for recycling struct fw_xfer. - Add post_busreset hook - Remove unused 'sub' and 'act_type' in struct fw_xfer. - Remove npacket from struct fw_bulkxfer. - Don't call back handlers in fwochi_arcv() if the packet has not drained in AT queue - Make firewire works on big endian platform. - Use native endian for packet header and remove unnecessary ntohX/htonX. - Remove FWXFERQ_PACKET mode. We don't use it anymore. - Remove unnecessary restriction of FWSTMAXCHUNK. - Don't set root node for phy config packet if the root node is not cycle master capable but set myself for root node. We should be the root node after next bus reset. Spotted by: Yoshihiro Tabira <tabira@scd.mei.co.jp> - Improve self id handling Tested on: i386, sparc64 and i386 with forced bounce buffer
* Cut&Paste considered far too easy:phk2003-04-166-6/+0
| | | | Don't include <sys/disklabel.h>
* Rename KRNLSRCDIR to KERNSRCDIR and allow it to be overridden. The namejhb2003-04-161-7/+7
| | | | | change was to be consistent with other overridable variables such as KERNCONFDIR and KERNCONF.
* Don't include <sys/disklabel.h>phk2003-04-168-8/+0
|
* Include <sys/ioccom.h> instead of <sys/disklabel.h>phk2003-04-161-1/+1
|
* Explicitly cast a l_ulong to an unsigned long to make all arch's happyjhb2003-04-161-1/+1
| | | | with the printf format.
* Clarify the relationship between the MAC library APIs and POSIX.1e:rwatson2003-04-161-2/+6
| | | | | | | | they resemble one another, but POSIX.1e interfaces were not sufficiently expressive to do what we needed. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Fix printf format in a debug printf.jhb2003-04-161-1/+1
|
* Fix printf args in debug printfs.jhb2003-04-161-5/+5
|
* Assume a struct thread *td instead of a struct proc *p in the debugjhb2003-04-161-2/+2
| | | | printf macros.
* Fix multiple printf warnings on Alpha:jhb2003-04-161-19/+19
| | | | | | - Prefer long long to quad_t to match printf args. - Use uintmax_t and %j to print segsz_t and vm_size_t values. - Fix others in Alpha-specific code.
* Fix some debug macros. Either missing close parens or close parens in thejhb2003-04-161-4/+4
| | | | wrong place.
* Add locking and remove all the spl() calls.jhay2003-04-161-22/+43
|
* Get rid of COMPAT_OLDISA and move in the direction of newbus.jhay2003-04-162-234/+340
|
* Fix typo (and make it more explicit/self-documenting).mtm2003-04-161-1/+1
| | | | Noticed by: gshapiro
* Add new knobs for controlling jails in rc.d and document them.mtm2003-04-162-1/+45
| | | | Approved by: makrm (mentor)
* o Add a script to start jails on boot.mtm2003-04-162-1/+69
| | | | | | | | o Hook it up to the build Approved by: markm (mentor) Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (modified) Prodded by: mike
* Update puc(4) supported hardware.bmah2003-04-162-12/+108
| | | | | PR: 50928 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
* Remove the register keyword.jhay2003-04-161-62/+62
|
* Remove another unused variable.jhb2003-04-161-1/+0
|
* Remove an unused variable so this compiles again.jhb2003-04-161-1/+0
|
* Backed out previous commit. Use ${LIBMROUTED} in LDADD again instead ofbde2003-04-162-2/+2
| | | | hard-coding a path to the library that is wrong in some corner cases.
* "Fixed" LDADD by backing out part of the previous commit. -lfoo inbde2003-04-161-1/+1
| | | | | | LDADD is not wrong, but the simple substitution in `make checkdpadd' doesn't work if foo.a is not an installed library, so we use the full path to foo.a in both DPADD and LDADD for non-installed libraries.
* Remove some code that managed to escape from my local repository.mdodd2003-04-161-6/+0
|
* There is no format(8) manual page available, but it would be reallyru2003-04-161-5/+5
| | | | | nice to have, now that we have different semantics of initializing disks on systems with BSD labels, SUN labels, and GPT partitions.
* There is an undocument feature that ``route -vnd flush'' printsru2003-04-161-1/+1
| | | | | a nice dump of the entire routing table. Allow non-root users to see it too.
* Normalize, fix ``make checkdpadd''.ru2003-04-161-5/+6
|
* Create the whatis(1) database in /usr/share/openssl/man.ru2003-04-161-0/+1
|
* Make character buffer more bigger.sumikawa2003-04-161-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* Use NI_xxx macros.sumikawa2003-04-162-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* Update comment to match reality.sobomax2003-04-161-2/+1
|
* Cosmetics.sos2003-04-161-2/+2
|
* Fix a panic with Cenatek controllers.sos2003-04-161-1/+2
|
* - Remove a block of code I missed in the previous commit.mdodd2003-04-161-6/+2
| | | | - Call tl_ifmedia_upd() in tl_init() for cards with bitrate devices.
* - Set if_unit, if_init, and ifq_maxlen.mdodd2003-04-161-14/+17
| | | | | - Remove unnecessary initializations; ether_ifattach() takes care of them. - Change function argument types to avoid nasty casts.
* Fix bogus maxsegsz parameter for bus_dma_tag_create().simokawa2003-04-161-1/+1
| | | | MFC: 1 week
* - Don't call pci_enable_io() in drivers (unless needed for resume).mdodd2003-04-1629-384/+9
| | | | | - Don't test memory/port status and emit an error message; the PCI bus code will do this now.
* Return status for PCI methods '{enable,disable}_{io,busmaster}'.mdodd2003-04-164-25/+65
| | | | Reviewed by: imp
* Clarify US events which may not be so obvious to non-US Americans.grog2003-04-161-4/+4
|
OpenPOWER on IntegriCloud