dragonfly.git
11 years agoUpdate for OpenSSL 0.9.8f:
Peter Avalos [Fri, 12 Oct 2007 19:50:20 +0000 (19:50 +0000)]
Update for OpenSSL 0.9.8f:

Major changes between OpenSSL 0.9.8e and OpenSSL 0.9.8f:

      o Add gcc 4.2 support.
      o Add support for AES and SSE2 assembly lanugauge optimization
        for VC++ build.
      o Support for RFC4507bis and server name extensions if explicitly
        selected at compile time.
      o DTLS improvements.
      o RFC4507bis support.
      o TLS Extensions support.

Fixes CVE-2007-4995 and CVE-2007-5135. For more changes, see the CHANGES
file.

11 years agoMerge from vendor branch OPENSSL:
Peter Avalos [Fri, 12 Oct 2007 19:40:12 +0000 (19:40 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL-0.9.8f.

11 years agoImport OpenSSL-0.9.8f.
Peter Avalos [Fri, 12 Oct 2007 19:40:12 +0000 (19:40 +0000)]
Import OpenSSL-0.9.8f.

11 years agoClean up the structural organization. Separate out A-lists and make
Matthew Dillon [Fri, 12 Oct 2007 18:57:45 +0000 (18:57 +0000)]
Clean up the structural organization.  Separate out A-lists and make
the header filenames conform to a single standard.  Add a super-cluster
header and reorganize the A-list topology used in the cluster header.

Augment A-lists to support hinting across A-list layers.  This allows
A-lists to be glued together hierarchically and to pass hinting information
between the layers.  This support will be used by HAMMER to manage cluster
allocation via the A-lists embedded in volume and super-cluster headers,
and to manage B-Tree, record, and data allocation via the A-lists embedded
in the cluster header and embedded in individual filesystem buffers.

11 years agoAdjust the description of HAMMER's storage limitations. I have rearranged
Matthew Dillon [Fri, 12 Oct 2007 17:17:20 +0000 (17:17 +0000)]
Adjust the description of HAMMER's storage limitations.  I have rearranged
the way clusters are organized in order to implement a layered storage
management mechanic within the cluster.  To do this the number of 16K
filesystem buffers in a cluster had to be limited to 4096.  This allows
several layered A-lists to be embedded in the cluster header instead of
just one but limits the cluster size to 64MB instead of 512M.  Without
any other changes this would have limited volumes to 2TB, which is too small.

Add a new super-cluster layer to support volumes larger then 2TB.  Instead
of being limited to 32768 clusters per volume we now have a limit of
16384 super-clusters per volume and 32768 clusters per super-cluster,
resulting in a limit of 32768TB per volume.

A super-cluster is just another 16K filesystem buffer which adds another
A-List layer to the volume's storage management scheme.  It turns out to
be totally trivial to implement.  Cluster allocations will still be optimal
in a super-cluster arrangement simply by caching the last super-cluster
an allocation was made from.

11 years agoAdd et(4), which supports Agere ET1310 based Ethernet chips (PCIe only)
Sepherosa Ziehau [Fri, 12 Oct 2007 14:12:42 +0000 (14:12 +0000)]
Add et(4), which supports Agere ET1310 based Ethernet chips (PCIe only)

  This chips supports two RX rings, one is currently used for packets
  whose size are smaller than 110 bytes, the other one is used for the
  rest packets sizes.

  Its RX interrupt moderation is quite similar to what bge(4) does:
  Two control variables, one is used to control how many packet should be
  received the other is used to control RX interrupt delay, RX interrupt
  moderation is achieved through the interaction of these two variables.

  Its TX interrupt moderation is more straightforward than RX's ;), you
  can tell hardware which TX segment should trigger interrupt.  It also
  has a hardware timer, which is set to 1Hz currently to prevent
  if_watchdog() from (mis)firing.

  I didn't figure out how to add polling(4) support for this chip, its
  RX state ring simply stops working if interrupts are disabled.  However,
  its hardware timer may be used to mimic polling(4) support.

  The missing features of the driver as of this commit:
  - Hardware checksum
  - Hardware vlan tagging
  - Jumbo buffer support
  Hopefully, they will be added later.

Add TruePHY (will any vendors name their PHY as FalsePHY one day?) support
into miibus(4) for Agere ET1011C PHY, which is used by et(4).  The data
sheet says model is 1 for ET1011C, while my testing card's model is 4; it
may be just a variant.

11 years agoregen
Sepherosa Ziehau [Fri, 12 Oct 2007 14:03:41 +0000 (14:03 +0000)]
regen

11 years ago- Add OUI for PHYs from Agere
Sepherosa Ziehau [Fri, 12 Oct 2007 14:02:55 +0000 (14:02 +0000)]
- Add OUI for PHYs from Agere
- Add Agere ET1011C id

11 years agoSimplify the code a lot - don't try to be too clever and handle chips with
Hasso Tepper [Fri, 12 Oct 2007 11:15:53 +0000 (11:15 +0000)]
Simplify the code a lot - don't try to be too clever and handle chips with
different number of ports in different way. Matching and attaching single
port chips in interface match/attach phase works just as fine as it already
did for multiport chips.

11 years agoSync usage() with arp.8
Thomas Nikolajsen [Thu, 11 Oct 2007 21:51:20 +0000 (21:51 +0000)]
Sync usage() with arp.8

11 years agoBring in some minor fixes from FreeBSD.
Sascha Wildner [Thu, 11 Oct 2007 10:22:46 +0000 (10:22 +0000)]
Bring in some minor fixes from FreeBSD.

11 years agoUpdate to tcpdump-3.9.8.
Peter Avalos [Thu, 11 Oct 2007 02:46:51 +0000 (02:46 +0000)]
Update to tcpdump-3.9.8.

Our pf includes are in <net/pf/>, so add appropriate patch file.

11 years agoMerge from vendor branch TCPDUMP:
Peter Avalos [Thu, 11 Oct 2007 02:37:58 +0000 (02:37 +0000)]
Merge from vendor branch TCPDUMP:
Import tcpdump-3.9.8:

September 10, 2007.  ken@xelerance.com.  Summary for 0.9.8 tcpdump release
Rework ARP printer
Rework OSPFv3 printer
Add support for Frame-Relay ARP
Decode DHCP Option 121 (RFC 3442 Classless Static Route)
Decode DHCP Option 249 (MS Classless Static Route) the same as Option 121
TLV: Add support for Juniper .pcap extensions
Print EGP header in new-world-order style
Converted print-isakmp.c to NETDISSECT
Moved AF specific stuff into af.h
Test subsystem now table driven, and saves outputs and diffs to one place
Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
libpcap files on an OS other than where the file was generated

11 years agoImport tcpdump-3.9.8:
Peter Avalos [Thu, 11 Oct 2007 02:37:58 +0000 (02:37 +0000)]
Import tcpdump-3.9.8:

September 10, 2007.  ken@xelerance.com.  Summary for 0.9.8 tcpdump release
Rework ARP printer
Rework OSPFv3 printer
Add support for Frame-Relay ARP
Decode DHCP Option 121 (RFC 3442 Classless Static Route)
Decode DHCP Option 249 (MS Classless Static Route) the same as Option 121
TLV: Add support for Juniper .pcap extensions
Print EGP header in new-world-order style
Converted print-isakmp.c to NETDISSECT
Moved AF specific stuff into af.h
Test subsystem now table driven, and saves outputs and diffs to one place
Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
libpcap files on an OS other than where the file was generated

11 years agoOur pf includes are in /usr/include/net/pf/, so adjust the appropriate
Peter Avalos [Thu, 11 Oct 2007 01:07:29 +0000 (01:07 +0000)]
Our pf includes are in /usr/include/net/pf/, so adjust the appropriate
files.

11 years agoResolve conflicts.
Peter Avalos [Thu, 11 Oct 2007 00:59:51 +0000 (00:59 +0000)]
Resolve conflicts.

11 years agoMerge from vendor branch LIBPCAP:
Peter Avalos [Thu, 11 Oct 2007 00:42:47 +0000 (00:42 +0000)]
Merge from vendor branch LIBPCAP:
Import libpcap-0.9.8:

Allow reading of pflog formatted libpcap files on an OS other than where
the file was generated.

11 years agoImport libpcap-0.9.8:
Peter Avalos [Thu, 11 Oct 2007 00:42:47 +0000 (00:42 +0000)]
Import libpcap-0.9.8:

Allow reading of pflog formatted libpcap files on an OS other than where
the file was generated.

11 years agoConsolidate local patches into contrib/, making updates easier.
Peter Avalos [Thu, 11 Oct 2007 00:21:59 +0000 (00:21 +0000)]
Consolidate local patches into contrib/, making updates easier.

11 years agoRemove the symlink, not the directory it points to.
Peter Avalos [Wed, 10 Oct 2007 23:51:13 +0000 (23:51 +0000)]
Remove the symlink, not the directory it points to.

11 years agoRemove the symlink, not the directory it points to.
Peter Avalos [Wed, 10 Oct 2007 23:03:22 +0000 (23:03 +0000)]
Remove the symlink, not the directory it points to.

11 years agoPrimary header file infrastructure and A-list implementation for the
Matthew Dillon [Wed, 10 Oct 2007 19:37:25 +0000 (19:37 +0000)]
Primary header file infrastructure and A-list implementation for the
HAMMER VFS.

11 years agoInitial commit of newfs_hammer - basic working skeleton for testing.
Matthew Dillon [Wed, 10 Oct 2007 19:35:53 +0000 (19:35 +0000)]
Initial commit of newfs_hammer - basic working skeleton for testing.

11 years agoInitial commit of mount_hammer - basic working skeleton for testing.
Matthew Dillon [Wed, 10 Oct 2007 19:35:19 +0000 (19:35 +0000)]
Initial commit of mount_hammer - basic working skeleton for testing.

11 years agoUpdate build for libarchive-2.3.4 import (add man pages).
Peter Avalos [Wed, 10 Oct 2007 17:59:08 +0000 (17:59 +0000)]
Update build for libarchive-2.3.4 import (add man pages).

11 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Wed, 10 Oct 2007 17:58:28 +0000 (17:58 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive-2.3.4:

Fix zip reader to immediately return EOF if you try
to read body of non-regular file.  In particular, this fixes
bsdtar extraction of zip archives.

Add cpio.5 and mtree.5 manual pages.

11 years agoImport libarchive-2.3.4:
Peter Avalos [Wed, 10 Oct 2007 17:58:28 +0000 (17:58 +0000)]
Import libarchive-2.3.4:

Fix zip reader to immediately return EOF if you try
to read body of non-regular file.  In particular, this fixes
bsdtar extraction of zip archives.

Add cpio.5 and mtree.5 manual pages.

11 years agoUpgrade to less-408:
Peter Avalos [Tue, 9 Oct 2007 23:37:39 +0000 (23:37 +0000)]
Upgrade to less-408:

* Support CSI escape sequences, like SGR escape sequences.

* Fix bug which caused screen to fail to repaint when window is resized.

* Fix bug in using -i and -I flags with non-ASCII text.

11 years agoAdd our READMEs.
Peter Avalos [Tue, 9 Oct 2007 23:34:53 +0000 (23:34 +0000)]
Add our READMEs.

11 years agoMerge from vendor branch LESS:
Peter Avalos [Tue, 9 Oct 2007 23:27:24 +0000 (23:27 +0000)]
Merge from vendor branch LESS:
Import less-408.

11 years agoImport less-408.
Peter Avalos [Tue, 9 Oct 2007 23:27:24 +0000 (23:27 +0000)]
Import less-408.

11 years agoAdd syslink_vfs.h for userfs, defining the syslink element infrastructure
Matthew Dillon [Tue, 9 Oct 2007 17:29:19 +0000 (17:29 +0000)]
Add syslink_vfs.h for userfs, defining the syslink element infrastructure
for the protocol.

11 years agoAdjust RB_PROTOTYPEX to match RB_GENERATE_XLOOKUP. These declare a Red-Black
Matthew Dillon [Tue, 9 Oct 2007 17:28:08 +0000 (17:28 +0000)]
Adjust RB_PROTOTYPEX to match RB_GENERATE_XLOOKUP.  These declare a Red-Black
tree implementation which supplies a LOOKUP function taking a custom
structure rather then a numeric argument.

11 years agoAdd a typedef for uuid_t for kernel compiles. One already existed for
Matthew Dillon [Tue, 9 Oct 2007 17:19:09 +0000 (17:19 +0000)]
Add a typedef for uuid_t for kernel compiles.  One already existed for
userland.

11 years agoIndicate that alist_free() calls do not have to supply power-of-2 aligned
Matthew Dillon [Tue, 9 Oct 2007 17:18:09 +0000 (17:18 +0000)]
Indicate that alist_free() calls do not have to supply power-of-2 aligned
information.  Only allocations are so limited.

11 years agoMerge From FreeBSD:
YONETANI Tomokazu [Tue, 9 Oct 2007 09:46:56 +0000 (09:46 +0000)]
Merge From FreeBSD:

acpi_timer.c,1.34-1.35(njl):
  Instead of doing everything in identify, do a proper probe/attach.  Also,
  don't add another device if identify is called twice.  Minor reworking by
  myself.

  Submitted by:   marcel

11 years agoDragonfly always passes a flag for every IO operation depending whether
Hasso Tepper [Mon, 8 Oct 2007 17:55:00 +0000 (17:55 +0000)]
Dragonfly always passes a flag for every IO operation depending whether
the mode of the operation or of the fd is set to NBIO, but it doesn't
pass down fcntl() changes to the drivers. So, if you open /dev/dsp with
NONBLOCK and later fcntl it to blocking, the sound driver won't be aware
of this fact.

Fix: don't maintain this setting in the sound driver.

Requested and tested by corecode@.

11 years agoThe kernel's psignal() function was renamed to ksignal() some time ago
Sascha Wildner [Sat, 6 Oct 2007 22:36:18 +0000 (22:36 +0000)]
The kernel's psignal() function was renamed to ksignal() some time ago
(to avoid name conflicts with userland).

Repocopy psignal(9) to ksignal(9) and adjust stuff.

11 years agoAdd a device_printf(9) manual page.
Sascha Wildner [Sat, 6 Oct 2007 20:41:55 +0000 (20:41 +0000)]
Add a device_printf(9) manual page.

Taken-from: FreeBSD

11 years agoFix the 'unexpected operator' error rclist gave every time it was
Sascha Wildner [Sat, 6 Oct 2007 17:31:21 +0000 (17:31 +0000)]
Fix the 'unexpected operator' error rclist gave every time it was
executed with more than one argument.

11 years agoAllow the crc32.c module to be used in userland or kernel code.
Matthew Dillon [Sat, 6 Oct 2007 17:22:36 +0000 (17:22 +0000)]
Allow the crc32.c module to be used in userland or kernel code.

11 years agoBWI_BBP_ATTEN is 16bit register, not a 32bit one.
Sepherosa Ziehau [Sat, 6 Oct 2007 04:05:57 +0000 (04:05 +0000)]
BWI_BBP_ATTEN is 16bit register, not a 32bit one.

Obtained-from: OpenBSD (kettenis@openbsd.org) via FreeBSD-p4 (sam@freebsd.org)

11 years agoMake usage string slightly more usage string like and a dd the 'disable'
Sascha Wildner [Fri, 5 Oct 2007 23:55:47 +0000 (23:55 +0000)]
Make usage string slightly more usage string like and a dd the 'disable'
and 'enable' commands to it.

11 years agoRemove the /usr/lib/crt* files. These files have been located in
Matthew Dillon [Fri, 5 Oct 2007 23:52:24 +0000 (23:52 +0000)]
Remove the /usr/lib/crt* files.  These files have been located in
/usr/lib/gccXX for a while now.

11 years agoRemove trailing whitespace.
Sascha Wildner [Fri, 5 Oct 2007 18:34:47 +0000 (18:34 +0000)]
Remove trailing whitespace.

11 years agoThe list ends after 'kbpt'.
Sascha Wildner [Thu, 4 Oct 2007 11:12:34 +0000 (11:12 +0000)]
The list ends after 'kbpt'.

Submitted-by: Constantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
11 years agoMisc. mdoc nits.
Sascha Wildner [Wed, 3 Oct 2007 20:06:54 +0000 (20:06 +0000)]
Misc. mdoc nits.

11 years agoFix synopsis (reminded by Constantine A. Murenin) and history.
Hasso Tepper [Wed, 3 Oct 2007 19:53:05 +0000 (19:53 +0000)]
Fix synopsis (reminded by Constantine A. Murenin) and history.

11 years agoSync with FreeBSD:
Sascha Wildner [Wed, 3 Oct 2007 19:27:08 +0000 (19:27 +0000)]
Sync with FreeBSD:

* Add some cards: several TerraTec TValue and PixelView PlayTV Pro REV-4C

* Fix indentation.

* Expand manpage.

11 years agolibiconv was declaring a base kobj_class structure instead of an extended
Matthew Dillon [Wed, 3 Oct 2007 18:58:20 +0000 (18:58 +0000)]
libiconv was declaring a base kobj_class structure instead of an extended
kobj_class structure (which it calls iconv_converter_class).  Add a new
KOBJ macro to allow an extended structure to be declared and explicitly
require the full name of the extended structure to be specified by the
caller.

This bug was causing sysctl -a to crash the system when libiconv.ko is
loaded.

Reported-by: Rumko <rumcic@gmail.com>, Joerg Anslik <joerg@anslik.de>
11 years agoThe "different pointer signedness" reported by gcc41's -Wall does
Sepherosa Ziehau [Wed, 3 Oct 2007 10:07:48 +0000 (10:07 +0000)]
The "different pointer signedness" reported by gcc41's -Wall does
not make much sense.  Shut it up, if CCVER is not gcc34 (gcc34 does
not have this warning, or at least, it is not enabled by -Wall).

11 years agoPolling(4) is enabled by default.
Sepherosa Ziehau [Wed, 3 Oct 2007 09:55:25 +0000 (09:55 +0000)]
Polling(4) is enabled by default.

11 years agoregen
Sepherosa Ziehau [Wed, 3 Oct 2007 09:24:00 +0000 (09:24 +0000)]
regen

11 years agoAdd device ids for Agere(LSI?) ET1310 chips
Sepherosa Ziehau [Wed, 3 Oct 2007 09:23:17 +0000 (09:23 +0000)]
Add device ids for Agere(LSI?) ET1310 chips

11 years agoRestore BWI_PCIR_BAR with the correct value.
Sepherosa Ziehau [Wed, 3 Oct 2007 09:18:24 +0000 (09:18 +0000)]
Restore BWI_PCIR_BAR with the correct value.

11 years ago- Initialize 11b PHY rev4 according to v3 specification.
Sepherosa Ziehau [Wed, 3 Oct 2007 04:53:19 +0000 (04:53 +0000)]
- Initialize 11b PHY rev4 according to v3 specification.
- Do local oscillator updating through function pointer.
- Rename some functions to avoid function name collision.

# BBP id 0x4301, 11b only card (e.g. certain generation of ASUS WL-103b)
# does not seem to work tho

11 years agoRemove bogus cast (taken from FreeBSD).
Sascha Wildner [Tue, 2 Oct 2007 16:38:10 +0000 (16:38 +0000)]
Remove bogus cast (taken from FreeBSD).

11 years agolm(4) and it(4) drivers for hardware sensors used in many motherboards. Ported
Hasso Tepper [Tue, 2 Oct 2007 13:37:38 +0000 (13:37 +0000)]
lm(4) and it(4) drivers for hardware sensors used in many motherboards. Ported
from OpenBSD to FreeBSD by Constantine A. Murenin <mureninc at gmail.com>.

Obtained-from: OpenBSD via FreeBSD GSoC 2007 project

11 years agoCoretemp(4) driver for Intel Core on-die digital thermal sensor with patch
Hasso Tepper [Tue, 2 Oct 2007 13:16:42 +0000 (13:16 +0000)]
Coretemp(4) driver for Intel Core on-die digital thermal sensor with patch
from Constantine A. Murenin <mureninc at gmail.com> to make it use
hw.sensors framework.

Obtained-from: FreeBSD with modifications from Constantine A. Murenin

11 years agoHardware sensors framework originally developed in OpenBSD and ported to
Hasso Tepper [Tue, 2 Oct 2007 12:57:01 +0000 (12:57 +0000)]
Hardware sensors framework originally developed in OpenBSD and ported to
FreeBSD by Constantine A. Murenin <mureninc at gmail.com>.

Obtained-from: OpenBSD via FreeBSD GSoC 2007 project

11 years agoMake column a bit wider.
Sascha Wildner [Tue, 2 Oct 2007 11:39:45 +0000 (11:39 +0000)]
Make column a bit wider.

11 years ago* Reduce differences to FreeBSD.
Sascha Wildner [Tue, 2 Oct 2007 10:27:40 +0000 (10:27 +0000)]
* Reduce differences to FreeBSD.

* Adjust/expand tunables/sysctls descriptions for sephe's per CPU polling
  changes.

* Expand the HISTORY/AUTHORS sections a bit.

11 years agoSync zoneinfo database with tzdata2007h from elsie.
Sascha Wildner [Mon, 1 Oct 2007 15:34:04 +0000 (15:34 +0000)]
Sync zoneinfo database with tzdata2007h from elsie.

africa:         8.9  -> 8.10
asia:           8.11 -> 8.12
southamerica:   8.11 -> 8.12

From Paul Eggert's comments:

* Brazil will observe DST from 2007-10-14 00:00 to 2008-02-17 00:00.
  (Thanks to Steffen Thorsen for this.)

* Egypt switched earlier than we expected.  (Thanks to Dirk Losch
  and Jesper Norgaard Welen for this.)

* Likewise for Gaza.  (Thanks to Jesper Norgaard Welen for this.)

* Iran will resume DST next year.  (Thanks to Jesper Norgaard Welen
  for this.)

* Venezuela is currently planning to change time zones on January 1,
  to -04:30.  This seems to be a bit disorganized, but I suppose we
  can change the database later as needed.

11 years ago- Remove the second parameter of ether_input(), since:
Sepherosa Ziehau [Mon, 1 Oct 2007 12:56:36 +0000 (12:56 +0000)]
- Remove the second parameter of ether_input(), since:
  o  if the second argument is not NULL, ether_input() always fails.
  o  No one calls ether_input() with a non-NULL second argument.
- Nuke ether_input_internal(), after above change it is no longer necessary.

11 years ago- Move polling disablement, i.e. deregistering all NICs, out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 11:18:44 +0000 (11:18 +0000)]
- Move polling disablement, i.e. deregistering all NICs, out of hot code path.
- When the last NIC is deregistered or polling is disabled, reset all interval
  state.
- Return immediately in netisr_poll/netisr_pollmore if no NIC is registered.
- Add assertion in netisr_poll/netisr_pollmore: it is not possible that polling
  is not enabled but there are registered NIC.
- Comment pollctx structure fields.

11 years agoMove poll_each_burst adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 10:03:49 +0000 (10:03 +0000)]
Move poll_each_burst adjustment out of hot code path.

11 years ago- Move poll_burst_max adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 09:37:30 +0000 (09:37 +0000)]
- Move poll_burst_max adjustment out of hot code path.
- Adjust poll_burst and residual_burst accordingly if poll_burst_max changes.

11 years ago- poll_burst and residual_burst are dynamicly adjusted by the running code,
Sepherosa Ziehau [Mon, 1 Oct 2007 09:03:28 +0000 (09:03 +0000)]
- poll_burst and residual_burst are dynamicly adjusted by the running code,
  so it does not make much sense to keep them RW.
- Adjust comment according to reality.

11 years agoMove reg_frac/reg_frac_count adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 08:52:40 +0000 (08:52 +0000)]
Move reg_frac/reg_frac_count adjustment out of hot code path.

11 years agoBump WARNS to 6 and fix warnings.
Sascha Wildner [Mon, 1 Oct 2007 08:25:12 +0000 (08:25 +0000)]
Bump WARNS to 6 and fix warnings.

11 years agoRemove duplicate -Wall.
Sascha Wildner [Mon, 1 Oct 2007 08:12:43 +0000 (08:12 +0000)]
Remove duplicate -Wall.

11 years agoBump WARNS to 6.
Sascha Wildner [Mon, 1 Oct 2007 08:03:44 +0000 (08:03 +0000)]
Bump WARNS to 6.

11 years ago- Fix a bug introduced by dynamic polling frequency support:
Sepherosa Ziehau [Mon, 1 Oct 2007 07:31:45 +0000 (07:31 +0000)]
- Fix a bug introduced by dynamic polling frequency support:
  polling frequency is no longer 'hz' but 'pollhz'
- Nuke unnecessary header inclusion

11 years agoBump .Dd for r1.21.
Sascha Wildner [Mon, 1 Oct 2007 07:05:55 +0000 (07:05 +0000)]
Bump .Dd for r1.21.

11 years agoFix netstat(1) CIDR printing.
Sepherosa Ziehau [Sun, 30 Sep 2007 12:45:05 +0000 (12:45 +0000)]
Fix netstat(1) CIDR printing.

Submitted-by: Nuno Antunes <nuno.antunes@gmail.com>
11 years agoEnable Onoe TX rate control.
Sepherosa Ziehau [Sun, 30 Sep 2007 12:32:20 +0000 (12:32 +0000)]
Enable Onoe TX rate control.

11 years agoAdd some words about ADW_ALLOW_MEMIO.
Sascha Wildner [Sun, 30 Sep 2007 06:10:43 +0000 (06:10 +0000)]
Add some words about ADW_ALLOW_MEMIO.

11 years ago- Adjust comment according to the recent addition of multiple cpu
Sepherosa Ziehau [Sun, 30 Sep 2007 05:12:25 +0000 (05:12 +0000)]
- Adjust comment according to the recent addition of multiple cpu
  polling(4) support.
- Move comment to proper place.
- Nuke unused header inclusion.
- Shut up GCC4 signedness warning.

11 years agoAdd description for 'pollcpu'
Sepherosa Ziehau [Sun, 30 Sep 2007 04:47:07 +0000 (04:47 +0000)]
Add description for 'pollcpu'

11 years agoSupport polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
Sepherosa Ziehau [Sun, 30 Sep 2007 04:37:27 +0000 (04:37 +0000)]
Support polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
particular CPU that supports polling(4):
- Tunable kern.polling.cpumask controls which CPU can support polling(4).
- Sysctl nodes under kern.polling.X should be used to tune polling(4)
  parameters on CPU_X.
- 'pollcpu' is added to ifconfig(8), which can be used to assign an NIC
  to a particular CPU.

11 years agoSync with OpenBSD:
Sascha Wildner [Sat, 29 Sep 2007 23:11:10 +0000 (23:11 +0000)]
Sync with OpenBSD:

* Instead of calling out mkdir -p, reuse code from mkdir(1).

* Use calloc() to avoid malloc(n * m) overflows.

* Add detailed SYNOPSIS to the manual page, sort options and add
  missing arguments.

* Various cleanups.

11 years agoAdd some missing files.
Sascha Wildner [Sat, 29 Sep 2007 21:13:09 +0000 (21:13 +0000)]
Add some missing files.

11 years agoAdd some info about ACPI_QUIRK_VMWARE.
Sascha Wildner [Sat, 29 Sep 2007 19:38:46 +0000 (19:38 +0000)]
Add some info about ACPI_QUIRK_VMWARE.

11 years agoSmall mdoc cleanup.
Sascha Wildner [Sat, 29 Sep 2007 18:37:32 +0000 (18:37 +0000)]
Small mdoc cleanup.

11 years agoBump .Dd for r1.31.
Sascha Wildner [Sat, 29 Sep 2007 08:44:32 +0000 (08:44 +0000)]
Bump .Dd for r1.31.

11 years agoFix some URLs.
Sascha Wildner [Sat, 29 Sep 2007 08:33:47 +0000 (08:33 +0000)]
Fix some URLs.

11 years agoAdd a uuid for the "DragonFly HAMMER" filesystem type.
Matthew Dillon [Sat, 29 Sep 2007 03:20:40 +0000 (03:20 +0000)]
Add a uuid for the "DragonFly HAMMER" filesystem type.

11 years agoAdd an install location for the vkernel binary, add a second on how to
Matthew Dillon [Thu, 27 Sep 2007 20:54:14 +0000 (20:54 +0000)]
Add an install location for the vkernel binary, add a second on how to
set up the virtual kernel's rc.conf, and clean up the install example a
bit.

11 years agoAdd a note that dntpd can be started at boot time even if the network
Matthew Dillon [Thu, 27 Sep 2007 19:51:42 +0000 (19:51 +0000)]
Add a note that dntpd can be started at boot time even if the network
is not yet operational.

11 years agoInterrupt thread preemption was switching in threads with held tokens
Matthew Dillon [Thu, 27 Sep 2007 18:27:54 +0000 (18:27 +0000)]
Interrupt thread preemption was switching in threads with held tokens
without acquiring the tokens.  Just don't preempt if the target thread
is holding a token.

This fixes a token-related panic when using the NDIS driver.  NDIS
is the only driver which uses tokens in its interrupt handler.

11 years agoalist debug mode - report unrounded byte usage.
Matthew Dillon [Thu, 27 Sep 2007 18:20:20 +0000 (18:20 +0000)]
alist debug mode - report unrounded byte usage.

11 years agoFix a bootstrapping issue with the change of the default gcc to 4.1.
Matthew Dillon [Wed, 26 Sep 2007 22:14:17 +0000 (22:14 +0000)]
Fix a bootstrapping issue with the change of the default gcc to 4.1.
If the host does not have gcc-4.1 installed use gcc-3.4 for HOST_CCVER
(that is, the compiler used in the bootstrap portion of the build).

11 years agoAdd documentation for AHC_DEBUG, AHC_DEBUG_OPTS and AHC_REG_PRETTY_PRINT.
Sascha Wildner [Wed, 26 Sep 2007 21:01:16 +0000 (21:01 +0000)]
Add documentation for AHC_DEBUG, AHC_DEBUG_OPTS and AHC_REG_PRETTY_PRINT.
Modeled after ahd(4).

11 years agoSynchronize AHD_DEBUG_OPTS values with the header file (commented out
Sascha Wildner [Wed, 26 Sep 2007 20:59:44 +0000 (20:59 +0000)]
Synchronize AHD_DEBUG_OPTS values with the header file (commented out
for those I don't know a description for).

11 years agoOops, forgot sys/module.h.
Sascha Wildner [Wed, 26 Sep 2007 19:18:30 +0000 (19:18 +0000)]
Oops, forgot sys/module.h.

11 years agoReduce differences to FreeBSD.
Sascha Wildner [Wed, 26 Sep 2007 18:56:26 +0000 (18:56 +0000)]
Reduce differences to FreeBSD.

11 years agoExtend SYNOPSIS for ALTQ_NOPCC and ALTQ_DEBUG.
Sascha Wildner [Wed, 26 Sep 2007 18:13:14 +0000 (18:13 +0000)]
Extend SYNOPSIS for ALTQ_NOPCC and ALTQ_DEBUG.

11 years agoSync with FreeBSD.
Peter Avalos [Tue, 25 Sep 2007 04:53:48 +0000 (04:53 +0000)]
Sync with FreeBSD.

Add endianness support and fixate the hash bucket size to 4K.

11 years agoOops, forgot to add this to the FreeBSD sync.
Peter Avalos [Mon, 24 Sep 2007 21:39:28 +0000 (21:39 +0000)]
Oops, forgot to add this to the FreeBSD sync.

11 years agoSync calendars with FreeBSD.
Peter Avalos [Mon, 24 Sep 2007 21:38:18 +0000 (21:38 +0000)]
Sync calendars with FreeBSD.