]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoEnable mpt(4) as some later models have on-board Fusion-MPT
marius [Sat, 11 Oct 2008 12:10:23 +0000 (12:10 +0000)]
Enable mpt(4) as some later models have on-board Fusion-MPT
controllers and it seems to work just fine with at least an
add-on SAS3080X. While at it, remove the commented out ncr(4)
as it doesn't even use bus_dma(9), which isn't worth fixing
though as sym(4) already supports a superset of the controllers
driven by ncr(4).

15 years agoMove Qualcomm ZTE CDMA from ubsa(4) to u3g(4).
rpaulo [Sat, 11 Oct 2008 10:47:18 +0000 (10:47 +0000)]
Move Qualcomm ZTE CDMA from ubsa(4) to u3g(4).

Reviewed by: n_hibma

15 years agoRemoving startup banner.
bushman [Fri, 10 Oct 2008 22:40:05 +0000 (22:40 +0000)]
Removing startup banner.

15 years agoRemove the struct thread unuseful argument from bufobj interface.
attilio [Fri, 10 Oct 2008 21:23:50 +0000 (21:23 +0000)]
Remove the struct thread unuseful argument from bufobj interface.
In particular following functions KPI results modified:
- bufobj_invalbuf()
- bufsync()

and BO_SYNC() "virtual method" of the buffer objects set.
Main consumers of bufobj functions are affected by this change too and,
in particular, functions which changed their KPI are:
- vinvalbuf()
- g_vfs_close()

Due to the KPI breakage, __FreeBSD_version will be bumped in a later
commit.

As a side note, please consider just temporary the 'curthread' argument
passing to VOP_SYNC() (in bufsync()) as it will be axed out ASAP

Reviewed by: kib
Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>

15 years agoTypo.
n_hibma [Fri, 10 Oct 2008 20:05:15 +0000 (20:05 +0000)]
Typo.

15 years agoClose, but not eliminate, a race condition. It is one that properly
imp [Fri, 10 Oct 2008 17:49:47 +0000 (17:49 +0000)]
Close, but not eliminate, a race condition.  It is one that properly
designed drivers would never hit, but was exposed in diving into
another problem...

When expanding the devclass array, free the old memory after updating
the pointer to the new memory.  For the following single race case,
this helps:

allocate new memory
copy to new memory
free old memory
<interrupt> read pointer to freed memory
update pointer to new memory

Now we do
allocate new memory
copy to new memory
update pointer to new memory
free old memory

Which closes this problem, but doesn't even begin to address the
multicpu races, which all should be covered by Giant at the moment,
but likely aren't completely.

Note: reviewers were ok with this fix, but suggested the use case
wasn't one we wanted to encourage.

Reviewed by: jhb, scottl.

15 years agoFix content and spelling of comment on _ipfw_insn.len -- a count of
rwatson [Fri, 10 Oct 2008 14:33:47 +0000 (14:33 +0000)]
Fix content and spelling of comment on _ipfw_insn.len -- a count of
32-bit words, not 32-byte words.

MFC after: 3 days

15 years agoTypo in ifdef.
n_hibma [Fri, 10 Oct 2008 07:16:44 +0000 (07:16 +0000)]
Typo in ifdef.

Submitted by: Andrew Thompson

15 years agoAdd an entry about the split up of usb into usb+*hci modules.
n_hibma [Fri, 10 Oct 2008 06:37:51 +0000 (06:37 +0000)]
Add an entry about the split up of usb into usb+*hci modules.

Submitted by: Andrew Thompson

15 years agoWrong FBSD version number in HISTORY section.
n_hibma [Fri, 10 Oct 2008 06:26:37 +0000 (06:26 +0000)]
Wrong FBSD version number in HISTORY section.

Submitted by: pluknet

15 years agoMFp4: Fix a bug in the mips relocation code that prevents shared images
imp [Fri, 10 Oct 2008 05:10:10 +0000 (05:10 +0000)]
MFp4: Fix a bug in the mips relocation code that prevents shared images
from working.

From p4 filelog of the upstream file in p4

//depot/projects/mips2-jnpr/src/libexec/rtld-elf/mips/reloc.c
... #6 change 140737 edit on 2008/04/27 by gonzo@gonzo_jeeves (text+ko)

        o Looks like handler for R_MIPS_REL32 brought by CS 137942
            is broken for tradmips. Code from NetBSD's
            libexec/ld.elf_so/arch/mips/mips_reloc.c works just fine.

... #3 change 137942 edit on 2008/03/17 by rrs@rrs-mips2-jnpr (text+ko)

        Any relocation symbol lookup if its 0. It looks like
               this is the way the compiler indicates you need to
               look in another shared library. When we hit these
               as we relocate a object we will do the symbol
               lookups and setup the relocation table with the
               right value.

Submitted by: rrs@, gonzo@

15 years agoMention the libpmc/hwpmc ABI change introduced in SVN r183725.
jkoshy [Fri, 10 Oct 2008 04:23:40 +0000 (04:23 +0000)]
Mention the libpmc/hwpmc ABI change introduced in SVN r183725.

15 years agoAllow strong symbols to override weak ones for lookups done through
kan [Fri, 10 Oct 2008 00:16:32 +0000 (00:16 +0000)]
Allow strong symbols to override weak ones for lookups done through
dlsym with RTLD_NEXT/RTLD_SELF handles.

Allow symbols from ld-elf.so to be located this way too.

Based on report and original patch from sobomax@.

15 years agoata module additions now nest ata modules one deeper than any prior module.
imp [Thu, 9 Oct 2008 22:01:27 +0000 (22:01 +0000)]
ata module additions now nest ata modules one deeper than any prior module.
Increase heuristic used to find them by one.

15 years agoSay hello to the u3g driver, implementing support for 3G modems.
n_hibma [Thu, 9 Oct 2008 21:25:01 +0000 (21:25 +0000)]
Say hello to the u3g driver, implementing support for 3G modems.

This was located in the ubsa driver, but should be moved into a separate
driver:

- 3G modems provide multiple serial ports to allow AT commands while the PPP
  connection is up.
- 3G modems do not provide baud rate or other serial port settings.
- Huawei cards need specific initialisation.
- ubsa is for Belkin adapters, an Linuxy choice for another device like 3G.

Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky
STALLED messages as well.

Next: Move over all entries for Sierra and Novatel cards once I have found
testers, and implemented serial port enumeration for Sierra (or rather have
Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces.

Submitted by: aguzzo@anywi.com
MFC after: 3 weeks

15 years agouark/ucom: Minor code cleanup.
n_hibma [Thu, 9 Oct 2008 20:51:25 +0000 (20:51 +0000)]
uark/ucom: Minor code cleanup.
umass; Remove duplicated code.
ukbd: Fill in the arg parameter on the through call.

15 years agoPrefix the static shl function with '__' like its parent function __qdivrem to
thompsa [Thu, 9 Oct 2008 20:43:42 +0000 (20:43 +0000)]
Prefix the static shl function with '__' like its parent function __qdivrem to
avoid being picked up by the DTrace fbt provider.

This is called by __udivdi3() for doing 64bit division on a 32bit arch and may
be called from within the dtrace context causing a double fault.

15 years agoAdd high capacity MMC cards support.
mav [Thu, 9 Oct 2008 20:09:56 +0000 (20:09 +0000)]
Add high capacity MMC cards support.

15 years agoObfuscated by other diffs while committing r183728:
n_hibma [Thu, 9 Oct 2008 20:00:17 +0000 (20:00 +0000)]
Obfuscated by other diffs while committing r183728:

Remove the files for the HCI interfaces from the usb module.

15 years agoo Use seprate routines to decode cid and csd for sd and mmc cards. All they
imp [Thu, 9 Oct 2008 19:47:28 +0000 (19:47 +0000)]
o Use seprate routines to decode cid and csd for sd and mmc cards.  All they
  have in common right now is a memset.  This saves a parameter to
  these routines, as well as a level of indentation.
o Make mmc_get_bits a little clearer...  It really only works on 128-bit
  registers right now.

15 years agoAdd modules for the HCI part of USB. This is convenient when having a UHCI
n_hibma [Thu, 9 Oct 2008 19:22:00 +0000 (19:22 +0000)]
Add modules for the HCI part of USB. This is convenient when having a UHCI
controller in your laptop but inserting a (OHCI-based) Option Cardbus card.

15 years agoAvoid failing if the directory already exists (when restarting at customize).
n_hibma [Thu, 9 Oct 2008 18:06:28 +0000 (18:06 +0000)]
Avoid failing if the directory already exists (when restarting at customize).

MFC after: 2 days

15 years ago- Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order to
jkoshy [Thu, 9 Oct 2008 14:55:45 +0000 (14:55 +0000)]
- Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order to
  reduce ABI disruptions when new cpu types and new PMC events are added
  in the future.
- Support alternate spellings for PMC events.  Derive the canonical
  spelling of an event name from its enumeration name in 'enum pmc_event'.
- Provide a way for users to disambiguate between identically named events
  supported by multiple classes of PMCs in a CPU.
- Change libpmc's machine-dependent event specifier parsing code to
  better support CPUs containing two or more classes of PMC resources.

15 years agoThis is the roumored ATA modulerisation works, and it needs a little explanation.
sos [Thu, 9 Oct 2008 12:56:57 +0000 (12:56 +0000)]
This is the roumored ATA modulerisation works, and it needs a little explanation.

If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in.

However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries:

atacore: ATA core functionality, always needed for any ATA setup

atacard: CARDBUS support
atacbus: PC98 cbus support
ataisa: ISA bus support
atapci: PCI bus support only generic chipset support.

ataahci: AHCI support, also pulled in by some vendor modules.

ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia; Vendor support, ie atavia for VIA chipsets

atadisk: ATA disk driver
ataraid: ATA softraid driver

atapicd: ATAPI cd/dvd driver
atapifd: ATAPI floppy/flashdisk driver
atapist: ATAPI tape driver

atausb: ATA<>USB bridge
atapicam: ATA<>CAM bridge

This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file:

device          atacore
device          atapci
device          atavia

And then you need the atadisk, atapicd etc lines in there just as usual.

If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual.
However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above.

15 years agoAdd some examples to demostrate gpart(8).
delphij [Thu, 9 Oct 2008 06:23:04 +0000 (06:23 +0000)]
Add some examples to demostrate gpart(8).
--此行及以下内容将会被忽略--
> Description of fields to fill in above:                     76 columns --|
> PR:            If a GNATS PR is affected by the change.
> Submitted by:  If someone else sent in the change.
> Reviewed by:   If someone else reviewed your modification.
> Approved by:   If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
> Security:      Vulnerability reference (one per line) or description.
> Empty fields above will be automatically removed.

M    gpart.8

15 years agoRework pmc-dependent flag handling.
jkoshy [Thu, 9 Oct 2008 06:19:42 +0000 (06:19 +0000)]
Rework pmc-dependent flag handling.

15 years agoClean out some empty mergeinfo records, presumably by people doing local
peter [Thu, 9 Oct 2008 02:25:18 +0000 (02:25 +0000)]
Clean out some empty mergeinfo records, presumably by people doing local
cp/mv operations.  The full repo-relative URL should be specified for the
source in these cases.

15 years agoOnly voltage bits should be zero in send_op_cond argument to ignore busy.
mav [Wed, 8 Oct 2008 21:10:55 +0000 (21:10 +0000)]
Only voltage bits should be zero in send_op_cond argument to ignore busy.

15 years agoGeneric SD Host Controller driver going to be named sdhci.
mav [Wed, 8 Oct 2008 20:00:51 +0000 (20:00 +0000)]
Generic SD Host Controller driver going to be named sdhci.

15 years agoAnother good day for historical quotes, Oliver Wendell Holmes brought to
phk [Wed, 8 Oct 2008 19:39:22 +0000 (19:39 +0000)]
Another good day for historical quotes, Oliver Wendell Holmes brought to
you by Thomas L. Friedman.

 (http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion)

15 years agoRemove stale BUGS.
mav [Wed, 8 Oct 2008 18:27:54 +0000 (18:27 +0000)]
Remove stale BUGS.

15 years agoFix bit offset in mmc_sd_switch().
mav [Wed, 8 Oct 2008 18:13:14 +0000 (18:13 +0000)]
Fix bit offset in mmc_sd_switch().

15 years agoSet of mmc layer improvements:
mav [Wed, 8 Oct 2008 17:35:41 +0000 (17:35 +0000)]
Set of mmc layer improvements:
 - add MMC support.
 - add SDHC support.
 - add 4 and 8 bit bus width support.
 - add High Speed bus timing support.

15 years agoOpenSSH has been upgraded to 5.1p1.
hrs [Wed, 8 Oct 2008 16:46:36 +0000 (16:46 +0000)]
OpenSSH has been upgraded to 5.1p1.

15 years agoThese directories have been empty since 2001, and are not present in the
des [Wed, 8 Oct 2008 14:45:07 +0000 (14:45 +0000)]
These directories have been empty since 2001, and are not present in the
vendor tree.

MFC after: 1 week

15 years agoThis directory has been empty since 1997.
des [Wed, 8 Oct 2008 13:59:22 +0000 (13:59 +0000)]
This directory has been empty since 1997.

MFC after: 1 week

15 years agoQuirks for SDS-infrared.com "Hotfind-D" camera.
phk [Wed, 8 Oct 2008 13:53:47 +0000 (13:53 +0000)]
Quirks for SDS-infrared.com "Hotfind-D" camera.

PR: 127943

15 years agoCreate separate cat directories for en.UTF-8. This, together with r183697,
des [Wed, 8 Oct 2008 13:28:02 +0000 (13:28 +0000)]
Create separate cat directories for en.UTF-8.  This, together with r183697,
allows users in en.UTF-8 locales to see non-ascii characters in man pages.

MFC after: 1 week

15 years agoWhitespace nit
des [Wed, 8 Oct 2008 13:20:02 +0000 (13:20 +0000)]
Whitespace nit

MFC after: 1 week

15 years agoEnable UTF-8.
des [Wed, 8 Oct 2008 13:16:20 +0000 (13:16 +0000)]
Enable UTF-8.

MFC after: 1 week

15 years agoDocument new NGM_NETFLOW_SETCONFIG control message.
mav [Wed, 8 Oct 2008 11:19:16 +0000 (11:19 +0000)]
Document new NGM_NETFLOW_SETCONFIG control message.

15 years agoIf the ABI-overriden interpreter was not loaded, do not set
kib [Wed, 8 Oct 2008 11:11:36 +0000 (11:11 +0000)]
If the ABI-overriden interpreter was not loaded, do not set
have_interp to TRUE. This allows the code in image activator to try
/libexec/ld-elf.so.1 as interpreter when newinterp is not found to
execute.

Reviewed by: peter
MFC after: 2 weeks (together with r175105)

15 years agoAdd ability to generate egress netflow instead or in addition to ingress.
mav [Wed, 8 Oct 2008 10:37:07 +0000 (10:37 +0000)]
Add ability to generate egress netflow instead or in addition to ingress.
Use mbuf tagging for accounted packets to not account packets twice when
both ingress and egress netflow enabled.
To keep compatibility new "setconfig" message added to control new
functionality. By default node works as before, doing only ingress
accounting without using mbuf tags.

Reviewed by: glebius

15 years agoAdd a note about a bug in how sio manages its softc. This was
imp [Wed, 8 Oct 2008 08:08:03 +0000 (08:08 +0000)]
Add a note about a bug in how sio manages its softc.  This was
discovered by Dorr H. Clark.  I'm not at all sure how to fix it, but
wanted to document it at the very least...

15 years agoA Wittgenstein quote according to David Ignatius
phk [Wed, 8 Oct 2008 06:39:05 +0000 (06:39 +0000)]
A Wittgenstein quote according to David Ignatius
http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html

15 years agoRemove stale comment (and XXX saying so) about why we zero the file
rwatson [Wed, 8 Oct 2008 06:26:51 +0000 (06:26 +0000)]
Remove stale comment (and XXX saying so) about why we zero the file
descriptor pointer in unp_freerights: we can no longer recurse into
unp_gc due to unp_gc being invoked in a deferred way, but it's still
a good idea.

MFC after: 3 days

15 years agoDifferentiate pr_usrreqs for stream and datagram UNIX domain sockets, and
rwatson [Wed, 8 Oct 2008 06:19:49 +0000 (06:19 +0000)]
Differentiate pr_usrreqs for stream and datagram UNIX domain sockets, and
employ soreceive_dgram for the datagram case.

MFC after: 3 months

15 years agoDon't mention lib/compat, it has gone long ago. Use ports/misc/compat*
delphij [Wed, 8 Oct 2008 01:31:00 +0000 (01:31 +0000)]
Don't mention lib/compat, it has gone long ago.  Use ports/misc/compat*
instead.

15 years agoPass bus_get_dma_tag() into the first argument of bus_dma_create_tag()
imp [Tue, 7 Oct 2008 23:55:32 +0000 (23:55 +0000)]
Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()
rather than NULL.

15 years agoUpdate udpzerobyte to understand that passing 0 as a length to recv(2)
rwatson [Tue, 7 Oct 2008 21:01:23 +0000 (21:01 +0000)]
Update udpzerobyte to understand that passing 0 as a length to recv(2)
will cause it to return 0, not EAGAIN.

Add UNIX domain socket support to udpzerobyte, which suggests this
regression test should be moved to the general sockets test area rather
than netinet.

15 years agoIn soreceive_dgram, when a 0-length buffer is passed into recv(2) and
rwatson [Tue, 7 Oct 2008 20:57:55 +0000 (20:57 +0000)]
In soreceive_dgram, when a 0-length buffer is passed into recv(2) and
no data is ready, return 0 rather than blocking or returning EAGAIN.
This is consistent with the behavior of soreceive_generic (soreceive)
in earlier versions of FreeBSD, and restores this behavior for UDP.

Discussed with: jhb, sam
MFC after: 3 days

15 years agothe 3945 firmware license does not require acknowledging the EULA,
sam [Tue, 7 Oct 2008 19:42:56 +0000 (19:42 +0000)]
the 3945 firmware license does not require acknowledging the EULA,
remove the sysctl ack requirement

Pointed out by: Joerg Sonnenberger
Reviewed by: thompsa
Approved by: core

15 years agoMore diff reductions against ixp425/boot2/boot2.c. This time, we
imp [Tue, 7 Oct 2008 17:44:04 +0000 (17:44 +0000)]
More diff reductions against ixp425/boot2/boot2.c.  This time, we
bring in FIXUP_BOOT_DRV functionality as an #ifdef.  This is not
enabled at this time, and the md5 remains constant with this change.
Apart from the 'accept any partitioning scheme on the device' changes,
this was the biggest delta...

# and yes, we'll merge these into one source file if we can do that in a
# way that makes sense.

Obtained from: sys/boot/arm/ixp425/boot2/boot2.c

15 years ago- Avoid a spurious error when a command line is specified without
jkoshy [Tue, 7 Oct 2008 17:28:52 +0000 (17:28 +0000)]
- Avoid a spurious error when a command line is specified without
  any process scope PMCs.
- Change the -c '*' option to denote non-halted CPUs.

15 years agoDiff reduction with boot/arm/at91/boot2/boot2.c: indent this statement
imp [Tue, 7 Oct 2008 17:27:37 +0000 (17:27 +0000)]
Diff reduction with boot/arm/at91/boot2/boot2.c: indent this statement
correctly.

15 years agoUse bus_get_dma_tag() instead of NULL here. Not really needed for atmel
imp [Tue, 7 Oct 2008 17:23:16 +0000 (17:23 +0000)]
Use bus_get_dma_tag() instead of NULL here.  Not really needed for atmel
at the moment, but it is more correct.

15 years agodon't hardcode cc
sam [Tue, 7 Oct 2008 16:39:17 +0000 (16:39 +0000)]
don't hardcode cc

Submitted by: Andrey Eltsov

15 years agoAdd IPv6 support to zero-size UDP transmit/receive test.
rwatson [Tue, 7 Oct 2008 14:13:59 +0000 (14:13 +0000)]
Add IPv6 support to zero-size UDP transmit/receive test.

15 years agoUse CPUID to see if the current CPU supports long mode when attemping to
jhb [Tue, 7 Oct 2008 14:05:42 +0000 (14:05 +0000)]
Use CPUID to see if the current CPU supports long mode when attemping to
boot an amd64 kernel.  If not, then fail the boot request with an error
message.  Otherwise, the boot attempt will fail with a BTX fault when
trying to read the EFER MSR.

MFC after: 3 days

15 years agoRegression test for the loopback handling of zero-length UDP packets, which
rwatson [Tue, 7 Oct 2008 10:31:55 +0000 (10:31 +0000)]
Regression test for the loopback handling of zero-length UDP packets, which
should be delivered but without payload.

15 years ago- Allow gstat to print values to different kind of outputs.
lulf [Tue, 7 Oct 2008 10:25:27 +0000 (10:25 +0000)]
- Allow gstat to print values to different kind of outputs.
- Introduce batch mode, where gstat will collect the numbers, print them, and
  exit.
- Document batch mode in the gstat man page.

Submitted by: anders

15 years agoRemove temporary debugging KASSERT's introduced to detect protocols
rwatson [Tue, 7 Oct 2008 09:57:03 +0000 (09:57 +0000)]
Remove temporary debugging KASSERT's introduced to detect protocols
improperly invoking sosend(), soreceive(), and sopoll() instead of
attach either specialized or _generic() versions of those functions
to their pru_sosend, pru_soreceive, and pru_sopoll protosw methods.

MFC after: 3 days

15 years agoRewrite sbreserve_locked()'s comment on NULL thread pointers, eliminating
rwatson [Tue, 7 Oct 2008 09:51:39 +0000 (09:51 +0000)]
Rewrite sbreserve_locked()'s comment on NULL thread pointers, eliminating
an XXXRW about the comment being stale.

MFC after: 3 days

15 years agoDon't pass curthread to sbreserve_locked() in tcp_do_segment(), as the
rwatson [Tue, 7 Oct 2008 09:41:07 +0000 (09:41 +0000)]
Don't pass curthread to sbreserve_locked() in tcp_do_segment(), as the
netisr or ithread's socket buffer size limit is not the right limit to
use.  Instead, pass NULL as the other two calls to sbreserve_locked()
in the TCP input path (tcp_mss()) do.

In practice, this is a no-op, as ithreads and the netisr run without a
process limit on socket buffer use, and a NULL thread pointer leads to
not using the process's limit, if any.  However, if tcp_input() is
called in other contexts that do have limits, this may prevent the
incorrect limit from being used.

MFC after: 3 days

15 years agoLock receive socket buffer in soo_stat() rather than commenting that we
rwatson [Tue, 7 Oct 2008 07:10:28 +0000 (07:10 +0000)]
Lock receive socket buffer in soo_stat() rather than commenting that we
should lock it, which may marginally improve the consistency of the
results.  Remove comment.

MFC after: 3 days

15 years agoLimit DMA memory to lower addressable 4GB, without this patch, we
delphij [Mon, 6 Oct 2008 22:34:17 +0000 (22:34 +0000)]
Limit DMA memory to lower addressable 4GB, without this patch, we
can reliably provoke data corruption on systems equipped with a
plenty of memory during high load.

Reported by: gnn via iXsystems
MFC candidate: RELENG_7_1, RELENG_7

15 years agoReference igb(4) i SEE ALSO.
simon [Mon, 6 Oct 2008 21:55:53 +0000 (21:55 +0000)]
Reference igb(4) i SEE ALSO.

MFC after: 1 week

15 years agoAdd igb(4).
simon [Mon, 6 Oct 2008 21:52:11 +0000 (21:52 +0000)]
Add igb(4).

MFC after: 1 week

15 years agoOnly a few of the loader tunables / sysctl variables are documented,
simon [Mon, 6 Oct 2008 21:38:55 +0000 (21:38 +0000)]
Only a few of the loader tunables / sysctl variables are documented,
as I'm not really sure what the rest do.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815

MFC after: 1 week

15 years ago- Add 82574 to list of supported controller chips.
simon [Mon, 6 Oct 2008 20:45:08 +0000 (20:45 +0000)]
- Add 82574 to list of supported controller chips.
- Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of
  supported adaptors.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957

MFC after: 1 week

15 years agoAdd very simple regression test for fstat(2) on sockets: make sure it
rwatson [Mon, 6 Oct 2008 19:42:03 +0000 (19:42 +0000)]
Add very simple regression test for fstat(2) on sockets: make sure it
returns success for various socket types.  It's easy to imagine this
being enhanced to validate the returned data, but...

15 years agoAdd a boot loader for ixp425 based boards like the Gateworks Avila
jhay [Mon, 6 Oct 2008 19:38:10 +0000 (19:38 +0000)]
Add a boot loader for ixp425 based boards like the Gateworks Avila
and ADI Pronghorn Metro with Redboot on them.

15 years agoNow that portalfs doesn't directly invoke uipc_connect2(), make it a
rwatson [Mon, 6 Oct 2008 18:43:11 +0000 (18:43 +0000)]
Now that portalfs doesn't directly invoke uipc_connect2(), make it a
static symbol.

MFC after: 3 days

15 years agoUse soconnect2() rather than directly invoking uipc_connect2() to
rwatson [Mon, 6 Oct 2008 18:38:50 +0000 (18:38 +0000)]
Use soconnect2() rather than directly invoking uipc_connect2() to
interconnect two UNIX domain sockets.

MFC after: 3 days

15 years agoDocument that the bce(4) driver works with Dell PowerEdge 1950/2950
simon [Mon, 6 Oct 2008 18:07:07 +0000 (18:07 +0000)]
Document that the bce(4) driver works with Dell PowerEdge 1950/2950
NIC's.

MFC after: 3 days

15 years ago- Add jme(4).
simon [Mon, 6 Oct 2008 17:51:44 +0000 (17:51 +0000)]
- Add jme(4).

Suggested by: yongari
MFC after: 3 days

15 years agoAdd a HARDWARE section. It doesn't contain any information not
simon [Mon, 6 Oct 2008 17:49:24 +0000 (17:49 +0000)]
Add a HARDWARE section.  It doesn't contain any information not
already in the DESCRIPTION section, but this allows for the manual
page to be used in the automatic hardware notes generation.

MFC after: 3 days

15 years agoAdd myself as requested by the committers-guide
lstewart [Mon, 6 Oct 2008 14:20:03 +0000 (14:20 +0000)]
Add myself as requested by the committers-guide

Approved by: gnn (mentor)

15 years agoCorrect a typo.
jkoshy [Mon, 6 Oct 2008 10:34:44 +0000 (10:34 +0000)]
Correct a typo.

15 years agoBring in the trivial differences between this code and John Hay's new
imp [Sun, 5 Oct 2008 23:59:52 +0000 (23:59 +0000)]
Bring in the trivial differences between this code and John Hay's new
code.  Added a copyright for the work I did to this file a couple of
years ago.  Add John's copyright too, since I'm sure I'll be pulling
more into this code.  This also implements a new -n option to not
allow breaking into the boot sequence which was original in the patch
John posted (not in the original i386 code I based this boot2.c on,
only the name is the same).  I haven't checked to see if he did that,
or if it was one of Sam's improvements.

Submitted by: jhay@

15 years agoRemove XMODEM_DL support. It never was complete and only serves to
imp [Sun, 5 Oct 2008 23:39:28 +0000 (23:39 +0000)]
Remove XMODEM_DL support.  It never was complete and only serves to
increase the diffs with other arm boot2 loaders.

15 years agoIndent with 8-space tabs. This reduces the diffs to the newer ixp425
imp [Sun, 5 Oct 2008 23:37:03 +0000 (23:37 +0000)]
Indent with 8-space tabs.  This reduces the diffs to the newer ixp425
boot2 and may make it easier to merge these files in the future...

15 years ago- Add age(4).
simon [Sun, 5 Oct 2008 19:23:33 +0000 (19:23 +0000)]
- Add age(4).

Suggested by: stass
MFC after: 3 days (including other recent changes)

15 years agoAdd initial version of the nullfs(5) man page
danger [Sun, 5 Oct 2008 18:57:27 +0000 (18:57 +0000)]
Add initial version of the nullfs(5) man page

MFC after: 3 days

15 years ago- Revert to the pre-r183242 behavior of building sade(8) on sparc64.
marius [Sun, 5 Oct 2008 14:15:22 +0000 (14:15 +0000)]
- Revert to the pre-r183242 behavior of building sade(8) on sparc64.
- Fix whitespace.

15 years agoDisable ATAPI DMA as it's once again broken in that it causes data
marius [Sun, 5 Oct 2008 14:00:44 +0000 (14:00 +0000)]
Disable ATAPI DMA as it's once again broken in that it causes data
corruption with the on-board AcerLabs M5229 controllers. While at
it, remove the pointless "nothing to autoload yet." message.

MFC after: 3 days

15 years agoDocument that vr(4) supports Soekris Engineering net5501.
simon [Sun, 5 Oct 2008 11:39:16 +0000 (11:39 +0000)]
Document that vr(4) supports Soekris Engineering net5501.

15 years agoMajor whitespace cleanup to follow FDP style. This was done since
simon [Sun, 5 Oct 2008 11:01:50 +0000 (11:01 +0000)]
Major whitespace cleanup to follow FDP style.  This was done since
markup was getting in the way when doing "real" changes.

The resulting HTML output is unchanged.

15 years agoMove a lists which was inside a <para> to outside the <para>.
simon [Sun, 5 Oct 2008 10:31:46 +0000 (10:31 +0000)]
Move a lists which was inside a <para> to outside the <para>.
This removes some vertical whitespace in the output.

This one was missed in r183620.

15 years ago- Add support for Pp command - this improves output for axe(4).
simon [Sun, 5 Oct 2008 09:45:45 +0000 (09:45 +0000)]
- Add support for Pp command - this improves output for axe(4).
- Add support for .Fx, just in case somebody starts using it.
- Only add the arch information to the first para per manual page.
  This improves output for axe(4), and generally seems to make sense
  (I hope).
- Remove an unneeded line for non-compat mode.

15 years agoMove some lists which were inside a <para> to outside the <para>.
simon [Sun, 5 Oct 2008 09:35:46 +0000 (09:35 +0000)]
Move some lists which were inside a <para> to outside the <para>.
This removes some vertical whitespace in the output.

Whitespace was intentionally not fixed in the SGML for the related
lists, to make the actual change more clear.  This file is in need of
a major whitespace cleanup anyway.

15 years agoRemove reference to hardware devices which does not exist anymore.
simon [Sun, 5 Oct 2008 08:27:56 +0000 (08:27 +0000)]
Remove reference to hardware devices which does not exist anymore.
This fixes the build.

15 years agoRemove reference to hardware devices which does not exist anymore.
simon [Sun, 5 Oct 2008 08:16:38 +0000 (08:16 +0000)]
Remove reference to hardware devices which does not exist anymore.
This fixes the build.

15 years agoo Typo fixes.
maxim [Sun, 5 Oct 2008 05:12:48 +0000 (05:12 +0000)]
o Typo fixes.

PR: docs/127866
Submitted by: Marius Korsmo

15 years agoIf the current thread has the trap bit set (i.e. a debugger had
davidxu [Sun, 5 Oct 2008 02:03:54 +0000 (02:03 +0000)]
If the current thread has the trap bit set (i.e. a debugger had
single stepped the process to the system call), we need to clear
the trap flag from the new frame. Otherwise, the new thread will
receive a (likely unexpected) SIGTRAP when it executes the first
instruction after returning to userland.

15 years agodynamically allocate the task structure in firmware_mountroot: when
sam [Sat, 4 Oct 2008 23:58:02 +0000 (23:58 +0000)]
dynamically allocate the task structure in firmware_mountroot: when
booting from an MFS root (e.g. from an install CD) firmware_mountroot
can be called twice with the second call happening before the task
callback occurs; this results in the task structure contents being
corrupted because it was declared static.

Submitted by: marius (original version)

15 years agoNote recently added ICH10 support
delphij [Sat, 4 Oct 2008 21:31:12 +0000 (21:31 +0000)]
Note recently added ICH10 support

15 years agoCurrent linux_fooaffinity() emulation fails, as the FreeBSD affinity
kib [Sat, 4 Oct 2008 19:23:30 +0000 (19:23 +0000)]
Current linux_fooaffinity() emulation fails, as the FreeBSD affinity
syscalls expect the bitmap size in the range from 32 to 128. Old glibc
always assumed size 1024, while newer glibc searches for approriate
size, starting from 1024 and going up.

For now, use FreeBSD size of cpuset_t for bitmap size parameter and
return EINVAL if length of user space bitmap less than our size of
cpuset_t.

Submitted by: dchagin
MFC after: 1 week
[This requires MFC of the actual linux affinity syscalls]

15 years agoStyle changes: compare pointer to NULL and move a }.
bz [Sat, 4 Oct 2008 17:07:58 +0000 (17:07 +0000)]
Style changes: compare pointer to NULL and move a }.

MFC after: 6 weeks

15 years agoRemove an INP_RUNLOCK() missed in SVN r183606, cvs rev. 1.195 raw_ip.c
bz [Sat, 4 Oct 2008 16:48:09 +0000 (16:48 +0000)]
Remove an INP_RUNLOCK() missed in SVN r183606, cvs rev. 1.195 raw_ip.c
when transitioning from so_cred to inp_cred.

MFC after: 6 weeks