dragonfly.git
19 years agoDocument PCIY_xxx.
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:21:01 +0000 (07:21 +0000)]
Document PCIY_xxx.
Synchs with FreeBSD v1.34.

19 years agoInspired by rev 1.33 of FreeBSD, but which was not documented:
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:15:37 +0000 (07:15 +0000)]
Inspired by rev 1.33 of FreeBSD, but which was not documented:

remove unused definitions (thanks to glimpse for verification)

19 years agoAdd identifiers for Serial Attached SCSI per dicussion with the PCI SIG
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 06:56:48 +0000 (06:56 +0000)]
Add identifiers for Serial Attached SCSI per dicussion with the PCI SIG
chairman (includes vendor specific and serial storage bus codes).

19 years agoReplace the perl man filter with a sed man filter, fixing manual page
Matthew Dillon [Wed, 21 Jul 2004 02:07:23 +0000 (02:07 +0000)]
Replace the perl man filter with a sed man filter, fixing manual page
generation for dhclient during a buildworld.

Patch-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@les.ath.cx>
Reported-by: "M. Schatzl" <lists@neuronenwerk.de>
19 years agoFix a device pager leak for the case where the page already exists in the
Matthew Dillon [Wed, 21 Jul 2004 01:25:18 +0000 (01:25 +0000)]
Fix a device pager leak for the case where the page already exists in the
VM object (typical case: multiple mappings of the device?).  If the page
already exists we simply update its physical address.  It is unclear whether
the physical address would ever actually be different, however.

This is an untested patch.

Original-patch-written-by: Christian Zander @ NVIDIA
Workaround-suggested-by: Tor Egge <tegge@freebsd.org>
Submitted-by: Emiel Kollof <coolvibe@hackerheaven.org>
19 years agoAdd a dire warning about PCI_ENABLE_IO_MODES.
Matthew Dillon [Tue, 20 Jul 2004 18:48:02 +0000 (18:48 +0000)]
Add a dire warning about PCI_ENABLE_IO_MODES.

19 years agoata-raid associates raw ata disk devices to record the raid setup and checks
Matthew Dillon [Tue, 20 Jul 2004 17:55:33 +0000 (17:55 +0000)]
ata-raid associates raw ata disk devices to record the raid setup and checks
for the existance of an associated si_disk structure to determine whether
the associations remain valid.  In DragonFly the abstracted 'disk' layer
is now above the raw drive device rather then integrated with the raw drive
device and thus the raw device does not have an si_disk association.  Change
the conditionals to simply check for the existance of the device.

The prior check was resulting in drives being marked damaged in the raid
when they weren't, making the raid unusable and requiring a complete rebuild.
Though it is possible to rebuild and regenerate the labels (e.g. using
scan_ffs) without losing data, it is painfull to have to do it.

Reported-painfully-by: Andrew Atrens <atrens@nortelnetworks.com>
19 years agoAdd llc_snap shortcut.
Joerg Sonnenberger [Tue, 20 Jul 2004 14:43:34 +0000 (14:43 +0000)]
Add llc_snap shortcut.

Obtained-from: FreeBSD

19 years agoUnconditionally print startup 8254 and TSC calibrations.
Matthew Dillon [Tue, 20 Jul 2004 04:12:08 +0000 (04:12 +0000)]
Unconditionally print startup 8254 and TSC calibrations.

Add the hw.i8254 sysctl node which returns systimer statistics.  In
particular, hw.i8254.timestamp generates both an 8254 and a TSC timestamp
and can be used to check whether the 8254 timer 2 has gone whacko or not.

19 years agoDisplay proper information when the verbose flag (-v) is passed to
Hiten Pandya [Tue, 20 Jul 2004 03:35:27 +0000 (03:35 +0000)]
Display proper information when the verbose flag (-v) is passed to
vnconfig(8).

It was showing '0 bytes on...' when a size flag (-S) was not given,
for example when you want to mount an ISO.

19 years agoSCSI CD devices require 'cd0c' to be specified instead of 'cd0a', while
Matthew Dillon [Tue, 20 Jul 2004 03:08:23 +0000 (03:08 +0000)]
SCSI CD devices require 'cd0c' to be specified instead of 'cd0a', while
ATA devices allow either 'acd0c' or 'acd0a'.  Change the CD root automount
sequence to use 'c' instead of 'a' in order to properly mount both SCSI
and ATA CDRom drives.

19 years agoMinor KNF/style cleanups. No operational changes.
Hiten Pandya [Tue, 20 Jul 2004 02:59:18 +0000 (02:59 +0000)]
Minor KNF/style cleanups.  No operational changes.

19 years agoMAJOR BOOT CODE REVAMP / 30 hour+ hacking session (50 if you include the
Matthew Dillon [Mon, 19 Jul 2004 23:30:38 +0000 (23:30 +0000)]
MAJOR BOOT CODE REVAMP / 30 hour+ hacking session (50 if you include the
attempt I made last month).

* Document the code wherever possible.  The previous code had lots of
  basically useless comments.

* Consolidate constants and calculations into a single header file.  The
  previous code separately defined the constants, did not document the
  relationships (which is why it took 30+ hours to fix), and often used
  unrelated numerical optimizations to get from one constant def to another.

* Most address ORG values can now be modified in one place (bootasm.h) and
  the boot code will actually still work.  Note, however, that many ORG
  values must still be < 0x10000 due to the lack of segment register use in
  16 bit code.   This can be fixed with additional work, but not in this
  commit.

* Provide two alternative address ORG relocations for experimentation
  purposes.

* Fix what I believe to be a bug in boot2/boot2.c.  Boot2.c was accessing
  the drive/slice data stored by boot1 using the base-offset-0 linear address
  instead of the btx-client-user address.  Additionally, boot1 was storing
  the data at a location that the btx client could not access.
  (see MEM_BTX_USR_ARG)

* Fix a heap/stack collision in the loader.  The loader was setting the end
  of the heap to the end of BIOS memory without taking into account the
  fact that its stack was likely growing downward starting at the end of
  BIOS memory.

* Fix a heap calculation error in the loader.  The loader was using the
  physical address representation of the end of BIOS memory instead of the
  virtual address representatino, which can result in the loader pushing into
  BIOS memory.

19 years agoRemove my changes. PATH_PORTS is not checked for multiple entries as
Justin C. Sherrill [Mon, 19 Jul 2004 20:27:36 +0000 (20:27 +0000)]
Remove my changes.  PATH_PORTS is not checked for multiple entries as
PATH_SOURCES is, and adding /usr/dfports to PATH_SOURCES does not work,
as whereis will just print the first place it finds a match.  No sense in
leaving it broken while I figure this out.

19 years agoCorrect a bug in NXCCFLAGS generation.
Matthew Dillon [Mon, 19 Jul 2004 16:24:27 +0000 (16:24 +0000)]
Correct a bug in NXCCFLAGS generation.

19 years agoUpdate pciconf to print the recently added categories.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 13:56:34 +0000 (13:56 +0000)]
Update pciconf to print the recently added categories.

19 years agoCorrect some PCIS to PCIC and PCIP prefixes.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 13:47:12 +0000 (13:47 +0000)]
Correct some PCIS to PCIC and PCIP prefixes.

19 years agoAdd PCIS_ definitions per PCI specification 3.0.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:36:09 +0000 (10:36 +0000)]
Add PCIS_ definitions per PCI specification 3.0.

19 years agoUpdate the PCIS_ definitions per the PCI 2.3 specification.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:31:04 +0000 (10:31 +0000)]
Update the PCIS_ definitions per the PCI 2.3 specification.

19 years agoAdd rndcontrol.
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 10:24:03 +0000 (10:24 +0000)]
Add rndcontrol.

Submitted by: Peter Avalos <pavalos@theshell.com>

19 years agoUpdate comment to point to the right file (src/sys/bus/pci/pcireg.h).
Jeroen Ruigrok/asmodai [Mon, 19 Jul 2004 09:28:17 +0000 (09:28 +0000)]
Update comment to point to the right file (src/sys/bus/pci/pcireg.h).

19 years agoAdd struct ucred * argument to ng_fec_ioctl
Joerg Sonnenberger [Mon, 19 Jul 2004 09:23:23 +0000 (09:23 +0000)]
Add struct ucred * argument to ng_fec_ioctl

19 years agoConsolidate most constant memory addresses in bootasm.h part2/2:
Matthew Dillon [Mon, 19 Jul 2004 01:25:02 +0000 (01:25 +0000)]
Consolidate most constant memory addresses in bootasm.h part2/2:
Convert btx/lib and do additional cleanups.  Again no operational changes.

19 years agoConsolidate most constant memory addresses in bootasm.h part1/2. Convert
Matthew Dillon [Sun, 18 Jul 2004 23:40:09 +0000 (23:40 +0000)]
Consolidate most constant memory addresses in bootasm.h part1/2.  Convert
all .s files into .S files and replace any remaining M4 use with standard
preprocessor directives.

Files generated should be the same as before this commit.

19 years agoPerform some basic cleanups. Change some types over to C99 standard
David Rhodus [Sun, 18 Jul 2004 19:43:48 +0000 (19:43 +0000)]
Perform some basic cleanups. Change some types over to C99 standard
types. Correct some misspellings. Correct some type usages which could
possibly resulted in overflows in the filesystem code.

19 years agoSync bootn0 with recent boot0 fixes.
Matthew Dillon [Sun, 18 Jul 2004 18:42:08 +0000 (18:42 +0000)]
Sync bootn0 with recent boot0 fixes.

19 years agoImplement advisory locking support for the cd9660 filesystem.
David Rhodus [Sun, 18 Jul 2004 18:35:20 +0000 (18:35 +0000)]
Implement advisory locking support for the cd9660 filesystem.

19 years agoBrute force a register save/restore for int 0x13 (disk I/O) and 0x10 (putchar)
Matthew Dillon [Sun, 18 Jul 2004 18:26:33 +0000 (18:26 +0000)]
Brute force a register save/restore for int 0x13 (disk I/O) and 0x10 (putchar)
by using pusha/popa.  Don't trust the BIOS to properly save and restore
registers.

Note that the TICKS check for boot0 currently still depends on %di being
retained across two BIOS calls.  More code reorganization is required to
make a save/restore fit in the space available.

19 years agoBring the twiddle fix in from FreeBSD5:1.11. This rev also added a
Matthew Dillon [Sun, 18 Jul 2004 16:51:38 +0000 (16:51 +0000)]
Bring the twiddle fix in from FreeBSD5:1.11.  This rev also added a
save/restore pair for %cx around the read, but that is not necessarily
sufficient.  Instead of pussy-footing around, use pushal/popal to save ALL
registers around the two BIOS calls cdboot.s makes and get rid of random
saves and restores elsewhere in the code.

The pushal/popal fix allows bochs to boot past the loader into single-user,
though it still panics when we try to use the FP unit.

19 years agoFix two serious bugs in the IP demux code. First, if ip_mport() m_pullup()'s
Matthew Dillon [Sun, 18 Jul 2004 16:26:43 +0000 (16:26 +0000)]
Fix two serious bugs in the IP demux code.  First, if ip_mport() m_pullup()'s
an mbuf, the new/modified mbuf is not returned to the caller and the caller
may wind up using a stale/freed mbuf.  Second, ip_mport() was not consistently
freeding mbufs which could lead to both a memory leak and a double free.

Reported-by: YONETANI Tomokazu <qhwt+dragonfly-bugs@les.ath.cx> (panic: TCP header not in one mbuf).
19 years agoCorrect dumb copy/paste of existing line mistake to correct name.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:49:15 +0000 (12:49 +0000)]
Correct dumb copy/paste of existing line mistake to correct name.

19 years agoClarify the Sony strings.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:37:03 +0000 (12:37 +0000)]
Clarify the Sony strings.

19 years agoAdd the Sony CXD1947, which seems to be used in some Sony Vaios.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:29:19 +0000 (12:29 +0000)]
Add the Sony CXD1947, which seems to be used in some Sony Vaios.

19 years agoThe device in question is the Sony CXD3222, not the CX3022.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:27:36 +0000 (12:27 +0000)]
The device in question is the Sony CXD3222, not the CX3022.

19 years agoClarify VIA Fire II identifier string.
Jeroen Ruigrok/asmodai [Sun, 18 Jul 2004 12:24:29 +0000 (12:24 +0000)]
Clarify VIA Fire II identifier string.

19 years agoBump the rev to 1.1-CURRENT.
David Rhodus [Sun, 18 Jul 2004 03:11:15 +0000 (03:11 +0000)]
Bump the rev to 1.1-CURRENT.

19 years agoDon't let packets with DF set sneak by through the hardware-assisted
Matthew Dillon [Sun, 18 Jul 2004 00:34:18 +0000 (00:34 +0000)]
Don't let packets with DF set sneak by through the hardware-assisted
fragmentation path.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
Taken-From: FreeBSD ip_output.c/1.199

19 years agoCompensate sockstat for the CPU column that netstat now adds.
Matthew Dillon [Sun, 18 Jul 2004 00:28:22 +0000 (00:28 +0000)]
Compensate sockstat for the CPU column that netstat now adds.

Submitted-by: Barry Pederson <bp@barryp.org>
19 years agoMerge revision 1.16 of src/usr.bin/rusers/rusers.c from FreeBSD.
Hiten Pandya [Sat, 17 Jul 2004 21:10:42 +0000 (21:10 +0000)]
Merge revision 1.16 of src/usr.bin/rusers/rusers.c from FreeBSD.

Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
19 years agoEliminate hard sentence breaks.
Hiten Pandya [Sat, 17 Jul 2004 21:06:38 +0000 (21:06 +0000)]
Eliminate hard sentence breaks.

19 years agoReadability changes, mostly removing the option to not do NewReno,
Jeffrey Hsu [Sat, 17 Jul 2004 20:31:31 +0000 (20:31 +0000)]
Readability changes, mostly removing the option to not do NewReno,
re-indenting some code, and ansifying some function definitions.

19 years agoIn dumpon(8) usage, `off' is a literal keyword, not a parameter name.
Chris Pressey [Sat, 17 Jul 2004 18:21:18 +0000 (18:21 +0000)]
In dumpon(8) usage, `off' is a literal keyword, not a parameter name.

19 years agoMinor documentation update to clarify the effect of the vfs.usermount sysctl.
Matthew Dillon [Sat, 17 Jul 2004 17:43:35 +0000 (17:43 +0000)]
Minor documentation update to clarify the effect of the vfs.usermount sysctl.

Submitted-by: Einar Karttunen <ekarttun@cs.helsinki.fi>
Taken from: NetBSD

19 years agoBring definition of va_list and friends, so that ACPI module actually
Hiten Pandya [Sat, 17 Jul 2004 10:49:43 +0000 (10:49 +0000)]
Bring definition of va_list and friends, so that ACPI module actually
builds with GCC-2.5 and GCC-3.4.

Noticed-by: Joerg Sonnenberger <joerg@bec.de>
19 years agoAdd a prototype for isab_attach(), which is used by the ACPI-5 ISA
Hiten Pandya [Sat, 17 Jul 2004 10:47:27 +0000 (10:47 +0000)]
Add a prototype for isab_attach(), which is used by the ACPI-5 ISA
bridge code.

19 years agoRemove an erronous 'static' in front of pci_alloc_resource(9).
Hiten Pandya [Sat, 17 Jul 2004 10:46:37 +0000 (10:46 +0000)]
Remove an erronous 'static' in front of pci_alloc_resource(9).

19 years agoAdd if_broadcastaddr to struct ifnet to hold the link layer broadcast address.
Joerg Sonnenberger [Sat, 17 Jul 2004 09:43:06 +0000 (09:43 +0000)]
Add if_broadcastaddr to struct ifnet to hold the link layer broadcast address.
Use this in place of the various direct references esp. to etherbroadcastaddr.

Inspired-by: NetBSD if.h, rev. 1.29
19 years agoDon't return 0 from rl_probe, because rl(4) is not a best match for
Joerg Sonnenberger [Sat, 17 Jul 2004 09:26:25 +0000 (09:26 +0000)]
Don't return 0 from rl_probe, because rl(4) is not a best match for
certain 8139 chips. That way re(4) has the change to attach first.

19 years agoBUF/BIO stage 2:
Hiten Pandya [Sat, 17 Jul 2004 01:45:37 +0000 (01:45 +0000)]
BUF/BIO stage 2:

o Remove remaining source references to b_caller2 and b_driver2
  field members of the BUF structure.

o Remove b_caller2 and b_driver2 field members from the BUF
  structure.

Discussed-with:   Matthew Dillon <dillon@apollo.backplane.com>

19 years agoFix a URL displayed in an advisory.
Matthew Dillon [Fri, 16 Jul 2004 21:33:16 +0000 (21:33 +0000)]
Fix a URL displayed in an advisory.

19 years agoDouble semi-colon police!
Hiten Pandya [Fri, 16 Jul 2004 19:07:56 +0000 (19:07 +0000)]
Double semi-colon police!

Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
19 years agoEliminate hard sentence breaks.
Hiten Pandya [Fri, 16 Jul 2004 19:07:08 +0000 (19:07 +0000)]
Eliminate hard sentence breaks.

Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
19 years agoEliminate hard sentence breaks.
Hiten Pandya [Fri, 16 Jul 2004 19:04:57 +0000 (19:04 +0000)]
Eliminate hard sentence breaks.

Submitted-by: Liam Foy <liamfoy@kerneled.org>
19 years agoMerge revision 1.26 of src/usr.bin/time/time.c from FreeBSD, and an
Hiten Pandya [Fri, 16 Jul 2004 18:58:35 +0000 (18:58 +0000)]
Merge revision 1.26 of src/usr.bin/time/time.c from FreeBSD, and an
additional change:

o Use wait4() instead of wait3() when waiting for a child
  process to exit.

o Set the process' exit code properly (rev. 1.25).

Obtained-from:   Liam J. Foy <liamfoy@kerneled.org>

19 years agoMerge revision 1.25 of src/usr.bin/time/time.c from FreeBSD.
Hiten Pandya [Fri, 16 Jul 2004 18:53:56 +0000 (18:53 +0000)]
Merge revision 1.25 of src/usr.bin/time/time.c from FreeBSD.

Original Log:

Assorted minor fixes, mostly style(9):
- PID should be pid_t, not int;
- sort #include's and local variables;
- don't overuse initializers;
- use warn(3) instead of perror(3) consistently;
- amplify the comment on signals.

Obtained-from:   Liam J. Foy <liamfoy@kerneled.org>

19 years agoFix a typo in last commit as to fix the EHIC compile.
David Rhodus [Fri, 16 Jul 2004 17:24:48 +0000 (17:24 +0000)]
Fix a typo in last commit as to fix the EHIC compile.

19 years agoIncrease the size of the nfsheur hash table as pointed out by
Jeffrey Hsu [Fri, 16 Jul 2004 16:17:08 +0000 (16:17 +0000)]
Increase the size of the nfsheur hash table as pointed out by
Daniel Ellard and Margo Selzter in "NFS Tricks and Benchmarking Traps",
Proceedings of the 2003 Freenix Technical Conference.

         The two changes are to increase NUM_HEURISTIC, and increase
         the number of probes attempted before a search of the table
         is abandoned. You could make the max probes as high as
         NUM_HEURISTIC, if you want to trade time for space. My
         choice of constants is arbitrary; maybe they should be
         config options so people with really big servers can set
         it to whatever they like when they build their kernels.

Obtained from:  http://www.eecs.harvard.edu/~ellard/NFS
Approved by:  Dan Ellard

19 years agoDocument addition of ICH6 UHCI.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 14:01:07 +0000 (14:01 +0000)]
Document addition of ICH6 UHCI.

19 years agoUpdate string to show this device is the Hub-PCI bridge for ICH2, 3, 4, 5,
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:57:23 +0000 (13:57 +0000)]
Update string to show this device is the Hub-PCI bridge for ICH2, 3, 4, 5,
and 6.

19 years agoAdd Intel 82801FB/FBW/FR/FRW PCI-LPC detection code.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:52:20 +0000 (13:52 +0000)]
Add Intel 82801FB/FBW/FR/FRW PCI-LPC detection code.

19 years agoUpdate per Intel 82801FB errata:
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:41:55 +0000 (13:41 +0000)]
Update per Intel 82801FB errata:

we now have 4 UHCI devices and the correct id for EHCI.

19 years agoAdd Intel 82801FB EHCI/ICH6 controller.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:33:43 +0000 (13:33 +0000)]
Add Intel 82801FB EHCI/ICH6 controller.

19 years agoAdd support for the 82801FB UHCI/ICH6 controller.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:25:16 +0000 (13:25 +0000)]
Add support for the 82801FB UHCI/ICH6 controller.

19 years agoAdd detection support for the Intel ICH6 chipset.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 13:08:46 +0000 (13:08 +0000)]
Add detection support for the Intel ICH6 chipset.

19 years agoFix the vendor id string of NatSemi to its correct one.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 12:41:00 +0000 (12:41 +0000)]
Fix the vendor id string of NatSemi to its correct one.
0x1000 is LSI Logic, 0x100b is NatSemi.
(NatSemi's documentation erroneously printed 0x1000)

19 years agoAdd the SiS "7007" OHCI IEEE 1394 controller.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 12:37:02 +0000 (12:37 +0000)]
Add the SiS "7007" OHCI IEEE 1394 controller.

19 years agoDetect the National Semiconductor Geode CS4210 OHCI IEEE 1394 controller.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 12:22:21 +0000 (12:22 +0000)]
Detect the National Semiconductor Geode CS4210 OHCI IEEE 1394 controller.

19 years agoAdd support for the Adaptec AIC5800 based IEEE 1394 cards.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 12:15:51 +0000 (12:15 +0000)]
Add support for the Adaptec AIC5800 based IEEE 1394 cards.

19 years agoFix grammatik error.
Joerg Sonnenberger [Fri, 16 Jul 2004 10:38:01 +0000 (10:38 +0000)]
Fix grammatik error.

19 years agoAdd detection code for the Intel 82372FB IEEE 1394 OHCI controller.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 09:42:50 +0000 (09:42 +0000)]
Add detection code for the Intel 82372FB IEEE 1394 OHCI controller.

19 years agoChange identifier display text to include all models supported.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 09:10:50 +0000 (09:10 +0000)]
Change identifier display text to include all models supported.
The TSB43AB21 is also supported.
Change device identifier to the parent.

19 years agoAdd support for the Texas Instruments IEEE 1394 controllers designated by:
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 08:58:45 +0000 (08:58 +0000)]
Add support for the Texas Instruments IEEE 1394 controllers designated by:

TSB43AB21A
TSB43AB21AI
TSB43AB21A-EP

19 years agoSync with FreeBSD v1.16:
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 08:36:28 +0000 (08:36 +0000)]
Sync with FreeBSD v1.16:

Add NEC uPD72873.

Submitted by: Christian Laursen <xi@borderworlds.dk>

19 years agoAdd detection support for the Avance Logic (Realtek) ALC203 and ALC250.
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 08:13:28 +0000 (08:13 +0000)]
Add detection support for the Avance Logic (Realtek) ALC203 and ALC250.

19 years agoAdd a clarification comment stating that Avance Logic's IC products are
Jeroen Ruigrok/asmodai [Fri, 16 Jul 2004 08:02:46 +0000 (08:02 +0000)]
Add a clarification comment stating that Avance Logic's IC products are
Realtek's nowadays.

19 years agoUpdate all my personal copyrights to the Dragonfly Standard Copyright.
Matthew Dillon [Fri, 16 Jul 2004 05:52:14 +0000 (05:52 +0000)]
Update all my personal copyrights to the Dragonfly Standard Copyright.

19 years agoNote that Jeff indicated to me that Jonathan Lemon gave his permission to
Matthew Dillon [Fri, 16 Jul 2004 05:48:08 +0000 (05:48 +0000)]
Note that Jeff indicated to me that Jonathan Lemon gave his permission to
merge his copyright into the DFly standard copyright.

19 years agoChange all files that I own to use the official DragonFly Project
Hiten Pandya [Fri, 16 Jul 2004 05:04:36 +0000 (05:04 +0000)]
Change all files that I own to use the official DragonFly Project
license.

Reviewed-by: Matthew Dillon <dillon@apollo.backplane.com>
19 years agoAnnotate the b_xio field member of the BUF structure.
Hiten Pandya [Fri, 16 Jul 2004 02:01:17 +0000 (02:01 +0000)]
Annotate the b_xio field member of the BUF structure.

19 years agoStop depending upon an implicit 'int' as the return type of main().
Hiten Pandya [Fri, 16 Jul 2004 00:55:04 +0000 (00:55 +0000)]
Stop depending upon an implicit 'int' as the return type of main().

Submitted-by: Liam J. Foy <laimfoy@sepulcrum.org>
19 years agoMerge changes from FreeBSD:
Hiten Pandya [Fri, 16 Jul 2004 00:52:22 +0000 (00:52 +0000)]
Merge changes from FreeBSD:

Don't pass negative values into <ctype.h> functions on machines with
signed chars.

Print size_t with %zu, not %d.

Submitted-by: Liam J. Foy <liamfoy@sepulcrum.org>
19 years agoCorrect mdoc(7) for basename(1) and passwd(1) manual pages.
Hiten Pandya [Fri, 16 Jul 2004 00:45:34 +0000 (00:45 +0000)]
Correct mdoc(7) for basename(1) and passwd(1) manual pages.

Submitted-by: Liam J. Foy <liamfoy@sepulcrum.org>
19 years agoCorrect mdoc(7) processing errors; the .Bl directive should be provided
Hiten Pandya [Thu, 15 Jul 2004 04:50:49 +0000 (04:50 +0000)]
Correct mdoc(7) processing errors; the .Bl directive should be provided
with '-width', not plain 'width'.

19 years agoPOSIX update and cleanups for getopt(3):
Hiten Pandya [Thu, 15 Jul 2004 04:10:33 +0000 (04:10 +0000)]
POSIX update and cleanups for getopt(3):

o use getprogname(3) instead of using __progname directly;
  the latter should only be used by {gs}etprogname(3).

o handle strings with '--' correctly; this will display a
  meaningful error when doing 'ls --color -l'.

o correct behaviour with regard to POSIX; i.e., an error
  message should be printed when the bad option is '?'.

Tested with 'buildworld' and 'installworld'; with and without
the change.

Obtained from FreeBSD and NetBSD.

19 years agoUpdate a stale comment about lwkt_replymsg().
Hiten Pandya [Thu, 15 Jul 2004 02:37:33 +0000 (02:37 +0000)]
Update a stale comment about lwkt_replymsg().

Noticed-by: Andre Nathan <andres@digirati.com.br> (I think...)
Discussed-with: Matthew Dillon <dillon@apollo.backplane.com>

19 years agoRemove an erroneous '+' symbol at start of 'rand_irqs'.
Hiten Pandya [Wed, 14 Jul 2004 18:54:29 +0000 (18:54 +0000)]
Remove an erroneous '+' symbol at start of 'rand_irqs'.

Noticed-by: walt <wa1ter@myrealbox.com>
19 years agoAppend necessary information to the package name for portupgrade(8) to
Hiten Pandya [Wed, 14 Jul 2004 18:51:53 +0000 (18:51 +0000)]
Append necessary information to the package name for portupgrade(8) to
work with DF port overrides.

Submitted-by: YONETANI Tomokazu <qhwt@les.ath.cx>
19 years agoUpdate release to 1.0A
Matthew Dillon [Wed, 14 Jul 2004 18:45:21 +0000 (18:45 +0000)]
Update release to 1.0A

19 years agoUpdate dfuibe_installer to 1.0.1 to fix a series slice corruption issue.
Matthew Dillon [Wed, 14 Jul 2004 18:44:59 +0000 (18:44 +0000)]
Update dfuibe_installer to 1.0.1 to fix a series slice corruption issue.

19 years agoClarify behaviour of the -s option.
Chris Pressey [Wed, 14 Jul 2004 18:25:17 +0000 (18:25 +0000)]
Clarify behaviour of the -s option.

19 years agoAdd proper entropy pool scripts and rc.conf lines, as it was.
Jeroen Ruigrok/asmodai [Wed, 14 Jul 2004 09:00:09 +0000 (09:00 +0000)]
Add proper entropy pool scripts and rc.conf lines, as it was.

Submitted by: Peter Avalos <pavalos@theshell.com>

19 years agoForced commit to, belatedly, note that this (rev 1.1) was:
Jeroen Ruigrok/asmodai [Wed, 14 Jul 2004 08:01:16 +0000 (08:01 +0000)]
Forced commit to, belatedly, note that this (rev 1.1) was:

Submitted by: Max Laier <max@love2party.net>

19 years agoAdd ATI Radeon RV280 9200.
Jeroen Ruigrok/asmodai [Wed, 14 Jul 2004 07:44:52 +0000 (07:44 +0000)]
Add ATI Radeon RV280 9200.

Submitted by: Gary Tivey <gtivey@adelphia.net>

19 years agoDon't init sc->re_timer twice.
Joerg Sonnenberger [Wed, 14 Jul 2004 07:40:26 +0000 (07:40 +0000)]
Don't init sc->re_timer twice.

19 years agoCorrect reference to buf->b_xio.xio_pages in a comment.
Hiten Pandya [Wed, 14 Jul 2004 03:43:58 +0000 (03:43 +0000)]
Correct reference to buf->b_xio.xio_pages in a comment.

19 years agoBUF/BIO work, for removing the requirement of KVA mappings for I/O
Hiten Pandya [Wed, 14 Jul 2004 03:10:17 +0000 (03:10 +0000)]
BUF/BIO work, for removing the requirement of KVA mappings for I/O
requests.

Stage 1 of 8:

o Replace the b_pages member of the BUF structure with an embedded
  XIO (b_xio).  The XIO will be used for managing the BUF's page
  lists.

o Initialize the XIO at two main (only) points: 1) the pbuf code,
  which is used by the NFS code to create a temporary buffer; and
  bufinit(9), which is used by the rest of the BUF/BIO consumers.

Discussed-with:  Matthew Dillon <dillon@apollo.backplane.com>,

19 years agoUpdate list of FreeBSD version numbers, for use with manual pages.
Hiten Pandya [Tue, 13 Jul 2004 23:38:19 +0000 (23:38 +0000)]
Update list of FreeBSD version numbers, for use with manual pages.

Related to src/contrib/groff/tmac/doc-common,v revision 1.3.

Reminded-by: Sascha Wildner <saw@online.de>
19 years agoSpelling.
David Rhodus [Mon, 12 Jul 2004 20:02:23 +0000 (20:02 +0000)]
Spelling.

19 years agoUse the official 3-clause license for the MSFBUF header file.
Hiten Pandya [Mon, 12 Jul 2004 06:17:03 +0000 (06:17 +0000)]
Use the official 3-clause license for the MSFBUF header file.

Put "All rights reserved" on the same line as the Copyright,
in kern/kern_msfbuf.c.

19 years agoAdjust the copyright to the new official DragonFly copyright.
Matthew Dillon [Mon, 12 Jul 2004 05:15:05 +0000 (05:15 +0000)]
Adjust the copyright to the new official DragonFly copyright.
Basically it's just the 3-clause BSD copyright.