summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Restore behaviour from rev. 1.9. Only log when there is a real changembr2003-09-091-5/+0
| | | | | | to the configuration state. Noticed by: obrien
* Update the explanation of parity capabilitiesyar2003-09-091-6/+4
| | | | | | | to bring it into accord with the present getty(8) code. PR: bin/56325 MFC after: 3 days
* Add the -m, -w and -x options to ls's usage message.tjr2003-09-091-2/+2
| | | | | | PR: 51493 Submitted by: Walter Belgers MFC after: 1 month
* Add support for ACPI 2.x and the XSDT.njl2003-09-091-25/+77
| | | | Submitted by: marcel
* Rename FACP to FADT throughout.njl2003-09-094-111/+206
| | | | | | | Update FADT for new fields including pm_profile, pstate_cnt, and cst_cnt. Add acpi_print_gas() for printing various address formats. Print FACS contents. Remove unused code.
* Add cwd, root and statm (modeled on a 2.4.20 kernel). De-obfuscatedes2003-09-091-17/+96
| | | | linprocfs_init() a little and remove some gratuitous whitespace.
* Make char signed by default.des2003-09-091-4/+14
| | | | Submitted by: grehan
* Add code to support pthread spin lock.davidxu2003-09-098-0/+339
| | | | Reviewed by: deischen
* Use PCIR_BAR() instead of a magic offset.scottl2003-09-091-1/+1
|
* Re-arrange the raid section a small bit and put drivers into their properscottl2003-09-091-9/+9
| | | | category.
* Introduce IA64_ID_PAGE_{MASK|SHIFT|SIZE} and LOG2_ID_PAGE_SIZE. Themarcel2003-09-096-8/+26
| | | | | | | | | | latter is a kernel option for IA64_ID_PAGE_SHIFT, which in turn determines IA64_ID_PAGE_MASK and IA64_ID_PAGE_SIZE. The constants are used instead of the literal hardcoding (in its various forms) of the size of the direct mappings created in region 6 and 7. The default and probably only workable size is still 256M, but for kicks we use 128M for LINT.
* Correct the comment about which timezone-change loses an hour...gad2003-09-091-2/+2
| | | | MFC after: 23 days
* Add a '-D <something>' command line arg, which can be used to setgad2003-09-091-3/+57
| | | | | | | | debugging options. Initial option is '-D TN=<time>', which can be used to see how newsyslog would work if run at the specified time. (time format is ISO 8601, since that is already supported). MFC after: 23 days
* Disallow attempts to suspend to S0. It was only enabled for testing.njl2003-09-091-10/+11
| | | | | Print a more informative message if a sleep state is not supported by BIOS. Add comments.
* Use strtol() instead of strtoul() in parse8601, so we can detectgad2003-09-091-17/+17
| | | | | | | negative values. Mainly done to sync this routine with OpenBSD. Obtained from: OpenBSD MFC after: 23 days
* Fix typo in the previous commit. Was checking wrong variable...gad2003-09-091-1/+1
| | | | MFC after: 23 days
* Change parse8601 and parseDWM so they return an alternate error valuegad2003-09-091-14/+29
| | | | | | for invalid times, and have the caller print the error message. MFC after: 23 days
* Add the re.4 man page, which I forgot to do last night.wpaul2003-09-091-0/+200
|
* Cosmetic change to move parse8601 right next to parseDWM. No codegad2003-09-091-86/+86
| | | | | | is changed. (that will come in later updates). MFC after: 23 days
* Hook the SiS DRM up to the buildanholt2003-09-094-2/+16
| | | | Sponsored by: LinuxFund
* Merge from DRI CVS. Includes newly ported SiS 300/305/540/630/730 driver andanholt2003-09-0917-71/+1261
| | | | | | updates to allow system memory to be used for textures on PCI Radeons. Sponsored by: LinuxFund
* Turn aac back on now that its been cleaned up for 64 bit compilationpeter2003-09-081-2/+2
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-08144-258/+256
|
* Finish the reversion of rev. 1.52.ru2003-09-081-3/+2
|
* Correct bzero length so we clear the entire key structure.phk2003-09-081-1/+1
|
* Correctly bzero the entire context, not just the first sizeof(void *) bytes.phk2003-09-081-6/+6
| | | | Found by: Juergen Buchmueller <pullmoll@stop1984.com>
* Argh. This file was completely out of sync with mcontext/trapframe.peter2003-09-081-11/+12
|
* Hmm. Two copies of the mcontext...peter2003-09-081-1/+1
|
* Unbreak Russian KOI8-R support.ru2003-09-088-172/+324
|
* Quiet down boot verbose and allow commands to be submitted to a targetps2003-09-081-2/+1
| | | | | which does not have a volume attached. This will stop cam from retrying a bunch of time at boot for devices which do not exsist.
* In the !MNT_BYFSID case, return EINVAL from unmount(2) when theiedowse2003-09-082-9/+21
| | | | | | | | | | | | | | specified directory is not found in the mount list. Before the MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent path and EINVAL for a non-mountpoint, but we can no longer distinguish between these cases. Of the two error codes, EINVAL was more likely to occur in practice, and it was the only one of the two that was documented. Update the manual page to match the current behaviour. Suggested by: tjr Reviewed by: tjr
* - Use trademark entities.simon2003-09-083-16/+46
| | | | | - Add trademark attributions. - Don't join trademarks with other words, e.g. using hyphens.
* Add another ID for the SiI3112a SATA chip as used on the Adaptec 1210SA.sos2003-09-082-7/+13
| | | | | | RAID support is still in the works, so for now just normal ATA ops. Sponsored by: Matt Douhan(www.fruitsalad.org)
* Limit the size of the rebuild requests to be within safety.sos2003-09-081-3/+6
|
* Bump __FreeBSD_version for Coda 6.x venus<->kernel API support.tjr2003-09-081-1/+1
|
* Use __FBSDID().obrien2003-09-0834-65/+95
| | | | Also some minor style cleanups.
* #ifdef out the vague ATA disk detection code causing fake ATA diskssos2003-09-081-0/+2
| | | | | to be found on some systems. Hopefully this doesn't loose any real ATA disks...
* Handle shared channels better.sos2003-09-081-11/+18
| | | | Try to avoid the spurios interrupts better.
* Update the PIO mode gathering code.sos2003-09-082-8/+10
| | | | Reported by: bde
* Command line variables take precedence over global variables.ru2003-09-081-1/+1
| | | | | | | | | | | | | | Make this true in the .for loops too. The following fragment, FOO= foo bar all: .for f in ${FOO} @echo ${f} .endfor when run as "make FOO=xxx" should print "xxx". (OpenBSD had this bug fixed for some time.)
* Looks like the re.4 man page didn't make it in the last commit,dougb2003-09-081-1/+0
| | | | so unhook it to get the build back in action.
* Dont re-arm the timeout twice on a timeout error.sos2003-09-081-5/+0
| | | | | | | The problem with the first timeout still exsists though, but not it doesn't enter a groundbound spin loop :) Found by: Aaron Smith <aaron@mutex.org>
* Don't disable interrupts a second time. Remove an extraneous interruptnjl2003-09-081-4/+1
| | | | | | | enable (that happens elsewhere). Clarify the interrupt disabling point by using ACPI_DISABLE_IRQS(). Tested by: Kevin Oberman
* Use pmap_extract_and_hold() in pipe_build_write_buffer(). Consequently,alc2003-09-081-35/+11
| | | | | | pipe_build_write_buffer() no longer requires Giant on entry. Reviewed by: tegge
* Fix path of pci #includes that I botched.wpaul2003-09-081-2/+2
| | | | Also pointed out by: Larry Rosenman
* Fix PATH: directive in sys/modules/re/Makefile, and add the re(4) driver towpaul2003-09-082-2/+2
| | | | | | devd.conf. Pointed out by: Larry Rosenman
* Introduce a new pmap function, pmap_extract_and_hold(). This functionalc2003-09-086-0/+118
| | | | | | | | | atomically extracts and holds the physical page that is associated with the given pmap and virtual address. Such a function is needed to make the memory mapping optimizations used by, for example, pipes and raw disk I/O MP-safe. Reviewed by: tegge
* Take the support for the 8139C+/8169/8169S/8110S chips out of thewpaul2003-09-0816-1243/+2590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rl(4) driver and put it in a new re(4) driver. The re(4) driver shares the if_rlreg.h file with rl(4) but is a separate module. (Ultimately I may change this. For now, it's convenient.) rl(4) has been modified so that it will never attach to an 8139C+ chip, leaving it to re(4) instead. Only re(4) has the PCI IDs to match the 8169/8169S/8110S gigE chips. if_re.c contains the same basic code that was originally bolted onto if_rl.c, with the following updates: - Added support for jumbo frames. Currently, there seems to be a limit of approximately 6200 bytes for jumbo frames on transmit. (This was determined via experimentation.) The 8169S/8110S chips apparently are limited to 7.5K frames on transmit. This may require some more work, though the framework to handle jumbo frames on RX is in place: the re_rxeof() routine will gather up frames than span multiple 2K clusters into a single mbuf list. - Fixed bug in re_txeof(): if we reap some of the TX buffers, but there are still some pending, re-arm the timer before exiting re_txeof() so that another timeout interrupt will be generated, just in case re_start() doesn't do it for us. - Handle the 'link state changed' interrupt - Fix a detach bug. If re(4) is loaded as a module, and you do tcpdump -i re0, then you do 'kldunload if_re,' the system will panic after a few seconds. This happens because ether_ifdetach() ends up calling the BPF detach code, which notices the interface is in promiscuous mode and tries to switch promisc mode off while detaching the BPF listner. This ultimately results in a call to re_ioctl() (due to SIOCSIFFLAGS), which in turn calls re_init() to handle the IFF_PROMISC flag change. Unfortunately, calling re_init() here turns the chip back on and restarts the 1-second timeout loop that drives re_tick(). By the time the timeout fires, if_re.ko has been unloaded, which results in a call to invalid code and blows up the system. To fix this, I cleared the IFF_UP flag before calling ether_ifdetach(), which stops the ioctl routine from trying to reset the chip. - Modified comments in re_rxeof() relating to the difference in RX descriptor status bit layout between the 8139C+ and the gigE chips. The layout is different because the frame length field was expanded from 12 bits to 13, and they got rid of one of the status bits to make room. - Add diagnostic code (re_diag()) to test for the case where a user has installed a broken 32-bit 8169 PCI NIC in a 64-bit slot. Some NICs have the REQ64# and ACK64# lines connected even though the board is 32-bit only (in this case, they should be pulled high). This fools the chip into doing 64-bit DMA transfers even though there is no 64-bit data path. To detect this, re_diag() puts the chip into digital loopback mode and sets the receiver to promiscuous mode, then initiates a single 64-byte packet transmission. The frame is echoed back to the host, and if the frame contents are intact, we know DMA is working correctly, otherwise we complain loudly on the console and abort the device attach. (At the moment, I don't know of any way to work around the problem other than physically modifying the board, so until/unless I can think of a software workaround, this will have do to.) - Created re(4) man page - Modified rlphy.c to allow re(4) to attach as well as rl(4). Note that this code works for the sample 8169/Marvell 88E1000 NIC that I have, but probably won't work for the 8169S/8110S chips. RealTek has sent me some sample NICs, but they haven't arrived yet. I will probably need to add an rlgphy driver to handle the on-board PHY in the 8169S/8110S (it needs special DSP initialization).
* Untangle the code in this file to improve understandability. Bothmarcel2003-09-071-159/+155
| | | | | | | | | | | | | | ia64_count_cpus() and ia64_probe_sapics() called a single function to do the the actual work. The difference in behaviour was handled in that function and was further complicated by adding bootverbose related code. As such, even the simplest of changes was hard to comprehend. Untangling has been done by increasing code duplication and using a more naive style of coding. FWIW, the object file is slightly smaller than before, so things aren't as bad as it may seem. Triggered by: a simple fix on the P4 branch that never got merged.
* Remove the assumption that a bus_space_handle_t is an I/O addressmarcel2003-09-079-48/+91
| | | | | | | | | | | | | | from the SAB82532 and the Z8530 hardware drivers by introducing uart_cpu_busaddr(). The assumption is not true on pc98 where bus_space_handle_t is a pointer to a structure. The uart_cpu_busaddr() function will return the bus address corresponding the tag and handle given to it by the BAS. WARNING: the intend of the function is STRICTLY to allow hardware drivers to determine which logical channel they control and is NOT to be used for actual I/O. It is therefore EXPLICITLY allowed that uart_cpu_busaddr() returns only the lower 8 bits of the address and garbage in all other bits. No mistakes...
OpenPOWER on IntegriCloud