summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add cross-reference to fmt(1) and a fairly standard ENVIRONMENT section.tjr2004-08-021-2/+12
|
* Cross-reference fold(1).tjr2004-08-021-0/+1
|
* Add support for multibyte characters.tjr2004-08-022-57/+94
|
* Remove 'device mem' from GENERIC, which markm@ mistakingly added.ssouhlal2004-08-021-1/+0
| | | | | | We don't have mem/kmem yet. Approved by: grehan (mentor)
* Unbreak DEVICE_POLLING build / LINT. Sorry!mlaier2004-08-022-2/+2
| | | | Submitted by: roam
* Don't use version number in library name. The library version is checkedpjd2004-08-024-6/+3
| | | | | | after dlopen() anyway, so we should be safe. Suggested by: ru
* Remove an implicit int parameter by using prototypes.stefanf2004-08-021-9/+3
|
* Don't pass function pointers via a void * parameter.stefanf2004-08-021-4/+4
|
* - Signal handlers must have an int argument.stefanf2004-08-022-16/+14
| | | | | | - Use prototypes. - Add a cast for a signed vs unsigned comparison. - Mark as WARNS?=3 clean.
* Improve the wording of the last commit, and update the document date. (1)murray2004-08-021-9/+12
| | | | | | While here, update an example. (1) Submitted by: ru
* Consistently list _CPUCFLAGS.obrien2004-08-021-10/+10
|
* Eliminate the acquisition and release of Giant around the call toalc2004-08-021-2/+0
| | | | | pmap_mincore() in mincore(2). Either pmap locking exists (alpha, amd64, i386, ia64) or pmap_mincore() is unimplemented (arm, powerpc, sparc64).
* Document incorrect handling of multibyte characters with -I and -J options.tjr2004-08-021-1/+10
|
* Add PowerPC bridge instruction flag to the assembler to help outgrehan2004-08-022-0/+6
| | | | with test code written in the loader.
* G5 support: handle the case where the OpenFirmware memory array usesgrehan2004-08-023-29/+90
| | | | 64 bits for the phys address, but only 32 for the virtual address.
* Kernel traps were not being passed to trap_fatal in somegrehan2004-08-022-2/+4
| | | | | | circumstances. Spotted by: gallatin
* Document machdep.enable_panic_key.scottl2004-08-022-2/+6
| | | | Submitted by: Craig Rodrigues
* Fix the build by providing 'PHYS_TO_DMAP' and 'M_MEMDESC'.obrien2004-08-021-0/+6
|
* Bump __FreeBSD_version to designate uma_zone functions changing type.green2004-08-021-1/+1
|
* Add what appears to be a missing '*/' at the end of a comment.rwatson2004-08-021-0/+1
|
* - Fix unloading by the same way it is done in my other classes:pjd2004-08-021-3/+5
| | | | | | | | set gp->softc to NULL and return ENXIO when it is NULL, so GEOM will not panic or hang, but unload one device on every 'unload'. This make 'unload' command usable, but it have to be executed <number of devices> + 1 times. - Made use of 'pp' variable.
* * Add a "how" argument to uma_zone constructors and initialization functionsgreen2004-08-0213-170/+243
| | | | | | | | | | | | | | | | | so that they know whether the allocation is supposed to be able to sleep or not. * Allow uma_zone constructors and initialation functions to return either success or error. Almost all of the ones in the tree currently return success unconditionally, but mbuf is a notable exception: the packet zone constructor wants to be able to fail if it cannot suballocate an mbuf cluster, and the mbuf allocators want to be able to fail in general in a MAC kernel if the MAC mbuf initializer fails. This fixes the panics people are seeing when they run out of memory for mbuf clusters. * Allow debug.nosleepwithlocks on WITNESS to be disabled, without changing the default. Both bmilekic and jeff have reviewed the changes made to make failable zone allocations work.
* Second part of ALTQ driver modifications, covering:mlaier2004-08-017-31/+56
| | | | | | | | | | an(4), ath(4), hme(4), ndis(4), vr(4) and wi(4) Please help testing: http://people.freebsd.org/~mlaier/ALTQ_driver/ Tested by: Vaidas Damosevicius (an, ath, wi) Roman Divacky (vr) Submitted by: yongari (hme)
* Comment kse_create() and make a few minor code cleanupsjulian2004-08-011-47/+121
| | | | Reviewed by: davidxu
* Remove unnecessary use of the __ia64__ conditional. This slightly improvesmarcel2004-08-012-10/+6
| | | | maintainability and generally avoids confusion.
* The watchdog callout executes with the (non-sleepable) ifnet lock heldwpaul2004-08-011-1/+1
| | | | | | | now, but it's possible for ndis_reset_nic() to sleep (sometimes the MiniportReset() method returns NDIS_STATUS_PENDING and we have to wait for completion). To get around this, execute the ndis_reset_nic() routine in the NDIS_TASKQUEUE thread.
* After changing LIBDIR to SHLIBDIR, because of dependencies problems,pjd2004-08-014-6/+8
| | | | | | | new problem shows up: symblic links (<libname>.so) are created under /usr/lib/ now, instead of under /lib/geom/ where geom(8) looks for them. Introduce a workaround to fix this by teaching geom(8) to open libraries via /lib/geom/<libname>.so.<major_number> instead of /lib/geom/<libname>.so.
* UUCP's uucico(8) has not been in the base system for some time now,markm2004-08-011-1/+1
| | | | | | so reflect this in the default. The uucp uid is a bit funny, and is used by mtree in /var/spool for locks, so we can't remove it without thinking about it a bit harder.
* In ndis_alloc_bufpool() and ndis_alloc_packetpool(), the test to see ifwpaul2004-08-011-2/+2
| | | | | allocating pool memory succeeded was checking the wrong pointer (should have been looking at *pool, not pool). Corrected this.
* This commit was generated by cvs2svn to compensate for changes in r132977,gad2004-08-013-0/+287
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of a BSD-licensed version of `patch', which will eventuallygad2004-08-0114-2807/+4176
| | | | | | | | | | | | | | | | | | | | replace the version we currently have in src/gnu/usr.bin/patch/. Among other things, this version includes a --posix option for strict POSIX conformance. This version is the current source from OpenBSD as of today. It is their 3.5-release, plus a few updates to patch.c and pch.c that they made about three weeks ago.
* | Typo.pjd2004-08-011-1/+1
| |
* | Another stupid error from my side. PPPOE_NONSTANDARD was first definedglebius2004-08-011-9/+9
| | | | | | | | | | | | | | | | in enum {}, and then redefined with #define. No warnings from compiler, though. Submitted by: bz Pointy hat to: glebius
* | Correct the explanation of the -X option.kientzle2004-08-011-3/+5
| | | | | | | | Thanks to: Pav Lucistnik
* | Big mess 'o changes:wpaul2004-08-0110-158/+511
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Give ndiscvt(8) the ability to process a .SYS file directly into a .o file so that we don't have to emit big messy char arrays into the ndis_driver_data.h file. This behavior is currently optional, but may become the default some day. - Give ndiscvt(8) the ability to turn arbitrary files into .ko files so that they can be pre-loaded or kldloaded. (Both this and the previous change involve using objcopy(1)). - Give NdisOpenFile() the ability to 'read' files out of kernel memory that have been kldloaded or pre-loaded, and disallow the use of the normal vn_open() file opening method during bootstrap (when no filesystems have been mounted yet). Some people have reported that kldloading if_ndis.ko works fine when the system is running multiuser but causes a panic when the modile is pre-loaded by /boot/loader. This happens with drivers that need to use NdisOpenFile() to access external files (i.e. firmware images). NdisOpenFile() won't work during kernel bootstrapping because no filesystems have been mounted. To get around this, you can now do the following: o Say you have a firmware file called firmware.img o Do: ndiscvt -f firmware.img -- this creates firmware.img.ko o Put the firmware.img.ko in /boot/kernel o add firmware.img_load="YES" in /boot/loader.conf o add if_ndis_load="YES" and ndis_load="YES" as well Now the loader will suck the additional file into memory as a .ko. The phony .ko has two symbols in it: filename_start and filename_end, which are generated by objcopy(1). ndis_open_file() will traverse each module in the module list looking for these symbols and, if it finds them, it'll use them to generate the file mapping address and length values that the caller of NdisOpenFile() wants. As a bonus, this will even work if the file has been statically linked into the kernel itself, since the "kernel" module is searched too. (ndiscvt(8) will generate both filename.o and filename.ko for you). - Modify the mechanism used to provide make-pretend FASTCALL support. Rather than using inline assembly to yank the first two arguments out of %ecx and %edx, we now use the __regparm__(3) attribute (and the __stdcall__ attribute) and use some macro magic to re-order the arguments and provide dummy arguments as needed so that the arguments passed in registers end up in the right place. Change taken from DragonflyBSD version of the NDISulator.
* | Add the I/O device for those architectures that have it.markm2004-08-012-0/+2
| |
* | For the "portable" distribution, the configure script will overwritekientzle2004-08-011-159/+1
| | | | | | | | | | | | "Makefile," so I'm moving all the FreeBSD build machinery to "Makefile.freebsd", with the default "Makefile" containing a single include.
* | Add a HARDWARE section which lists supported devices.simon2004-08-011-43/+47
| |
* | Make the HARDWARE section better suited to the upcoming auto generatedsimon2004-08-012-54/+55
| | | | | | | | | | | | | | | | | | | | | | | | Hardware Notes: - Only include text related the device listings and hardware support in the HARDWARE section. - Make the HARDWARE section preamble text have a call to the Nm macro, so the driver name will appear in the Hardware Notes. - Add the manufacturer name to each item in the device list, where appropriate. - Clean trailing punctuation characters from the lists.
* | - Add a HARDWARE section which lists supported devices.simon2004-08-013-51/+77
| | | | | | | | - Minor cleanup of the device lists when I'm here anyway.
* | C standard does not permit empty initializer list.kientzle2004-08-011-6/+6
| | | | | | | | Thanks to: Stefan Farfeleder
* | Include <stdlib.h> for exit(), use prototypes and bump WARNS to 6.stefanf2004-08-012-5/+6
| |
* | Remove extraneous ';'.markm2004-08-012-2/+2
| |
* | Implement basic support for EHCI interrupt pipes. This is unlikelyiedowse2004-08-012-11/+283
| | | | | | | | | | | | | | | | to be particularly correct or optimal, but it seems to be enough to allow the attachment of USB2 hubs and USB2 devices connected via USB2 hubs. None of the split transaction support is implemented in our USB stack, so USB1 peripherals will definitely not work when connected via USB2 hubs.
* | YA oops. Remove code that was being tested locally.markm2004-08-011-21/+0
| |
* | Remove local hack that was not supposed to be committed.markm2004-08-011-1/+1
| | | | | | | | Spotted by: Antoine Brodin - antoine dot brodin at laposte dot net
* | Turn off PREEMPTION by default while it gets debugged. It's been causingscottl2004-08-013-0/+9
| | | | | | | | | | 4 weeks of problems including deadlocks and instant panics. Note that the real bugs are likely in the scheduler.
* | MFi386: revision 1.1167nyan2004-08-011-0/+4
| |
* | MFi386: revision 1.501.nyan2004-08-011-2/+4
| |
* | Change the default to switch on DMA on ATAPI devices if they cansos2004-08-011-3/+5
| | | | | | | | do UDMA2 (ATA33) mode and beyond.
OpenPOWER on IntegriCloud