summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of duplicates.ru2003-09-146-6/+6
|
* Correct the calculation of "a leap year" in parseDWM. The calculationgad2003-09-141-17/+43
| | | | | | | | would only match a leap year every 400 years. The parseDWM code first showed up in April 2000, so the first time this bug would cause any confusion is in Feb 2004. MFC after: 18 days
* Correct typo in comment.njl2003-09-141-1/+1
|
* For dumping the DSDT (-o option), be sure to use the X_DSDT address ifnjl2003-09-141-1/+7
| | | | appropriate. This should be the last change to make ia64 work.
* Add the -i flag to acpiconf(8) to retrieve battery information.njl2003-09-132-29/+69
| | | | Rename a few structure elements.
* C2/C3 latency is in microseconds (us), not ms.njl2003-09-131-1/+1
|
* Only print various optional fields if they are non-zero. Always print thenjl2003-09-131-24/+31
| | | | required fields, no matter what their value.
* Reduce the default width for IO port GAS printing.njl2003-09-131-4/+4
| | | | Courtesy of: rwatson's chart presentation
* Move the parse8601 and parseDWM routines into a new ptime.c file. Thegad2003-09-124-219/+320
| | | | | | | only code-change is to add a "next_time" parameter to both routines (and that is not used yet). A later update will make "next_time" more useful. MFC after: 20 days
* Remove the unrequired -bi from the newaliases line. Note in the commit logtrhodes2003-09-112-2/+2
| | | | | | that the last change should have read: exim_enable="YES" in the changes listing. Discussed with: ceri
* Add dumping of the ECDT table.njl2003-09-102-0/+29
| | | | Courtesy of: USENIX hall track
* o Workaround a bug where my T23 reports that it is ACPI 2.0x compatiblenjl2003-09-102-29/+70
| | | | | | | | but has invalid 64 bit pointers for FACS and DSDT. o Finish work to print all of the FADT and FACS. o Resort the comment generating functions. Submitted by: marcel Courtesy of: BSDcon back wall
* With the exim port upgrade, modify sysinstall(8):trhodes2003-09-102-24/+20
| | | | | | | | | | | | | - Add 'enable_exim="YES"' to rc.conf(5) - Use the default exim configuration file from the port - When using sendmail, disable some more scripts that use sendmail specific parameters - Have sysinstall tweak mailer.conf(5) substitution - Use 'N' flag for newsyslog(8) Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> Reviewed by: sheldonh, simon Tested by: myself (trhodes) and submitter
* mdoc(7): Properly mark C headers.ru2003-09-102-2/+2
|
* Switch dotrim() to take advantage of the 'struct conf_entry' thatgad2003-09-091-33/+36
| | | | | | | is already passed in, instead of having the caller copy values from that struct into additional parameters. MFC after: 22 days
* Reduce the annoying compiler warnings that pop up when compiling withgad2003-09-091-9/+9
| | | | | | gcc 3.3.x and -Wshadow. Just renames 'log' variables to be 'logname'. MFC after: 22 days
* Add a device driver for the Broadcom BCM4401 ethernet controller,wpaul2003-09-092-0/+2
| | | | | | | | | | | | | | written by Stuart Walsh and Duncan Barclay (with some kibbitzing by me). I'm checking it in on Stuart's behalf. The BCM4401 is built into several x86 laptop and desktop systems. For the moment, I have only enabled it in the x86 kernel config because although it's a PCI device, I haven't heard of any standalone NICs that use it. If somebody knows of one, we can easily add it to the other arches. This driver uses register/structure data gleaned from the Linux driver released by Broadcom, but does not contain any of the code from the Linux driver itself. It uses busdma.
* 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.
* 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
* 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
* 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
* mdoc(7): Use the new feature of the .In macro.ru2003-09-082-2/+2
|
* Take the support for the 8139C+/8169/8169S/8110S chips out of thewpaul2003-09-082-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Use uid_t.charnier2003-09-071-3/+4
|
* There is no need to #include <sgtty.h>peter2003-09-041-1/+0
|
* Sync with fresh generated file, keep our changed settings. This seemsmbr2003-09-021-1386/+1338
| | | | to be a lot cleaner.
* Remove redundant PACKAGE and VERSION defines.mbr2003-09-021-6/+1
|
* Update version string.mbr2003-09-021-1/+1
|
* Set HAVE_STRUCT_IFREQ_IFR_ADDR, HAVE_STRUCT_FHSTATUS_FHS_FH to 1.mbr2003-09-021-0/+9
|
* Retire 'c' partition for a CD device.maxim2003-09-012-13/+4
| | | | | Submitted by: Craig Rodrigues <rodrigc@crodrigues.org> Not objected by: -current
* Introduce more knobs to slim down FreeBSD userlandphk2003-08-291-4/+11
| | | | | | | NO_TOOLCHAIN skips Compilers and Binutils NO_USB skips USB stuff NO_VINUM skips Vinum stuff NO_ACPI skips ACPI stuff
* Add asf to i386 build. This will probably work on other platformsgrog2003-08-291-0/+1
| | | | | too, but I don't have time to test it, and I'm not sure it will help much.
* Now that amldb(8) is no longer needed by acpidump, remove the last vestigesnjl2003-08-2826-7607/+0
| | | | | of the original userland ACPI implementation. amldb is still available from the devel/acpicatools port.
* Modify acpidump to use iasl(8) as the backend for disassembling AML.njl2003-08-288-2086/+366
| | | | | Also clean up the output of dumped tables. Update the man page for the new usage. Make WARNS=6 clean.
* Make build of atm, mld6query, rip6query, route6d and traceroute6phk2003-08-271-5/+11
| | | | depend on existing NOATM and NOINET6 conditionals.
* Clarify the order of arguments passed to the pre-/post-install scriptroam2003-08-261-1/+1
| | | | | | | | in the description of the pkg_create -i command-line option. PR: 55477 Submitted by: Eric van Gyzen <vangyzen@stat.duke.edu> MFC after: 5 weeks
* Minimal update to make it easier to increase the buffer-size lpd usesgad2003-08-212-10/+20
| | | | | | | | | | when reading/writing spool files. I intend to do a more elaborate version, but I want to get this much in before 4.9-release. As written, this results in no change to the object code. Submitted by: John-Mark Gurney Reviewed by: /sbin/md5 MFC after: 4 days
* The PCMCIA Standard dictates that those funny cards you insert intoimp2003-08-204-18/+18
| | | | | laptops are "PC Cards" and uses said term consistantly. Allow my foolish hobgoblins to get the better of me and become consistant.
* Add a new variable 'skipPCCARD'. This variable will cause sysinstallimp2003-08-208-2/+26
| | | | | | | | | to ignore all PC Card devices. Submitted by: Anders Nordby PR: bin/37650 MFC After: 2 weeks
* - Add support for Cisco latest firmware RID sizes that supports 25 SSIDs!ambrisko2003-08-201-50/+42
| | | | | | | | | | | | - Fix up TX speed changes. - Make mpi-350 cards sort-of work with new firmware. It RXs okay but TXs only work for about 14 packets then fails to get an interrupt. The TX watchdog fires. It has been reported that my hack for now doesn't break cards with the older firmware. It appears my card has lost the ability to RX or TX at all but other peoples cards work. I assume it got damaged in tansport. MFC: 1 week.
* Remove the vestiges of the old pre-"X_AS_PKG" way we used to handled theobrien2003-08-1912-580/+2
| | | | | | installing XFree86 (version 3.3.6 and before). Reviewed by: jhb
* Expand the fdisk size display toggling to include GB.obrien2003-08-192-4/+12
|
* When checking the 'user:group' field in newsyslog.conf, freebsd's sourcegad2003-08-191-2/+14
| | | | | | | | | | | | | | | | | | | | | | was mistakenly calling the standard isnumber() function to find out if the given 'user' or 'group' were all numeric. This meant that only the first character of the fields were actually checked, so a username of (say) '3com' would look like a number, and thus get mapped to uid=3 (bin) instead of username=3com. This bug was introduced back in freebsd's v1.1. That initial import almost matches netbsd's v1.9, except that an internal isnumber() routine was removed in favor of the standard library version. The thing is, that internal routine was checking the entire string, and not just the first digit. In OpenBSD, isnumber() was eventually renamed to isnumberstr() to make the distinction more obvious, and I'm going to follow that lead. I believe this also happens to remove the last references to isnumber() in the entire freebsd base system. Obtained from: OpenBSD, by a long circuitous route MFC after: 5 days
* rtm_seq is int, so seq/myseq should be int.ume2003-08-181-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* suppress outpt on dump request if -q is specified.ume2003-08-181-0/+3
| | | | | Obtained from: KAME MFC after: 1 week
* atoi -> strtoulume2003-08-181-2/+10
| | | | | Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud