]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
13 years agoUpgrade to OpenSSH 5.6p1.
Dag-Erling Smørgrav [Thu, 11 Nov 2010 11:46:19 +0000 (11:46 +0000)]
Upgrade to OpenSSH 5.6p1.

13 years agoChange #ifdef INVARIANTS panic into KASSERT, and print some useful
Konstantin Belousov [Thu, 11 Nov 2010 11:41:52 +0000 (11:41 +0000)]
Change #ifdef INVARIANTS panic into KASSERT, and print some useful
information to diagnose the issue, in handle_complete_freeblocks().

Reviewed by: jeff
Tested by: pho

13 years agoIn journal_mount(), only set MNTK_SUJ flag after the jblocks are mapped.
Konstantin Belousov [Thu, 11 Nov 2010 11:38:57 +0000 (11:38 +0000)]
In journal_mount(), only set MNTK_SUJ flag after the jblocks are mapped.
I believe there is a window otherwise where jblocks can be accessed
without proper initialization.

Reviewed by: jeff
Tested by: pho

13 years agoAdd function lbn_offset to calculate offset of the indirect block of
Konstantin Belousov [Thu, 11 Nov 2010 11:35:42 +0000 (11:35 +0000)]
Add function lbn_offset to calculate offset of the indirect block of
given level.

Reviewed by: jeff
Tested by: pho

13 years agoFix typo. Function is called ffs_blkfree.
Konstantin Belousov [Thu, 11 Nov 2010 11:26:59 +0000 (11:26 +0000)]
Fix typo. Function is called ffs_blkfree.

13 years agoRemove unneeded conditional.
Edward Tomasz Napierala [Thu, 11 Nov 2010 08:15:12 +0000 (08:15 +0000)]
Remove unneeded conditional.

Discussed with: kib

13 years agoFix so that a multicast packet can be sent
Randall Stewart [Thu, 11 Nov 2010 05:40:39 +0000 (05:40 +0000)]
Fix so that a multicast packet can be sent
even if there is no route out to that mcast address. The code in
in_pcb inadvertantly would error (no route) even though
the user may have specified the address with the
proper socket option (to specify the egress interface).
Thanks bz for reminding me I forgot to commit this ;-)

Reviewed by: bz
MFC after: 1 week

13 years agoAdd support for the IMISS, DLMISS, and DSMISS traps required to run
Nathan Whitehorn [Thu, 11 Nov 2010 02:40:00 +0000 (02:40 +0000)]
Add support for the IMISS, DLMISS, and DSMISS traps required to run
FreeBSD on a G2 core.

PR: powerpc/111296
Submitted by: Andrew Turner

13 years agoZero the buffer containing the .gnu_debuglink section before writing
Colin Percival [Thu, 11 Nov 2010 00:29:19 +0000 (00:29 +0000)]
Zero the buffer containing the .gnu_debuglink section before writing
into it.  Prior to this commit the .gnu_debuglink section can have up
to 3 bytes of uninitialized garbage; as a result, .ko files could
change vary between builds.

Approved by: dim
MFC after: 7 days

13 years agoAdd a man page for usb_quirk module, plus references in other man pages,
Nick Hibma [Wed, 10 Nov 2010 23:45:44 +0000 (23:45 +0000)]
Add a man page for usb_quirk module, plus references in other man pages,
and updated comments in the usb_quirk.h header file.

The main purpose of this is to expose the quirks for ejecting 3G
modules. usb_modeswitch in Linux does a great job of collecting
information on these, and with the quirks module people can try out the
modeswitch config file entries on FreeBSD, hence the SCSI strings in the
man page.

MFC after: 2 weeks

13 years agoFix typos.
Attilio Rao [Wed, 10 Nov 2010 21:06:49 +0000 (21:06 +0000)]
Fix typos.

Submitted by: gianni
MFC after: 3 days

13 years agoEntering deep nap mode on the 970MP requires that both MSR[NAP] and
Nathan Whitehorn [Wed, 10 Nov 2010 20:28:10 +0000 (20:28 +0000)]
Entering deep nap mode on the 970MP requires that both MSR[NAP] and
MSR[DEEPNAP] be set, not just MSR[DEEPNAP]. Fixing this reduces the idle
temperature of my CPUs from 57 to 38 degrees and makes one-shot timer
mode work properly.

Hint from: mav
MFC after: 4 days

13 years agoDisabling CPU NAP modes during SMU commands is a hack needed only on U3
Nathan Whitehorn [Wed, 10 Nov 2010 20:09:05 +0000 (20:09 +0000)]
Disabling CPU NAP modes during SMU commands is a hack needed only on U3
systems. Don't use it on non-U3 systems to allow cpu_idle() to work
correctly.

13 years agoMake APM emulation look more closer to its origin. Use device_get_softc(9)
Jung-uk Kim [Wed, 10 Nov 2010 18:50:12 +0000 (18:50 +0000)]
Make APM emulation look more closer to its origin.  Use device_get_softc(9)
instead of hardcoding acpi(4) unit number as we have device_t for it.

13 years agoAdd my birthday to the calendar so everyone can send me presents.
Zack Kirsch [Wed, 10 Nov 2010 18:45:32 +0000 (18:45 +0000)]
Add my birthday to the calendar so everyone can send me presents.

Approved by: zml (mentor)

13 years agoAllow specification of eject method through quirks, so people can test
Nick Hibma [Wed, 10 Nov 2010 18:41:38 +0000 (18:41 +0000)]
Allow specification of eject method through quirks, so people can test
drive eject methods before supplying patches.

13 years agoAdd myself as a new committer and add zml as my mentor.
Zack Kirsch [Wed, 10 Nov 2010 18:37:03 +0000 (18:37 +0000)]
Add myself as a new committer and add zml as my mentor.

Approved by: zml (mentor)

13 years agoEnable reservation-based physical memory allocation. Even without the
Alan Cox [Wed, 10 Nov 2010 17:57:34 +0000 (17:57 +0000)]
Enable reservation-based physical memory allocation.  Even without the
creation of large page mappings in the pmap, it can provide modest
performance benefits.  In particular, for a "buildworld" on a 2x 1GHz
Ultrasparc IIIi it reduced the wall clock time by 2.2% and the system
time by 12.6%.

Tested by: marius@

13 years agoRemove unexisted since r212541 timer1hz/timer2hz variables.
Alexander Motin [Wed, 10 Nov 2010 16:42:36 +0000 (16:42 +0000)]
Remove unexisted since r212541 timer1hz/timer2hz variables.

13 years agoIn r212554 name of G_PART_PARM_GEOM and G_PART_PARM_PROVIDER
Andrey V. Elsukov [Wed, 10 Nov 2010 14:38:51 +0000 (14:38 +0000)]
In r212554 name of G_PART_PARM_GEOM and G_PART_PARM_PROVIDER
ctlreq parameters was changed to "arg0". Fix the last place where
it is used.

Approved by: kib (mentor)

13 years agoTypo fix in a comment.
Benedict Reuschling [Wed, 10 Nov 2010 14:33:09 +0000 (14:33 +0000)]
Typo fix in a comment.

Reviewed by: cperciva

13 years agoSwitch to the new network driver nlge, the old rge driver is deprecated now.
Jayachandran C. [Wed, 10 Nov 2010 10:23:39 +0000 (10:23 +0000)]
Switch to the new network driver nlge, the old rge driver is deprecated now.

13 years agoForgot to svn rm this when I imported 5.4p1.
Dag-Erling Smørgrav [Wed, 10 Nov 2010 08:21:25 +0000 (08:21 +0000)]
Forgot to svn rm this when I imported 5.4p1.

13 years agoComplete the integration of tbemd branch into head.
Warner Losh [Wed, 10 Nov 2010 06:39:49 +0000 (06:39 +0000)]
Complete the integration of tbemd branch into head.

TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming.  Any remaining rough edges
will be hammered out in -current.

13 years agoInsulate the nanobsd build from the current system by opting out of
Warner Losh [Wed, 10 Nov 2010 06:24:16 +0000 (06:24 +0000)]
Insulate the nanobsd build from the current system by opting out of
the SRCCONF processing.

Noted by: gcopper@

13 years agoWhen we switched to the gpart backend, and provided selection between
Warner Losh [Wed, 10 Nov 2010 05:32:36 +0000 (05:32 +0000)]
When we switched to the gpart backend, and provided selection between
MBR & GPT, the MBR full-disk init failed to stamp boot1, and results
in a boot not found error. This patch fixes the issue.

PR: 151990
Submitted by: Kris Moore

13 years agoRefactor acpi_machdep.c for amd64 and i386, move APM emulation into a new
Jung-uk Kim [Wed, 10 Nov 2010 01:29:56 +0000 (01:29 +0000)]
Refactor acpi_machdep.c for amd64 and i386, move APM emulation into a new
file acpi_apm.c, and place it on sys/x86/acpica.

13 years agoBuild make.conf when the world is not selected to build, but the
Warner Losh [Wed, 10 Nov 2010 00:56:44 +0000 (00:56 +0000)]
Build make.conf when the world is not selected to build, but the
kernel is.

PR: 151696
Submitted by: lev@

13 years agoDocument NANO_CFGDIR and NANO_DATADIR
Warner Losh [Wed, 10 Nov 2010 00:39:42 +0000 (00:39 +0000)]
Document NANO_CFGDIR and NANO_DATADIR

Submitted by: n_hibma@

13 years agorename SWARM_COMMON to std.SWARM so universe doesn't try to build it standalone
Warner Losh [Wed, 10 Nov 2010 00:28:20 +0000 (00:28 +0000)]
rename SWARM_COMMON to std.SWARM so universe doesn't try to build it standalone

13 years agoMake AIM early-boot code function correctly without Open Firmware.
Nathan Whitehorn [Tue, 9 Nov 2010 23:53:47 +0000 (23:53 +0000)]
Make AIM early-boot code function correctly without Open Firmware.

13 years agoMerge from tbemd:
Warner Losh [Tue, 9 Nov 2010 22:32:09 +0000 (22:32 +0000)]
Merge from tbemd:
o TARGET=mips --> little endian 32-bit mips build
o mipsel and mipseb TARGET_ARCH are both mips TARGETs
o Add some more architecture combinations

13 years ago- Remove <machine/mutex.h>. Most of the headers were empty, and the
John Baldwin [Tue, 9 Nov 2010 20:46:41 +0000 (20:46 +0000)]
- Remove <machine/mutex.h>.  Most of the headers were empty, and the
  contents of the ones that were not empty were stale and unused.
- Now that <machine/mutex.h> no longer exists, there is no need to allow it
  to override various helper macros in <sys/mutex.h>.
- Rename various helper macros for low-level operations on mutexes to live
  in the _mtx_* or __mtx_* namespaces.  While here, change the names to more
  closely match the real API functions they are backing.
- Drop support for including <sys/mutex.h> in assembly source files.

Suggested by: bde (1, 2)

13 years agoRemove unused includes of <sys/mutex.h> and <machine/mutex.h>.
John Baldwin [Tue, 9 Nov 2010 20:41:10 +0000 (20:41 +0000)]
Remove unused includes of <sys/mutex.h> and <machine/mutex.h>.

13 years agoMove the mptable.h under x86/include/.
Attilio Rao [Tue, 9 Nov 2010 20:28:09 +0000 (20:28 +0000)]
Move the mptable.h under x86/include/.

Sponsored by: Sandvine Incorporated
MFC after: 14 days

13 years agoMake all OF client interface calls return the maximum kind of
Nathan Whitehorn [Tue, 9 Nov 2010 19:45:29 +0000 (19:45 +0000)]
Make all OF client interface calls return the maximum kind of
does-not-exist error when no client interface module is installed instead
of dereferencing NULL pointers. This eases implementation of platforms
that may or may not have Open Firmware.

13 years ago- Save errno values before calling warn(3) so that errors are correctly
John Baldwin [Tue, 9 Nov 2010 19:28:06 +0000 (19:28 +0000)]
- Save errno values before calling warn(3) so that errors are correctly
  reported.
- Check for malloc() failures.

Submitted by: gcooper
MFC after: 1 week

13 years agoHide 460.chkportsum in MK_PKGTOOLS != no case.
Xin LI [Tue, 9 Nov 2010 18:46:44 +0000 (18:46 +0000)]
Hide 460.chkportsum in MK_PKGTOOLS != no case.

Submitted by: Alex Kozlov <spam rm-rf kiev ua>
MFC after: 2 weeks

13 years agoUpgrade to Bzip2 version 1.0.6.
David E. O'Brien [Tue, 9 Nov 2010 18:32:57 +0000 (18:32 +0000)]
Upgrade to Bzip2 version 1.0.6.

Reviewed by: SO (cperciva)

13 years agoUnbreak the test target by re-generating the initial scanner
Ulrich Spörlein [Tue, 9 Nov 2010 18:28:11 +0000 (18:28 +0000)]
Unbreak the test target by re-generating the initial scanner
using an updated flex(1) binary.

Also ignore the changing $FreeBSD$ ID lines when doing the diff.
This needs additional obfuscation, to not upset the svn precommit
hooks :/

13 years agoImprove the scalability by using the local and remote port when
Michael Tuexen [Tue, 9 Nov 2010 16:18:32 +0000 (16:18 +0000)]
Improve the scalability by using the local and remote port when
putting inps in the tcpephash.

MFC after: 3 days.

13 years agoFix a bug which resulted in kevent() reporting an event twice on
Michael Tuexen [Tue, 9 Nov 2010 12:00:39 +0000 (12:00 +0000)]
Fix a bug which resulted in kevent() reporting an event twice on
1-to-1 style sockets when an ABORT was received.

MFC after: 3 days.

13 years agoFix typos.
Rebecca Cran [Tue, 9 Nov 2010 10:59:09 +0000 (10:59 +0000)]
Fix typos.

PR: bin/148894
Submitted by: olgeni

13 years agoMinor cosmetic changes
Kevin Lo [Tue, 9 Nov 2010 09:34:21 +0000 (09:34 +0000)]
Minor cosmetic changes

13 years agoFix the build on 64-bit hosts. WARNS=6 fails on them.
David E. O'Brien [Tue, 9 Nov 2010 02:51:38 +0000 (02:51 +0000)]
Fix the build on 64-bit hosts.  WARNS=6 fails on them.

13 years agoOnly moderate TX completion interrupts. Relying on taskqueue to
Pyun YongHyeon [Tue, 9 Nov 2010 01:52:09 +0000 (01:52 +0000)]
Only moderate TX completion interrupts. Relying on taskqueue to
suppress RX interrupts seems to give better RX performance than
RX interrupt moderation.

13 years agoNow OsdEnvironment.c is identical on amd64 and i386. Move it to a new home.
Jung-uk Kim [Tue, 9 Nov 2010 00:27:18 +0000 (00:27 +0000)]
Now OsdEnvironment.c is identical on amd64 and i386.  Move it to a new home.

13 years agoReduce diff between platforms and fix style(9) bugs.
Jung-uk Kim [Tue, 9 Nov 2010 00:14:39 +0000 (00:14 +0000)]
Reduce diff between platforms and fix style(9) bugs.

13 years agotest: Move tests to tools/regression/bin/test.
Jilles Tjoelker [Mon, 8 Nov 2010 23:15:10 +0000 (23:15 +0000)]
test: Move tests to tools/regression/bin/test.
Convert the tests to the perl prove format.
Remove obsolete TEST.README (results of an old TEST.sh for some old Unices)
and TEST.csh (old tests without correct values, far less complete than
TEST.sh).

MFC after: 1 week

13 years agoUse macros rather than inline functions to lock and unlock mutexes, so that
Juli Mallett [Mon, 8 Nov 2010 22:12:25 +0000 (22:12 +0000)]
Use macros rather than inline functions to lock and unlock mutexes, so that
line number information is preserved in witness.

Reviewed by: jhb

13 years agoRemove standard PCI configuration space register definitions.
Pyun YongHyeon [Mon, 8 Nov 2010 22:10:51 +0000 (22:10 +0000)]
Remove standard PCI configuration space register definitions.

13 years agoRemove trailing white spaces.
Pyun YongHyeon [Mon, 8 Nov 2010 22:05:11 +0000 (22:05 +0000)]
Remove trailing white spaces.

13 years agoConsistently use tab character instead of using space character.
Pyun YongHyeon [Mon, 8 Nov 2010 22:03:40 +0000 (22:03 +0000)]
Consistently use tab character instead of using space character.
No functional changes.

13 years agoFollow the lead of vendor's interrupt moderation mechanism.
Pyun YongHyeon [Mon, 8 Nov 2010 21:50:50 +0000 (21:50 +0000)]
Follow the lead of vendor's interrupt moderation mechanism.
It seems RTL8169/RTL8168/RTL810xE has a kind of interrupt
moderation mechanism but it is not documented at all. The magic
value dramatically reduced number of interrupts without noticeable
performance drops so apply it to all RTL8169/RTL8169 controllers.
Vendor's FreeBSD driver also applies it to RTL810xE controllers but
their Linux driver explicitly cleared the register, so do not
enable interrupt moderation for RTL810xE controllers.

While I'm here sort 8169 specific registers.

Obtained from: RealTek FreeBSD driver

13 years agoRemove support for autoloading ACPI from the loader. Leave in the code to
John Baldwin [Mon, 8 Nov 2010 21:50:45 +0000 (21:50 +0000)]
Remove support for autoloading ACPI from the loader.  Leave in the code to
detect ACPI and export info such as the location of the RSDP via hints as
that is still useful.

13 years agoRecognize the BCM5482S.
Juli Mallett [Mon, 8 Nov 2010 21:23:28 +0000 (21:23 +0000)]
Recognize the BCM5482S.

13 years agoo) Recognize the Lanner MR-730.
Juli Mallett [Mon, 8 Nov 2010 21:22:55 +0000 (21:22 +0000)]
o) Recognize the Lanner MR-730.
o) Fix enumeration of PHY addresses on the MR-955.
o) Parse link state for the MR-730 using the Broadcom PHY support in the SDK.
   It's not clear that this is entirely-correct, but it seems to work.  Since
   this board uses a BCM5482S, this may mean that we work correctly for copper
   but not SFI, which is untested.

13 years agoWhitespace and other aspects of style(9). No functional changes.
Matthew D Fleming [Mon, 8 Nov 2010 20:57:08 +0000 (20:57 +0000)]
Whitespace and other aspects of style(9).  No functional changes.

MFC after:  3 days

13 years agoMove the MADT parser for amd64 and i386 to sys/x86/acpica now that it is
John Baldwin [Mon, 8 Nov 2010 20:57:02 +0000 (20:57 +0000)]
Move the MADT parser for amd64 and i386 to sys/x86/acpica now that it is
identical on both platforms.

13 years agoAdd a taskqueue_cancel(9) to cancel a pending task without waiting for
Matthew D Fleming [Mon, 8 Nov 2010 20:56:31 +0000 (20:56 +0000)]
Add a taskqueue_cancel(9) to cancel a pending task without waiting for
it to run as taskqueue_drain(9) does.

Requested by: hselasky
Original code: jeff
Reviewed by: jhb
MFC after: 2 weeks

13 years agoDon't mention 'device acpi' or loading ACPI as a kernel module since the
John Baldwin [Mon, 8 Nov 2010 20:44:11 +0000 (20:44 +0000)]
Don't mention 'device acpi' or loading ACPI as a kernel module since the
latter is not supported.  This is also more consistent with manpages for
other vendor-specific drivers such as acpi_ibm(4) and acpi_sony(4).

13 years agoSync the APIC startup sequence with amd64:
John Baldwin [Mon, 8 Nov 2010 20:35:09 +0000 (20:35 +0000)]
Sync the APIC startup sequence with amd64:
- Register APIC enumerators at SI_SUB_TUNABLES - 1 instead of SI_SUB_CPU - 1.
- Probe CPUs at SI_SUB_TUNABLES - 1.  This allows i386 to set a truly
  accurate mp_maxid value rather than always setting it to MAXCPU - 1.

13 years agoRemove stub symbols for APIC-related functions when 'device apic' is not
John Baldwin [Mon, 8 Nov 2010 20:32:35 +0000 (20:32 +0000)]
Remove stub symbols for APIC-related functions when 'device apic' is not
included in a kernel config.  These stubs had existed previously so that
acpi.ko could always include the MADT parsing code and still link with a
kernel that did not include 'device apic'.

13 years agoDisconnect acpi.ko from the build on i386. ACPI is now only supported when
John Baldwin [Mon, 8 Nov 2010 20:30:59 +0000 (20:30 +0000)]
Disconnect acpi.ko from the build on i386.  ACPI is now only supported when
compiled into the kernel, not as a loadable module.

13 years agoA few small style and whitespace fixes.
John Baldwin [Mon, 8 Nov 2010 20:05:22 +0000 (20:05 +0000)]
A few small style and whitespace fixes.

13 years agoOnly dump the values of the PMC and CMCI local vector table entries on a
John Baldwin [Mon, 8 Nov 2010 20:03:51 +0000 (20:03 +0000)]
Only dump the values of the PMC and CMCI local vector table entries on a
local APIC if those LVT entries are valid.  This quiets spurious illegal
register local APIC errors during boot on a CPU that doesn't support those
vectors.

MFC after: 1 week

13 years agoProvide support for IIC_M_NOSTOP/IIC_M_NOSTART for bit-banging and
Nathan Whitehorn [Mon, 8 Nov 2010 19:53:16 +0000 (19:53 +0000)]
Provide support for IIC_M_NOSTOP/IIC_M_NOSTART for bit-banging and
otherwise low-level controllers.

Reviewed by: thompsa

13 years agoConsistently use padding `_' in the comment.
Jung-uk Kim [Mon, 8 Nov 2010 19:52:14 +0000 (19:52 +0000)]
Consistently use padding `_' in the comment.

13 years agoReduce spin wait time consumed in GMII register access routine.
Pyun YongHyeon [Mon, 8 Nov 2010 19:15:31 +0000 (19:15 +0000)]
Reduce spin wait time consumed in GMII register access routine.
There were a couple of attempts in the past to reduce it since it
took more than 1ms. Because mii_tick() periodically polls link
status, waiting more than 1ms for each GMII register access was
overkill. Unfortunately all previous attempts were failed with
various ways on different controllers.
This time, add additional 20us dealy at the end of GMII register
access which seems to requirement of all RealTek controllers to
issue next GMII register access request. This is the same way what
Linux does.

13 years agoBack out r214961 for skeleton.c -- it broke the groff build.
David E. O'Brien [Mon, 8 Nov 2010 19:00:22 +0000 (19:00 +0000)]
Back out r214961 for skeleton.c -- it broke the groff build.

13 years agoWhen requesting sense data for SIM not doing it automatically (such as
Alexander Motin [Mon, 8 Nov 2010 15:59:41 +0000 (15:59 +0000)]
When requesting sense data for SIM not doing it automatically (such as
ATAPI or USB), request only as much data as requested by consumer.
On the way back -- report how much sense data we have actually received.

13 years agoTeach ahci(4), siis(4) and ATA_CAM ata(4) wrapper report to CAM residual
Alexander Motin [Mon, 8 Nov 2010 15:36:15 +0000 (15:36 +0000)]
Teach ahci(4), siis(4) and ATA_CAM ata(4) wrapper report to CAM residual
I/O length on underruns, that often happens for some SCSI commands.

13 years agoOn APs startup skip hard-/statclock events, which time passed before CPU
Alexander Motin [Mon, 8 Nov 2010 15:25:12 +0000 (15:25 +0000)]
On APs startup skip hard-/statclock events, which time passed before CPU
was lauched. Few seconds event burst, accumulated during long startup,
reported to cause panic in SCHED_ULE priority calculation logic.

13 years agoBreak long line.
Dag-Erling Smørgrav [Mon, 8 Nov 2010 15:14:14 +0000 (15:14 +0000)]
Break long line.

13 years agoFix CPU ID in /proc/cpuinfo.
Dag-Erling Smørgrav [Mon, 8 Nov 2010 12:04:41 +0000 (12:04 +0000)]
Fix CPU ID in /proc/cpuinfo.

PR: kern/56451
Submitted by: arundel@
MFC after: 3 weeks

13 years agoVendor import of OpenSSH 5.6p1
Dag-Erling Smørgrav [Mon, 8 Nov 2010 10:45:44 +0000 (10:45 +0000)]
Vendor import of OpenSSH 5.6p1

13 years agoAdd/expand country/state.
Ruslan Ermilov [Mon, 8 Nov 2010 09:50:47 +0000 (09:50 +0000)]
Add/expand country/state.

13 years agoA traditional (once per three years) sort by month/day/year/login.
Ruslan Ermilov [Mon, 8 Nov 2010 09:26:56 +0000 (09:26 +0000)]
A traditional (once per three years) sort by month/day/year/login.
While here, fixed badly formatted lines.

13 years agoIntel IXP425 SoC is based on the ARMv5TE architecture
Kevin Lo [Mon, 8 Nov 2010 07:54:24 +0000 (07:54 +0000)]
Intel IXP425 SoC is based on the ARMv5TE architecture

MFC after: 3 days

13 years agoSet the pin to output on attach, we can't assume it already is.
Andrew Thompson [Mon, 8 Nov 2010 03:08:01 +0000 (03:08 +0000)]
Set the pin to output on attach, we can't assume it already is.

Reviewed by: gonzo

13 years agoUse shorten model name instead of showing all controller model
Pyun YongHyeon [Mon, 8 Nov 2010 01:15:42 +0000 (01:15 +0000)]
Use shorten model name instead of showing all controller model
numbers. bge(4) supports too many models such that it's
unreasonable to list all these controllers in one line description
of name. While I'm here mention that BCM590x/BCM5779x is Fast
Ethernet controller.
bge(4) still lacks support for some controllers but supporting
these controllers should be easy now and adding new controllers
do not require touching .Nd any more.

Obtained from: OpenBSD

13 years ago- Provide more registers for GDB
Oleksandr Tymoshenko [Mon, 8 Nov 2010 00:26:49 +0000 (00:26 +0000)]
- Provide more registers for GDB

13 years agoAdd '-y' for bison compatibility.
David E. O'Brien [Sun, 7 Nov 2010 23:44:40 +0000 (23:44 +0000)]
Add '-y' for bison compatibility.

Obtained from: http://invisible-island.net

13 years agoInherit WARNS from parent directory.
David E. O'Brien [Sun, 7 Nov 2010 23:34:05 +0000 (23:34 +0000)]
Inherit WARNS from parent directory.

Submitted by: marius

13 years agoFix cross-debugger build
Oleksandr Tymoshenko [Sun, 7 Nov 2010 23:23:48 +0000 (23:23 +0000)]
Fix cross-debugger build

13 years agoDirectly use memory allocation functions and remove needless casts in
David E. O'Brien [Sun, 7 Nov 2010 23:22:42 +0000 (23:22 +0000)]
Directly use memory allocation functions and remove needless casts in
their usage.  Also use associated modern types instead of k&r ones.

13 years agoFix initialization order:_initialize_svr4_solib should
Oleksandr Tymoshenko [Sun, 7 Nov 2010 23:22:22 +0000 (23:22 +0000)]
Fix initialization order:_initialize_svr4_solib should
be called before _initialize_thread_db

13 years agoChange to ANSI-C function definitions.
David E. O'Brien [Sun, 7 Nov 2010 22:51:54 +0000 (22:51 +0000)]
Change to ANSI-C function definitions.

13 years ago- Set -x flag when executing customisation scripts to aid in debugging them.
Nick Hibma [Sun, 7 Nov 2010 21:57:57 +0000 (21:57 +0000)]
- Set -x flag when executing customisation scripts to aid in debugging them.
- Use KERNCONFDIR with KERNCONF instead of copying the kernel config into the source tree
  so included kernel configs work.
- Put more stuff in the _.bk/_.ik log file, not just make statements.
- Add the kernel config name to the pprint during kernel installation.
- Add NANO_MODULES providing a list of modules to build and install.

Reviewed by: imp
MFC after: 2 weeks

13 years agoDon't call pmap_demote_DMAP() on MTRR entries from the BIOS that are marked
Alan Cox [Sun, 7 Nov 2010 21:48:49 +0000 (21:48 +0000)]
Don't call pmap_demote_DMAP() on MTRR entries from the BIOS that are marked
as "bogus".

Reported by: Jia-Shiun Li

13 years agoIn case the stack size reaches its limit and its growth must be restricted,
Alan Cox [Sun, 7 Nov 2010 21:40:34 +0000 (21:40 +0000)]
In case the stack size reaches its limit and its growth must be restricted,
ensure that grow_amount is a multiple of the page size.  Otherwise, the
kernel may crash in swap_reserve_by_uid() on HEAD and FreeBSD 8.x, and
produce a core file with a missing stack on FreeBSD 7.x.

Diagnosed and reported by: jilles
Reviewed by: kib
MFC after: 1 week

13 years ago- Use proper constant for accessing PCB intead of hardcoded numbers
Oleksandr Tymoshenko [Sun, 7 Nov 2010 20:56:41 +0000 (20:56 +0000)]
- Use proper constant for accessing PCB intead of hardcoded numbers
- Minor clean-up

13 years agoLink threads support to the build
Oleksandr Tymoshenko [Sun, 7 Nov 2010 20:53:19 +0000 (20:53 +0000)]
Link threads support to the build

13 years agoPrevent endless loop by detecting broken MIPS.options
Oleksandr Tymoshenko [Sun, 7 Nov 2010 20:44:46 +0000 (20:44 +0000)]
Prevent endless loop by detecting broken MIPS.options

13 years agoChange register numbers according to current struct reg and
Oleksandr Tymoshenko [Sun, 7 Nov 2010 20:40:00 +0000 (20:40 +0000)]
Change register numbers according to current struct reg and
struct fpreg in src/sys/mips/include/reg.h

13 years agoRemove line for the uncommitted Cambria gpio drive that snuck in with r214946.
Andrew Thompson [Sun, 7 Nov 2010 20:38:14 +0000 (20:38 +0000)]
Remove line for the uncommitted Cambria gpio drive that snuck in with r214946.

13 years agoCalculate offset from frame top for registers saved on a stack frame.
Oleksandr Tymoshenko [Sun, 7 Nov 2010 20:37:25 +0000 (20:37 +0000)]
Calculate offset from frame top for registers saved on a stack frame.

13 years agoHook up the five gpio pins on the Avila board to the gpio framework. There are
Andrew Thompson [Sun, 7 Nov 2010 20:33:39 +0000 (20:33 +0000)]
Hook up the five gpio pins on the Avila board to the gpio framework. There are
actually 16 I/O lines but the other ones are used for system devices and
interrupts.

The IXP4XX platform can set interrupts on these pins for
high/low/rising/falling/transitional but this is not implemented yet.

The Cambria has the same interface but as all the pins are assigned to system
functions the gpio header is toggled via a PLD on the i2c bus and is not
supported by this commit.

13 years agoAdd gpart and glabel to the release CD mfsroot.
Marius Strobl [Sun, 7 Nov 2010 19:23:25 +0000 (19:23 +0000)]
Add gpart and glabel to the release CD mfsroot.

13 years agoDo not have the MTU table twice in the code. Therefore move the
Michael Tuexen [Sun, 7 Nov 2010 18:50:35 +0000 (18:50 +0000)]
Do not have the MTU table twice in the code. Therefore move the
function from the timer code to util, rename it appropriately and
also fix a bug in sctp_get_prev_mtu(), where calling it with a
value existing in the MTU table did not return a smaller one.

MFC after: 3 days.