123132 Commits

Author SHA1 Message Date
jhb
e4a24213c9 MFC: After probing the available frequency settings, restore the CPU to run
at whatever frequency it started at.
2008-06-27 00:56:36 +00:00
ale
13c34b0782 MFC r179989: Fix links to online gcc docs. 2008-06-26 05:46:11 +00:00
peter
6dffd9faf1 Move mergeinfo up from file to directory 2008-06-25 09:29:46 +00:00
peter
265d2f74d1 Move mergeinfo up from file to containing directory 2008-06-25 09:24:35 +00:00
peter
64086948d3 Move mergeinfo up to containing directory. 2008-06-25 09:09:13 +00:00
peter
70d1aa645b Promote mergeinfo from ciss.c to the containing directory. 2008-06-25 08:58:35 +00:00
peter
7f7cdb51cb Move mergeinfo up to containing directory. 2008-06-25 08:47:36 +00:00
jhb
caaf25035e MFC: Add 'compat_freebsd[45]' features corresponding to the kernel options
COMPAT_FREEBSD[45].
2008-06-24 21:08:30 +00:00
jhb
b519820438 MFC: Add the kern.features sysctl tree and FEATURE() macro. Add a "pae"
feature for PAE kernels on i386.
2008-06-24 20:40:17 +00:00
jhb
abca8e887f MFC: Change the roundrobin implementation in the 4BSD scheduler to trigger a
userland preemption directly from hardclock() via sched_clock().
2008-06-24 19:55:22 +00:00
danger
dae9313ef7 - MFC rev 179903: link powerd(8) man page
PR:		docs/123111
2008-06-23 08:06:55 +00:00
danger
5ed5c712d0 MFC: Do not claim that ipfw is the only firewall package available
in FreeBSD.

PR:		docs/106315
2008-06-20 22:52:33 +00:00
joerg
a64150143b MFC: more intelligent handling of /usr/ports subdirectories. 2008-06-20 08:49:58 +00:00
scf
47f4c8d4a4 MFC revisions: 179654
Fixed the output grammar to properly speak non-terminal dits.

Updated Lyndon Nerenberg's radio callsign and E-mail address.

PR:		bin/7868
Submitted by:	Lyndon Nerenberg <lyndon@orthanc.ca>
2008-06-19 23:40:25 +00:00
yongari
45275caaf5 MFC: r179647
Ethernet hardware address stored in DC_AL_PAR0/DC_AL_PAR1 register
is in little endian form. Likewise setting DC_AL_PAR0/DC_AL_PAR1
register expect the address to be in little endian form. For big
endian architectures the address should be swapped to get correct
one.
Change setting/getting ethernet hardware address to big endian
architecture frendly.

Reported by:    Robert Murillo ( billypilgrim782001 at yahoo dot com )
Tested by:      Robert Murillo ( billypilgrim782001 at yahoo dot com )
2008-06-19 03:37:40 +00:00
remko
0400c0376c MFC rev 179460 Makefile
Dont install .svn metadata with the sendmail install.

  Submitted by:   marcel
  Approved by:    imp (mentor, implicit)
  MFC after:      3 days

Approved by:	imp (mentor, implicit)
2008-06-17 19:15:38 +00:00
remko
3d61931553 MFC rev 179355 and 179848 shar.sh
r179355

  Limit the EOF marker length to a maximum of 79 characters. [1]

  Add $FreeBSD$ tag so that I can actually commit this.

  PR:             bin/118782
  Reported by:    Bjoern Koenig
  Patch by:       edwin, Jaakko Heinonen (not used patch)
  MFC after:      1 week
  Approved by:    imp (mentor, implicit)

r179848:
  Remove superfluous eofmarker.

  Requested by:   Jaakko Heinonen
  Discussed with: Jaakko, edwin
2008-06-17 19:10:38 +00:00
ambrisko
344cc98a7b MFC: All changes in current/7 minus cam
- Native 32bit compat modes for amd64
     - Limit max commands to 128
     - Add in compat mode for using mfi0 to talk to any card
2008-06-17 17:04:38 +00:00
flz
59013eaaaa MFC: remove 4.x support (r179835) 2008-06-17 10:48:46 +00:00
obrien
893eb1bdfd MFC rev 1.126 / r165854: Declare the map entry created by kmem_init() for
the range from VM_MIN_KERNEL_ADDRESS to the end of the kernel's bootstrap
data as MAP_NOFAULT.
2008-06-16 16:23:09 +00:00
flz
cbc1e699c4 MFC: style fixes (naked commands, r179819) 2008-06-16 09:17:46 +00:00
flz
57ceb55b3d Synchronize pkg_install with HEAD (20080612)
r179760: fix recursive -K (add), '\n' not part of pkg origin (updating)
2008-06-16 09:03:57 +00:00
fjoe
4be5a65b0a Bump __FreeBSD_version to 603104 for make(1) :u var modifier. 2008-06-15 20:26:09 +00:00
fjoe
a01c254e22 MFC: :u (unique) var modifier
Requested by:	kris
2008-06-13 06:54:28 +00:00
kientzle
ff1f4469f9 MFC 177341: Decrement matched patterns so that --extract-fast works. 2008-06-12 06:20:49 +00:00
marius
29ec7f29c6 MFC: r178589
- Use the revamped code from the gem(4) PCI front-end, which
  doesn't require parts of the Expansion ROM to be copied around,
  for obtaining the MAC address on !OFW platforms.
- Don't unnecessarily cache bus space tag and handle nor RIDs
  in the softcs of the front-ends.
- Don't use function calls in initializers.
- Let the SBus front-end depend on sbus(4).
2008-06-11 20:58:53 +00:00
marius
66961c20b8 Revert the part of r179728 which switched from m_defrag(9) to
m_collapse(9) as the latter doesn't exist in FreeBSD 6.
2008-06-11 20:38:06 +00:00
marius
37e1f78fb7 MFC: r178470
o Disable HMEDEBUG by default.
o Add CTASSERTs ensuring that HME_NRXDESC and HME_NTXDESC are set to
  legal values.
o Use appropriate maxsize, nsegments and maxsegsize parameters when
  creating DMA tags and correct some comments related to them.
o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite
  some time now so collapse calls accordingly.
o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in
  hme_rint() and hme_start_locked().
o Keep state of the link state and use it to enable or disable the MAC
  in hme_mii_statchg() accordingly as well as to return early from
  hme_start_locked() in case the link is down.
o Introduce a sc_flags and use it to replace individual members like
  sc_pci.
o Add bus_barrier(9) calls to hme_mac_bitflip(), hme_mii_readreg(),
  hme_mii_writereg() and hme_stop() to ensure the respective bit
  has been written before we starting polling on it and for the right
  bits to change.
o Rather just returning in case hme_mac_bitflip() fails and leaving us
  in an undefined state report the problem and move on; chances are
  the requested configuration will become active shortly after.
o Don't call hme_start_locked() in hme_init_locked() unconditionally
  but only after calls to hme_init_locked() when it's appropriate, i.e.
  in hme_watchdog().
o Add a KASSERT which asserts nsegs is valid also to hme_load_txmbuf().
o In hme_load_txmbuf():
  - use a maximum of the newly introduced HME_NTXSEGS segments instead
    of the incorrect HME_NTXQ, which reflects the maximum TX queue
    length, for loading the mbufs and put the DMA segments back onto
    the stack instead of the softc as 16 should be ok there.
  - use the common errno(2) return values instead of homegrown ones,
  - given that hme_load_txmbuf() is allowed to fail resulting in a
    packet drop for quite some time now implement the functionality of
    hme_txcksum() by means of m_pullup(9), which de-obfuscates the code
    and allows to always retrieve the correct length of the IP header, [1]
  - also add a KASSERT which asserts nsegs is valid,
  - take advantage of m_collapse(9) instead of m_defrag(9) for
    performance reasons.
o Don't bother to check whether the interface is running or whether its
  queue is empty before calling hme_start_locked() in hme_tint(), the
  former will check these anyway.
o In hme_intr() call hme_rint() before hme_tint() as gem_tint() may
  take quite a while to return when it calls hme_start_locked().
o Get rid of sc_debug and just check if_flags for IFF_DEBUG directly.
o Add a shadow sc_ifflags so we don't reset the chip when unnecessary.
o Handle IFF_ALLMULTI correctly. [2]
o Use PCIR_BAR instead of a homegrown macro.
o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN].
o Use the maximum of 256 TX descriptors for better performance as using
  all of them has no additional static cost rather than using just half
  of them.

Reported by:	rwatson [2]
Suggested by:	yongari [1]
Reviewed by:	yongari
2008-06-11 19:49:10 +00:00
ps
15b44aa21e MFC: r179705
Add support for the P212, P410, P410i, P411, and P812 HP Smart Array
controllers.
2008-06-10 18:31:19 +00:00
flz
dc58ca5a99 Synchronize pkg_install with HEAD (20080530)
r179352,179366: don't regenerate packages
    r179433: add long options
2008-06-10 09:56:11 +00:00
jkim
b48e5c9549 MFC: r179497
Fix a crash when Arctic Ocean is selected.
2008-06-09 18:45:21 +00:00
dfr
be13bfa938 MFC: r179510 - nlm_global_lock doesn't exist (yet)
Pointed out by: kib
2008-06-09 12:11:27 +00:00
dfr
fe39afdc15 MFC: r179489 - add a missing call to init_nsm(). 2008-06-09 10:55:59 +00:00
dfr
f604505964 MFC: r179488 - check for client reboot before executing the lock request 2008-06-09 10:52:43 +00:00
dwmalone
d6bcba4a25 MFC: Sync restore with the version in -current.
Fix remaining nits from PR bin/39905.
Check for write failure while building temp files.
Correctly set file group when restore is run by a user other than root.
Use safer string handling.
Fixes the "getfile: lost data" panic when restoring older dumps.
Fix spurious "Header with wrong dumpdate" message.
Add -D for degraded mode, which tries harder to read corrupted backups.
Remove a diagnostic message from man page that is no longer printed.
2008-06-09 07:53:16 +00:00
thompsa
ed4918a6ec MFC r174749, r175396, r175419, r175432
- Simplify the error handling
 - Nuke licence clause 3 & 4
 - Drop frames to any of the reserved multicast addresses
 - Remove duplicated code for testing local packets.
2008-06-06 21:57:28 +00:00
dfr
b7bfe99af5 MFC: r179358,179434 - make libc's fcntl symbol weak and extend the limited
forward ABI compatibility for fcntl to the thread libraries.
2008-06-06 09:13:43 +00:00
dfr
0c75d27f8e MFC: r179425 - cope better when client NLM port changes 2008-06-06 08:54:51 +00:00
brooks
65bac2d512 MFC r179024: Change a use of u_int32_t to uint32_t.
PR:		bin/93172
2008-06-05 22:35:58 +00:00
philip
ac2db70bea MFC: Recode the colemak keymap to ISO-8859. 2008-06-05 10:53:01 +00:00
rafan
e015cfd38d - Associate myself with ncurses 2008-06-04 07:37:56 +00:00
dougb
0178e63989 This file should define HAVE_MEMMOVE and HAVE_MEMCHR, but for some
reason configure did not pick it up. Add them here in the same way
that it's done when running configure for the port. All of the
other generated files are functionally equivalent to how they
look when generated by the port.
2008-06-03 21:26:37 +00:00
jhb
d97e0b1132 Restore the global cp_time[] array that was removed when the per-CPU stats
were MFC'd.  This restores the ABI and allows some tools like vmstat to
work on crash dumps again.
2008-06-03 18:51:53 +00:00
flz
2949c8d4ac MFC: distfile target, pkg registration optimization
r178032,179377,179520: add distfile target
    r178103,178753-178754: optimize package registration
2008-06-03 15:02:04 +00:00
philip
a19d0681ee MFC: Add support for the Colemak keyboard layout from: http://colemak.com/.
Submitted by:	Geert Hendrickx <ghen -at- netbsd.org>
2008-06-03 10:55:22 +00:00
dougb
58a5db2309 MFC the change from version 1.189, add a space between a
close quote and the closing bracket of a test.
2008-06-03 06:02:27 +00:00
dougb
914a418e4e Changes to generated files related to the 9.3.5 update. 2008-06-03 05:43:27 +00:00
dougb
d7e3a07bff MFC versions 1.11 and 1.12, bmake glue updates that are also
relevant to BIND 9.3.5.
2008-06-03 05:40:47 +00:00
dougb
e346e2bfe5 Update to version 9.3.5. It contains the latest bug fixes, updates
to root server addresses, and a fix for the vulnerability mentioned
here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0122

Users of BIND 9.3.x are strongly encouraged to upgrade to this
version. Also, the 9.3.x branch is now in maintenance-only mode.
Users are encouraged to investigate BIND 9.4.x or perhaps 9.5.x.

http://www.isc.org/index.pl?/sw/bind/versions_and_support.php

This udpate is being done by updating the files directly in this
branch rather than an import + MFC because BIND in HEAD is 9.4.x.
2008-06-03 05:38:10 +00:00
dougb
edb96f39fd Add proper mime-types for files that they are relevant for.
This is useful for things like *.pdf files that svn needs
to know about, and will probably be useful down the road
for other things.
2008-06-02 20:54:45 +00:00