summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - Don't call rpcclnt_realign() if we don't have any mbufs to realign.das2005-03-191-15/+12
| | | | | | | - Remove a bogus and unneeded null pointer check. Found by: Coverity Prevent analysis tool Approved by: alfred
* Add a driver for the 'clock-board' device (the clock board is anmarius2005-03-195-0/+262
| | | | | | | | | | | | inevitable component in Sun Exx00 machines and provides serial ports, NVRAM and TOD amongst others which are handled by uart(4) and eeprom(4) respectively). This driver currently only prints out information about the chassis on attach and allows to blink the 'Cycling' LED (which is duplicated on the front panel) of the clock board just like fhc(4) does for the other boards. The device name for the LED is /dev/led/clockboard. Obtained from: OpenBSD Tested by: joerg
* - Add a device interface method for bus_get_resource_list() and usemarius2005-03-194-38/+66
| | | | | | | | | | | | | | | | | | bus_generic_rl_release_resource() for the bus_release_resource() method instead of a local copy. - Correctly handle pass-through allocations in fhc_alloc_resource(). - In case the board model can't be determined just print "unknown model" so the physical slot number is reported in any case. - Add support for blinking the 'Cycling' LED of boards on a fhc(4) hanging of off the nexus (i.e. all boards except the clock board) via led(4). All boards have at least 3 controllable status LEDs, 'Power', 'Failure' and 'Cycling'. While the 'Cycling' LED is suitable for signaling from the OS the others are better off being controlled by the firmware. The device name for the 'Cycling' LED of each board is /dev/led/boardX where X is the physical slot number of the board. [1] Obtained from: OpenBSD [1] Tested by: joerg [1]
* Enrich with some register descriptions and additional register macros.marius2005-03-191-7/+51
| | | | Obtained from: OpenBSD
* - Add a device interface method for bus_get_resource_list() and usemarius2005-03-191-32/+27
| | | | | | bus_generic_rl_release_resource() for the bus_release_resource() method instead of a local copy. - Correctly handle pass-through allocations in central_alloc_resource().
* Remove dead code.das2005-03-181-2/+0
| | | | Found by: Coverity Prevent analysis tool
* Don't brelse(bp) if bp is null. Also, eliminate some redundancydas2005-03-181-18/+5
| | | | | | and dead code. Found by: Coverity Prevent analysis tool
* Move the swap_zone == NULL check earlier (i.e. before we dereferencedas2005-03-181-2/+2
| | | | | | the pointer.) Found by: Coverity Prevent analysis tool
* Add missing cases for PT_SYSCALL.das2005-03-181-0/+2
| | | | Found by: Coverity Prevent analysis tool
* In order to print out the dump dates correctly, the date and ddate fieldsimp2005-03-181-0/+4
| | | | also need to be convereted for old tapes for records of type TAPE.
* Typo.phk2005-03-181-1/+1
| | | | Submitted by: Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
* Sync usage and man page with reality. There's no '-c' command lineimp2005-03-182-19/+10
| | | | | flag today. Maybe we should still retain it, but I'll let others fight that windmill.
* Cleanup handling of colons in variable substitutions.harti2005-03-181-50/+41
| | | | | | Patch: 7.126 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Need to initialize the resource list that we keep for our children.imp2005-03-181-0/+1
| | | | | | | STAILQ's require this, while it is optional for SLIST (well, as long as the memory is bzeroed). Noticed by: phk's crash
* Unfold parsing of single letter modifiers from multi-letter ones.harti2005-03-181-196/+258
| | | | | | Patch: 7.125 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Style: fix indentation and <space><tab>.harti2005-03-181-584/+596
| | | | | | Patch: 7.124 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Split out the 'S' modifier into its own function.harti2005-03-181-80/+83
| | | | | | Patch: 7.122,7.123 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Convert Var_Parse to a wrapper function.harti2005-03-181-60/+82
| | | | | | | | | Reduce the number of arguments passed between these functions by creating a special-purpose struct. Patch: 7.120,7.121 Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Replace Lst_Find calls with LST_FOREACH loops. This helps inharti2005-03-182-48/+15
| | | | | constification und simplifies the code because the one-liner predicates can be inlined into the code.
* Add a comment to note that pseudo-device bpf is required for DHCP.murray2005-03-188-1/+8
| | | | | | | | | This is mentioned in the Handbook but it is not as obvious to new users why bpf is needed compared to the other largely self-explanatory items in GENERIC. PR: conf/40855 MFC after: 1 week
* Replace a bogus use of Lst_Find with explicite LST_FOREACH callsharti2005-03-181-8/+14
| | | | and remove the unneeded second argument to ReadMakefile.
* Fix a bug in matching suffixes. Under certain circumstances the codeharti2005-03-181-44/+25
| | | | | | | | | | | | would access memory before the beginning of the string to match (the suffix match starts at the end of both the string and the suffix and proceedes to the begin until either the start of the suffix is hit or the character does not match). This could lead to a memcpy copying into random memory. Fix this by checking the length of the string to match too and replacing the Lst_Find calls with LST_FOREACH loops (last part by me). Submitted by: Matt Dillon <dillon@apollo.backplane.com> (in principle)
* If vhid exists return more informative EEXIST instead of EINVAL. While hereglebius2005-03-181-3/+2
| | | | remove redundant brackets.
* Impose the upper limit on signals that are allowed between kernel threadssobomax2005-03-181-2/+2
| | | | | | | in set[ug]id program for compatibility with Linux. Linuxthreads uses 4 signals from SIGRTMIN to SIGRTMIN+3. Pointed out by: rwatson
* Fix a potential crash that could occur when CARP_LOG is being used.glebius2005-03-181-2/+1
| | | | Obtained from: OpenBSD (pat)
* Run "make obj" before "make build-tools" in the directories used forcperciva2005-03-181-0/+1
| | | | | | | | building the rescue binary. This fixes a problem with NO_TCSH, where the "make obj" stage of buildworld doesn't recurse into bin/csh, resulting in csh build-tools being put into /usr/src/bin/csh. Pointed out by: dougb (on hackers@)
* Use subr_unit to allocate thread ID's with.phk2005-03-181-78/+6
| | | | Tested by: davidxu
* s/SLIST/STAILQ/phk2005-03-184-12/+12
| | | | | | /imp/a\ pointy hat .
* Linuxthreads uses not only signal 32 but several signals >= 32.sobomax2005-03-181-5/+5
| | | | | PR: kern/72922 Submitted by: Andriy Gapon <avg@icyb.net.ua>
* makebdev() is long gone.phk2005-03-181-1/+0
|
* - autofs was removed some time ago and libautofs is not hooked up tobrueffer2005-03-182-8/+2
| | | | | the build. Remove both from here. - acpi_snc was renamed to acpi_sony some time ago.
* New release notes:hrs2005-03-182-0/+6
| | | | acpi_fujitsu driver added.
* Split configure() into 3 separate steps like we do on otheriedowse2005-03-182-16/+34
| | | | | | | architectures. This makes it possible to insert hooks before and after the device attachment step. Tested thanks to: marcel
* Hook acpi_fujitsu up to the build.philip2005-03-182-0/+4
| | | | Forgotten by: philip
* Add acpi_fujitsu for handling acpi-controlled buttons on Fujitsu laptops.philip2005-03-183-1/+574
| | | | | | Submitted by: Anish Mistry <mistry.7 -at- osu.edu> Reviewed by: njl X-MFC after: 5.4-RELEASE
* Fix off-by-one (too little!) array size problem.phk2005-03-181-1/+1
| | | | Detected by: Coverity (ID#661)
* g_read_data() can return NULL, check for it.phk2005-03-181-0/+2
| | | | Found by: Coverity (ID#258)
* After rejecting the bio request early, return instead of panicing.phk2005-03-181-1/+3
| | | | Found by: Coverity (ID#450)
* Avoid null pointer dereference.phk2005-03-181-3/+2
|
* Fix a bad copy&paste mistake I made.phk2005-03-181-1/+1
| | | | Spotted by: truckman
* If mlx_attach() returns an error, don't free sc again.das2005-03-181-3/+1
| | | | | Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
* Don't read past the end of pVDevice[]. (Previously, we would iteratedas2005-03-181-1/+1
| | | | | | | twice as many times as there were entries in the array.) Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
* Don't write past the end of the VendorId field (and into the ProductIddas2005-03-181-1/+1
| | | | | | | field). Spotted by: Ted Unangst using the Coverity Prevent static analysis tool Reviewed by: scottl
* Use STAILQ in preference to SLIST for the resources. Insert new resourcesimp2005-03-187-21/+21
| | | | | | | | | last in the list rather than first. This makes the resouces print in the 4.x order rather than the 5.x order (eg fdc0 at 0x3f0-0x3f5,0x3f7 is 4.x, but 0x3f7,0x3f0-0x3f5 is 5.x). This also means that the pci code will once again print the resources in BAR ascending order.
* Split configure into 3 steps ala sparc64grehan2005-03-181-1/+20
| | | | Obtained from: iedowse, sparc64
* Autogenerate device listings for sr(4) and rc(4).brueffer2005-03-183-22/+8
| | | | MFC after: 3 days
* Further refine information about supported hardware (from the hardware notes).brueffer2005-03-181-4/+6
|
* - move supported hardware information into a HARDWARE sectionbrueffer2005-03-181-9/+10
| | | | | | | | - consistently capitalize RISCom - fix typo - bump .Dd MFC after: 3 days
* Fix the double rounding problem with subnormals, anddas2005-03-182-16/+36
| | | | remove the XXX comments, which no longer apply.
* - add a HARDWARE sectionbrueffer2005-03-181-10/+13
| | | | | | | | - correct a language nit - remove outdated FILES section - bump .Dd MFC after: 3 days
OpenPOWER on IntegriCloud