Sascha Wildner [Sat, 20 Oct 2007 17:56:47 +0000 (17:56 +0000)]
Use .Nm
Sascha Wildner [Sat, 20 Oct 2007 13:43:00 +0000 (13:43 +0000)]
Oops, missing space.
Sascha Wildner [Sat, 20 Oct 2007 13:30:33 +0000 (13:30 +0000)]
* Add an example how to create /etc/mtree style mtree(8) files.
* Remove duplicate word.
Taken-from: FreeBSD
Sepherosa Ziehau [Sat, 20 Oct 2007 11:10:50 +0000 (11:10 +0000)]
- Change some comment's style
- White space changes
- Use POSIX int types
Sepherosa Ziehau [Sat, 20 Oct 2007 10:28:44 +0000 (10:28 +0000)]
- m_tag_get() expects MB_DONTWAIT not M_NOWAIT
- Utilize MBTOM() in m_tag_alloc()
Sepherosa Ziehau [Sat, 20 Oct 2007 09:38:01 +0000 (09:38 +0000)]
M_WAITOK -> MB_WAIT
Sepherosa Ziehau [Sat, 20 Oct 2007 09:08:28 +0000 (09:08 +0000)]
- Instead of overriding the meaning of the embedded mbuf header's mh_nextpkt,
add 'dn_next' field in dn_pkt, which is used to link dn_pkt into various
packet queues; this reduces dependency on the embedded mbuf header
- Nuke DN_NEXT and DN_NEXT_NC, use dn_pkt.dn_next directly
- Nuke white space before ';'
Sepherosa Ziehau [Sat, 20 Oct 2007 07:36:20 +0000 (07:36 +0000)]
Use __offsetof()
Sepherosa Ziehau [Sat, 20 Oct 2007 05:22:57 +0000 (05:22 +0000)]
- Add macro to convert MTU to frame length
- Strip CRC of the received frames
- Add macros for RX rings' buffer size
Sascha Wildner [Fri, 19 Oct 2007 20:46:53 +0000 (20:46 +0000)]
Add missing .Nm
Sascha Wildner [Fri, 19 Oct 2007 20:39:25 +0000 (20:39 +0000)]
Add missing MLINKS.
Sascha Wildner [Fri, 19 Oct 2007 20:28:43 +0000 (20:28 +0000)]
Remove duplicate line and add missing MLINK.
Sascha Wildner [Fri, 19 Oct 2007 20:28:09 +0000 (20:28 +0000)]
Add missing comma.
Sascha Wildner [Fri, 19 Oct 2007 20:16:43 +0000 (20:16 +0000)]
Add some missing MLINKS and sort alphabetically.
Thomas E. Spanjaard [Fri, 19 Oct 2007 18:02:22 +0000 (18:02 +0000)]
Fix nrelease/Makefile from trying to execute whatever is in an environment
variable which it never explicitly set before. ${ENV} ought to be ${ENVCMD},
which makes for weird errors if people use a Bourne shell like mksh with a
custom .shrc.
Sepherosa Ziehau [Fri, 19 Oct 2007 14:27:04 +0000 (14:27 +0000)]
Rework bwi(4) LED support:
- Reorder some macros and inline functions, so they can be used as needed
- Make three types of LED blinking work (references ath(4) soft LED)
- Customize Linksys LED behaviour
- Add two per-iface sysctl nodes for LED, update manpage accordingly
Thomas E. Spanjaard [Fri, 19 Oct 2007 11:53:14 +0000 (11:53 +0000)]
Add (proper) support for ATi SB600 southbridge SATA controllers in AHCI mode.
Also, adds a catch-all to the atapci ident routine for as of yet unidentified
AHCI SATA controllers.
Tested-by: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
Sepherosa Ziehau [Thu, 18 Oct 2007 10:56:24 +0000 (10:56 +0000)]
Buffalo WLI-CB-G54S works well with bwi(4)
Matthew Dillon [Wed, 17 Oct 2007 23:30:31 +0000 (23:30 +0000)]
Fix a race between exit and kinfo_proc. proc->p_pgrp and the related
session info can wind up being NULL if kinfo_proc catches the process while
it is trying to exit.
Reported-by: Peter Avalos <pavalos@theshell.com>
Sepherosa Ziehau [Wed, 17 Oct 2007 13:25:04 +0000 (13:25 +0000)]
Enabling TX/RX in et_init() will always fail when cable is not plugged in,
if this happens, we delay TX/RX enablement until link is up.
Sepherosa Ziehau [Wed, 17 Oct 2007 12:48:23 +0000 (12:48 +0000)]
Mention that et(4) can receive oversized packets.
Reminded-by: swildner@
Sepherosa Ziehau [Wed, 17 Oct 2007 12:01:57 +0000 (12:01 +0000)]
Turn on VLAN_MTU
Sepherosa Ziehau [Wed, 17 Oct 2007 11:10:40 +0000 (11:10 +0000)]
Make my Linksys WPC54G v3 LEDs work.
It has two LEDs:
- "Power", which is marked as "always on" in SPROM
- "Link", which is marked as "activity" in SPROM
Matthew Dillon [Tue, 16 Oct 2007 18:30:53 +0000 (18:30 +0000)]
Add volume, super-cluster, cluster, and buffer abstractions to provide
infrastructure for manipulating, reading, and writing various HAMMER
filesystem buffer types.
Properly set up allocation hints and use the A-list's as-of feature.
Completely implement super-cluster A-list layering and cluster/buffer
A-list layering.
(Preliminary) initialization of all primary on-disk structures and the
root directory.
Matthew Dillon [Tue, 16 Oct 2007 18:16:42 +0000 (18:16 +0000)]
Give the A-list code the ability to do a forward or reverse allocation
as-of a particular block. This allows us to localize allocations.
Flesh out HAMMER's on-disk structures.
Sepherosa Ziehau [Tue, 16 Oct 2007 11:28:40 +0000 (11:28 +0000)]
Replace dummynet(4)'s callout by systimer, so you will not need to mess
global HZ when using dummynet(4).
The timer frequency is controlled by net.inet.ip.dummynet.hz, which is
default to 1000 (originally recommended value for HZ); currently, it
should be changed only if dummynet(4) is not configured yet.
Reviewed-by: dillon@
Sepherosa Ziehau [Tue, 16 Oct 2007 11:12:59 +0000 (11:12 +0000)]
Fix possible races between calling systimer callback fucntion and
deleting a systimer. Add comment about the fix.
Obtained-from: dillon@
Sascha Wildner [Tue, 16 Oct 2007 08:49:38 +0000 (08:49 +0000)]
Remove hp300/m68k related junk.
Sascha Wildner [Sun, 14 Oct 2007 18:46:59 +0000 (18:46 +0000)]
Fix SYNOPSIS.
Hasso Tepper [Sun, 14 Oct 2007 18:15:19 +0000 (18:15 +0000)]
According to RFC2711 routers shouldn't treat all packets with a Router
Alert hop-by-hop option as 'ours', but examine this datagram more closely -
if the router isn't interested in particular protocol it should ignore the
packet and forward it as normal. So, treat packets as 'ours' if they are
for MLD only.
Reported-by: Andrew McDonald <andrew@mcdonald.org.uk>
Obtained-from: KAME
Sascha Wildner [Sun, 14 Oct 2007 09:43:20 +0000 (09:43 +0000)]
Add references to bwi(4).
Sascha Wildner [Sun, 14 Oct 2007 09:38:07 +0000 (09:38 +0000)]
Add reference to wlan_ratectl(4) and fix copyright year.
Sepherosa Ziehau [Sun, 14 Oct 2007 04:52:44 +0000 (04:52 +0000)]
Move assertion to the proper place, since the target CPU will always see
that the SYSTF_IPIRUNNING flag is set.
Approved-by: dillon@
Sepherosa Ziehau [Sun, 14 Oct 2007 04:15:18 +0000 (04:15 +0000)]
- Pull NetBSD David Young's bitops.h into sys/sys, nuke the local copies in
bwi(4), et(4) and rtw(4)
- Header inclusion cleanup
Sascha Wildner [Sun, 14 Oct 2007 00:14:36 +0000 (00:14 +0000)]
Add rcrun(8) reference.
Sascha Wildner [Sun, 14 Oct 2007 00:03:10 +0000 (00:03 +0000)]
Remove stale MLINK via make upgrade.
Sascha Wildner [Sat, 13 Oct 2007 23:51:32 +0000 (23:51 +0000)]
Add a rcrun(8) manual page.
Sascha Wildner [Sat, 13 Oct 2007 23:39:46 +0000 (23:39 +0000)]
Add some words about faststart. While here, sort references.
Sepherosa Ziehau [Sat, 13 Oct 2007 11:32:34 +0000 (11:32 +0000)]
Save a copy of ethernet header instead of leaving it in the mbuf, so we
will not get a dangling 'eh' pointer after calling some functions, which
changes the passed in mbuf (may free the part that 'eh' is pointed at).
This commit is intended to fix following bug:
http://leaf.dragonflybsd.org/mailarchive/bugs/2005-01/msg00056.html
The discussion about the fix began with:
http://leaf.dragonflybsd.org/mailarchive/bugs/2005-01/msg00147.html
Sepherosa Ziehau [Sat, 13 Oct 2007 10:50:34 +0000 (10:50 +0000)]
Constify ng_ether_input_p/ng_ether_input_orphan_p 'eh' parameter.
Sepherosa Ziehau [Sat, 13 Oct 2007 10:45:39 +0000 (10:45 +0000)]
Hook fec
Sepherosa Ziehau [Sat, 13 Oct 2007 09:53:51 +0000 (09:53 +0000)]
Shut up gcc41 warnings by clearing return values before doing any further
processing in bpf_movein()
Sepherosa Ziehau [Sat, 13 Oct 2007 09:43:19 +0000 (09:43 +0000)]
Constify vlan_input_p 'eh' parameter.
Sascha Wildner [Sat, 13 Oct 2007 09:01:11 +0000 (09:01 +0000)]
Spelling fix: as follow -> as follows
Peter Avalos [Sat, 13 Oct 2007 08:50:39 +0000 (08:50 +0000)]
Spelling fix.
Sepherosa Ziehau [Sat, 13 Oct 2007 08:49:35 +0000 (08:49 +0000)]
- Remove ef_input{EII,SNAP,8022}() 'eh' parameter, which is never used.
- Constify ef_inputp 'eh' parameter.
Sepherosa Ziehau [Sat, 13 Oct 2007 08:14:50 +0000 (08:14 +0000)]
Constify 'eh', which will not be modified in ether_ipfw_chk() at all.
Sepherosa Ziehau [Sat, 13 Oct 2007 08:02:05 +0000 (08:02 +0000)]
Reduce code duplication: if_init() supressing is now done in ether_ioctl()
Peter Avalos [Fri, 12 Oct 2007 20:05:50 +0000 (20:05 +0000)]
Merge from vendor branch LESS:
Import less-409.
Fix crash when viewing text with invalid UTF-8 sequences.
Peter Avalos [Fri, 12 Oct 2007 20:05:50 +0000 (20:05 +0000)]
Import less-409.
Fix crash when viewing text with invalid UTF-8 sequences.
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.
Peter Avalos [Fri, 12 Oct 2007 19:40:12 +0000 (19:40 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL-0.9.8f.
Peter Avalos [Fri, 12 Oct 2007 19:40:12 +0000 (19:40 +0000)]
Import OpenSSL-0.9.8f.
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.
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.
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.
Sepherosa Ziehau [Fri, 12 Oct 2007 14:03:41 +0000 (14:03 +0000)]
regen
Sepherosa Ziehau [Fri, 12 Oct 2007 14:02:55 +0000 (14:02 +0000)]
- Add OUI for PHYs from Agere
- Add Agere ET1011C id
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.
Thomas Nikolajsen [Thu, 11 Oct 2007 21:51:20 +0000 (21:51 +0000)]
Sync usage() with arp.8
Sascha Wildner [Thu, 11 Oct 2007 10:22:46 +0000 (10:22 +0000)]
Bring in some minor fixes from FreeBSD.
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.
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
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
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.
Peter Avalos [Thu, 11 Oct 2007 00:59:51 +0000 (00:59 +0000)]
Resolve conflicts.
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.
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.
Peter Avalos [Thu, 11 Oct 2007 00:21:59 +0000 (00:21 +0000)]
Consolidate local patches into contrib/, making updates easier.
Peter Avalos [Wed, 10 Oct 2007 23:51:13 +0000 (23:51 +0000)]
Remove 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.
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.
Matthew Dillon [Wed, 10 Oct 2007 19:35:53 +0000 (19:35 +0000)]
Initial commit of newfs_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.
Peter Avalos [Wed, 10 Oct 2007 17:59:08 +0000 (17:59 +0000)]
Update build for libarchive-2.3.4 import (add man pages).
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.
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.
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.
Peter Avalos [Tue, 9 Oct 2007 23:34:53 +0000 (23:34 +0000)]
Add our READMEs.
Peter Avalos [Tue, 9 Oct 2007 23:27:24 +0000 (23:27 +0000)]
Import less-408.
Peter Avalos [Tue, 9 Oct 2007 23:27:24 +0000 (23:27 +0000)]
Merge from vendor branch LESS:
Import less-408.
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.
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.
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.
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.
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
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@.
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.
Sascha Wildner [Sat, 6 Oct 2007 20:41:55 +0000 (20:41 +0000)]
Add a device_printf(9) manual page.
Taken-from: FreeBSD
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.
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.
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)
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.
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.
Sascha Wildner [Fri, 5 Oct 2007 18:34:47 +0000 (18:34 +0000)]
Remove trailing whitespace.
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>
Sascha Wildner [Wed, 3 Oct 2007 20:06:54 +0000 (20:06 +0000)]
Misc. mdoc nits.
Hasso Tepper [Wed, 3 Oct 2007 19:53:05 +0000 (19:53 +0000)]
Fix synopsis (reminded by Constantine A. Murenin) and history.
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.
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>