]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
14 years agoInclude opt_cputype.h for all .c and .S files referencing TARGET_OCTEON.
imp [Tue, 24 Nov 2009 16:32:31 +0000 (16:32 +0000)]
Include opt_cputype.h for all .c and .S files referencing TARGET_OCTEON.
Spell ld script name right.

# for the most part, we need to enhance infrastructure to obviate the need
# for such an intrusive option.

14 years agoRemove a comment that's bogus.
imp [Tue, 24 Nov 2009 16:30:29 +0000 (16:30 +0000)]
Remove a comment that's bogus.
Include opt_cputype.h since TARGET_OCTEON moved there.

14 years agoMake sure kstack0 is page aligned.
imp [Tue, 24 Nov 2009 16:29:23 +0000 (16:29 +0000)]
Make sure kstack0 is page aligned.

# this may have been from neel@ for the sibyte stuff

14 years agoGet rid of redundant .kernel in these names.
imp [Tue, 24 Nov 2009 14:57:50 +0000 (14:57 +0000)]
Get rid of redundant .kernel in these names.

14 years agoMove the hard-wiring of the dcache on octeon outside of the if
imp [Tue, 24 Nov 2009 08:35:11 +0000 (08:35 +0000)]
Move the hard-wiring of the dcache on octeon outside of the if
statement.  When no caches support was added, it looks like
TARGET_OCTEON was bogusly moved inside the if.  Also, include
opt_cputype.h to make TARGET_OCTEON actually active.

# now we die in pmap init somewhere...  Most likely because 32MB of RAM is
# too tight given the load address we're using.

14 years agoTARGET_OCTEON reqiures opt_cputype.h.
imp [Tue, 24 Nov 2009 08:21:48 +0000 (08:21 +0000)]
TARGET_OCTEON reqiures opt_cputype.h.

14 years agoremove bogus panic.
imp [Tue, 24 Nov 2009 08:21:23 +0000 (08:21 +0000)]
remove bogus panic.
Don't use fortran style line control.

14 years agoRewrite to try to be more sane:
imp [Tue, 24 Nov 2009 07:50:19 +0000 (07:50 +0000)]
Rewrite to try to be more sane:
o Introduce a uart bus space so that we don't have to hack dev/uart to do 8
  byte reads.  This also handles the shift properly, so reset the shift we
  want dev/uart doing to 0.  In effect, this bus space makes the octeon
  registers have an interface to dev/uart that looks just like the old ISA
  bus, but does the necessary 64-bit read/write to the bus.  We only support
  read/write operations.  We do all the widths, but likely could get away
  with only 64-bit and 8-bit given the restricted nature of use of this bus.
o use bus_space_map to set the .bsh rather than a direct assignment.
o Minor cleanup of uart_cpu_getdev to make it conform more to the other
  implementations.
o Add some coments for future work.

# with these changes, we now make it through cninit, but there's still some
# problem that's preventing output, as well as another problem that causes
# us to call panic just after we return from cninit() in platform_start.

14 years agoAdd size of octeon uart registers to map.
imp [Tue, 24 Nov 2009 07:41:15 +0000 (07:41 +0000)]
Add size of octeon uart registers to map.

14 years agoPrefer ANSI spellings of uintXX_t, etc.
imp [Tue, 24 Nov 2009 07:40:38 +0000 (07:40 +0000)]
Prefer ANSI spellings of uintXX_t, etc.

14 years agoSpecify loader script and load address
imp [Mon, 23 Nov 2009 07:49:50 +0000 (07:49 +0000)]
Specify loader script and load address

14 years agoStart linking at the kernel link address....
imp [Mon, 23 Nov 2009 07:49:22 +0000 (07:49 +0000)]
Start linking at the kernel link address....

# this gets me a loading, but not working, kernel on octeon's simulator.

14 years agoLinker scripts for octeon1 kernels of various flavors.
imp [Mon, 23 Nov 2009 07:11:10 +0000 (07:11 +0000)]
Linker scripts for octeon1 kernels of various flavors.

14 years agoAnother kludge for 64-bit bus_addr_t with 32-bit pointers...
imp [Fri, 20 Nov 2009 16:32:26 +0000 (16:32 +0000)]
Another kludge for 64-bit bus_addr_t with 32-bit pointers...

14 years agoHorrible kludge to make octeon32 work. I think a better way is to
imp [Fri, 20 Nov 2009 16:30:35 +0000 (16:30 +0000)]
Horrible kludge to make octeon32 work.  I think a better way is to
move the generic code into the config files....

14 years agocast vaddr to uintptr_t before casting it to a bus_space_handle_t.
imp [Fri, 20 Nov 2009 16:27:50 +0000 (16:27 +0000)]
cast vaddr to uintptr_t before casting it to a bus_space_handle_t.

# I'm sure this indicates a problem, but I'm not sure what...

14 years ago32-bit mixed-mode OCTEON kernel config file.
imp [Fri, 20 Nov 2009 16:23:04 +0000 (16:23 +0000)]
32-bit mixed-mode OCTEON kernel config file.

14 years agoIf we're ompiling ISA_MIPS32, then use the 32-bit address-size
imp [Fri, 20 Nov 2009 15:59:41 +0000 (15:59 +0000)]
If we're ompiling ISA_MIPS32, then use the 32-bit address-size
definitions.

14 years agoDon't assume register addresses can fit into void *. Minor formatting
imp [Fri, 20 Nov 2009 15:57:45 +0000 (15:57 +0000)]
Don't assume register addresses can fit into void *.  Minor formatting
simplification while I'm here.

14 years agoFormatting nit.
imp [Fri, 20 Nov 2009 15:56:51 +0000 (15:56 +0000)]
Formatting nit.

14 years ago- Add intr counters for APB interrupts
gonzo [Wed, 18 Nov 2009 22:53:05 +0000 (22:53 +0000)]
- Add intr counters for APB interrupts

14 years ago- Add cpu_init_interrupts function that is supposed to
gonzo [Wed, 18 Nov 2009 22:52:05 +0000 (22:52 +0000)]
- Add cpu_init_interrupts function that is supposed to
    prepeare stuff required for spinning out interrupts later
- Add API for managing intrcnt/intrnames arrays
- Some minor style(9) fixes

14 years ago- Code reorg: extract mx25l_read and mx25l_write methods
gonzo [Wed, 18 Nov 2009 22:14:36 +0000 (22:14 +0000)]
- Code reorg: extract mx25l_read and mx25l_write methods
- Add entry for Spansion flash controller
    Submitted by: Eric L. Chen <lihong@ieee.org>

14 years agoMake pmap_copy_page() L2-cache friendly by doing the copy through the
neel [Fri, 13 Nov 2009 09:24:09 +0000 (09:24 +0000)]
Make pmap_copy_page() L2-cache friendly by doing the copy through the
cacheable window on physical memory (KSEG0). On the Sibyte processor
going through the uncacheable window (KSEG1) bypasses both L1 and L2
caches so we may end up with stale contents in the L2 cache.

This also makes it consistent with the rest of the function that
uses cacheable mappings to copy pages.

Approved by: imp (mentor)

14 years ago- Reorganize hints according to if_arge changes: set media
gonzo [Thu, 12 Nov 2009 21:33:36 +0000 (21:33 +0000)]
- Reorganize hints according to if_arge changes: set media
    for multiPHY MAC and use mask to specify PHYs.

14 years ago- Handle multiphy MAC case: create interface with
gonzo [Thu, 12 Nov 2009 21:27:58 +0000 (21:27 +0000)]
- Handle multiphy MAC case: create interface with
    fixed-state media with parameters set via hints
    and configure MAC accordingly to these parameters.
    All the underlying PHY magic is done by boot manager
    on startup. At the moment there is no proper way
    to make active and control all PHYs simultaneously
    from one MII bus and there is no way to associate
    incoming/outgoing packet with specific PHY.

14 years ago- include register definitions for respective controllers
gonzo [Thu, 12 Nov 2009 20:48:04 +0000 (20:48 +0000)]
- include register definitions for respective controllers

14 years agoMFC @199204
gonzo [Thu, 12 Nov 2009 00:36:22 +0000 (00:36 +0000)]
MFC @199204

14 years agoMy NFS configured version.
rrs [Wed, 11 Nov 2009 22:37:17 +0000 (22:37 +0000)]
My NFS configured version.

14 years agoOk set in the values in clock 7 as in the
rrs [Wed, 11 Nov 2009 22:36:19 +0000 (22:36 +0000)]
Ok set in the values in clock 7 as in the
original codes (I had changed one by accident)
Also do the pic_ack/pic_delayed_ack after the interrupt
so we clear it. The clock with these changes starts working.
Its off doing a short/long short/long warning but it
now runs.

My NFS mount now works but has the same problem with
sbin/init (errno 8 ENOEXEC) so it panics with no init.

Either this is a problem with my buildworld.. OR its a
yet undiscovered RMI issue.

14 years agoAdd interface description capability as inspired by OpenBSD.
delphij [Wed, 11 Nov 2009 21:30:58 +0000 (21:30 +0000)]
Add interface description capability as inspired by OpenBSD.

MFC after: 3 months

14 years agoMore consistent whitespace.
jhb [Wed, 11 Nov 2009 20:29:40 +0000 (20:29 +0000)]
More consistent whitespace.

14 years agoUse a dedicated callout to drive the transmit watchdog timer instead of
jhb [Wed, 11 Nov 2009 20:27:53 +0000 (20:27 +0000)]
Use a dedicated callout to drive the transmit watchdog timer instead of
using if_watchdog and if_timer.

Tested by: gavin

14 years ago- Remove trailing ";" after if statement
antoine [Wed, 11 Nov 2009 19:39:45 +0000 (19:39 +0000)]
- Remove trailing ";" after if statement
- Remove #if 0 section that was never needed/used

Reviewed by: raj@
MFC after: 1 month

14 years agoWith an i386 kernel the igb driver can cause a
jfv [Wed, 11 Nov 2009 19:13:40 +0000 (19:13 +0000)]
With an i386 kernel the igb driver can cause a
page fault panic on initialization due to a large
number of bounce pages being allocated. This is due
to the dma tag requiring page alignment on mbuf mapping.
This was removed some time back from the ixgbe driver
and is not needed here either.

14 years agoSynchronize with C.msg revision 199083 and improve some existing messages.
rene [Wed, 11 Nov 2009 18:28:12 +0000 (18:28 +0000)]
Synchronize with C.msg revision 199083 and improve some existing messages.

Reviewed by: remko
Approved by: remko

14 years agoCreate verifier used by FreeBSD NFS client is suboptimal because the
jh [Wed, 11 Nov 2009 15:43:07 +0000 (15:43 +0000)]
Create verifier used by FreeBSD NFS client is suboptimal because the
first part of a verifier is set to the first IP address from
V_in_ifaddrhead list. This address is typically the loopback address
making the first part of the verifier practically non-unique. The second
part of the verifier is initialized to zero making its initial value
non-unique too.

This commit changes the strategy for create verifier initialization:
just initialize it to a random value. Also move verifier handling into
its own function and use a mutex to protect the variable.

This change is a candidate for porting to sys/nfsclient.

Reviewed by: jhb, rmacklem
Approved by: trasz (mentor)

14 years agoANSIfy.
ume [Wed, 11 Nov 2009 15:21:06 +0000 (15:21 +0000)]
ANSIfy.

MFC after: 1 week

14 years agoRemove trailing ";" in struct ieee80211_beacon_offsets declaration
antoine [Wed, 11 Nov 2009 15:00:56 +0000 (15:00 +0000)]
Remove trailing ";" in struct ieee80211_beacon_offsets declaration

Found by: phk's FlexeLint in September
Reviewed by: rpaulo@
MFC after: 1 month

14 years agoFix off by one in ieee80211_send_action_register
antoine [Wed, 11 Nov 2009 14:58:48 +0000 (14:58 +0000)]
Fix off by one in ieee80211_send_action_register

Found by: phk's FlexeLint in September
Reviewed by: rpaulo@
MFC after: 1 month

14 years agoreflect that pg_ps_enabled is a tunable, not just a read-only sysctl
avg [Wed, 11 Nov 2009 14:21:31 +0000 (14:21 +0000)]
reflect that pg_ps_enabled is a tunable, not just a read-only sysctl

Nod from: jhb

14 years agoRevert r198873. Having different VAPPEND semantics for VOP_ACCESS(9)
trasz [Wed, 11 Nov 2009 13:49:22 +0000 (13:49 +0000)]
Revert r198873.  Having different VAPPEND semantics for VOP_ACCESS(9)
and VOP_ACCESSX(9) is not a good idea.

14 years agoAdd links to zfs(8) and zpool(8) to mount(8) manual page.
trasz [Wed, 11 Nov 2009 12:55:58 +0000 (12:55 +0000)]
Add links to zfs(8) and zpool(8) to mount(8) manual page.

14 years agoCorrect the information about the doceng@ team members - Murray Stokely
roam [Wed, 11 Nov 2009 11:37:43 +0000 (11:37 +0000)]
Correct the information about the doceng@ team members - Murray Stokely
stepped down some time ago, about the same time as Giorgos Keramidas
joined the team.

PR: 140465
Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
MFC after: 2 weeks

14 years agoFix the grammar as in the PR, and then some.
roam [Wed, 11 Nov 2009 11:31:02 +0000 (11:31 +0000)]
Fix the grammar as in the PR, and then some.

PR: 140454
Submitted by: Jeremy Huddleston <jeremyhu@apple.com>
MFC after: 2 weeks

14 years agoAdd unit to the short month names for Japanese locales.
ume [Wed, 11 Nov 2009 11:24:02 +0000 (11:24 +0000)]
Add unit to the short month names for Japanese locales.
Without unit, the output of the application like ls(1)
is complicated.

Reviewed by: nork
MFC after: 1 week

14 years agoMFp4:
mav [Wed, 11 Nov 2009 11:10:36 +0000 (11:10 +0000)]
MFp4:
- Move tagged queueing control from ADA to ATA XPT. It allows to control
  device command queue length correctly. First step to support < 32 tags.
- Limit queue for non-tagged devices by 2 slots for ahci(4) and siis(4).
- Implement quirk matching for ATA devices.
- Move xpt_schedule_dev_sendq() from header to source file.
- Move delayed queue shrinking to the more expected place - element freeing.
- Remove some SCSIsms in ATA.

14 years agoAdded option NETGRAPH_VLAN.
ru [Wed, 11 Nov 2009 11:07:30 +0000 (11:07 +0000)]
Added option NETGRAPH_VLAN.

Submitted by: pluknet

14 years agoMFp4:
mav [Wed, 11 Nov 2009 10:44:09 +0000 (10:44 +0000)]
MFp4:
Add set of chip IDs, known to support AHCI.

14 years agoPlace home and end before insert and delete.
ed [Wed, 11 Nov 2009 09:43:26 +0000 (09:43 +0000)]
Place home and end before insert and delete.

These keys have different sequences when using cursorkeys, while insert
and delete stay the same. If they are placed like this, libteken will
return NULL instead of a proper sequence for these characters.

14 years agoAdd a new flag to vidcontrol, -T, that allows terminal mode switching.
ed [Wed, 11 Nov 2009 08:39:57 +0000 (08:39 +0000)]
Add a new flag to vidcontrol, -T, that allows terminal mode switching.

This will make it more easy for people to experiment with TERM=xterm.
Instead of echoing these strange escape sequences, I can just instruct
them to run `vidcontrol -T xterm'.

14 years agoCURVNET_RESTORE() was not called in certain cases.
ume [Wed, 11 Nov 2009 08:28:18 +0000 (08:28 +0000)]
CURVNET_RESTORE() was not called in certain cases.

MFC after: 3 days

14 years agoAllow Syscons terminal emulators to provide function key strings.
ed [Wed, 11 Nov 2009 08:20:19 +0000 (08:20 +0000)]
Allow Syscons terminal emulators to provide function key strings.

xterm and cons25 have some incompatibilities when it comes to escape
sequences for special keys, such as F1 to F12, home, end, etc. Add a new
te_fkeystr() that can be used to override the strings.

scterm-sck won't do anything with this, but scterm-teken will use
teken_get_sequences() to obtain the proper sequence.

14 years agoAlways home the cursor when changing the scrolling region.
ed [Wed, 11 Nov 2009 08:11:21 +0000 (08:11 +0000)]
Always home the cursor when changing the scrolling region.

I thought this only had to be done when in origin mode, to ensure that
the cursor is not placed outside the origin, but it seems this is also
done when not in origin mode.

This fixes some artifacts when pressing ^L while running irssi in tmux.
(Almost) nobody noticed this, because cons25 doesn't have scrolling
regions.

14 years agoReduce probe priority of USB input devices to BUS_PROBE_GENERIC from
nwhitehorn [Wed, 11 Nov 2009 03:17:51 +0000 (03:17 +0000)]
Reduce probe priority of USB input devices to BUS_PROBE_GENERIC from
BUS_PROBE_SPECIFIC. This allows device-specific drivers like atp to
attach reliably.

Reviewed by: hps

14 years agoBe careful which vattr fields are set during setattr replay.
pjd [Tue, 10 Nov 2009 22:27:33 +0000 (22:27 +0000)]
Be careful which vattr fields are set during setattr replay.
Without this fix strange things can appear after unclean shutdown like
files with mode set to 07777.

Reported by: des
MFC after: 3 days

14 years agoAvoid passing invalid mountpoint to getnewvnode().
pjd [Tue, 10 Nov 2009 22:25:46 +0000 (22:25 +0000)]
Avoid passing invalid mountpoint to getnewvnode().

Reported by: rwatson
Tested by: rwatson
MFC after: 3 days

14 years agoAdd ixgb(4) to NOTES.
jhb [Tue, 10 Nov 2009 22:07:37 +0000 (22:07 +0000)]
Add ixgb(4) to NOTES.

Approved by: jfv

14 years ago- Locking fixes to not do silly things like drop the lock only to call a
jhb [Tue, 10 Nov 2009 22:04:19 +0000 (22:04 +0000)]
- Locking fixes to not do silly things like drop the lock only to call a
  function that immediately reacquires the lock.  Also removes recursive
  locking.
- Use the statistics timer to drive the transmit watchdog instead of using
  if_watchdog and if_timer.

Tested by: gavin

14 years agoController does not update Tx descriptors(send BDs) after sending
yongari [Tue, 10 Nov 2009 20:29:20 +0000 (20:29 +0000)]
Controller does not update Tx descriptors(send BDs) after sending
frames so remove unnecessary BUS_DMASYNC_PREREAD and
BUS_DMASYNC_POSTREAD of bus_dmamap_sync(9).

14 years agos/a default/the default/
dougb [Tue, 10 Nov 2009 19:50:28 +0000 (19:50 +0000)]
s/a default/the default/

Submitted by: remko

14 years agoAdd support for the touchpads found in later models of iBook and
nwhitehorn [Tue, 10 Nov 2009 19:14:06 +0000 (19:14 +0000)]
Add support for the touchpads found in later models of iBook and
Powerbook.

Reviewed by: Rohit Grover <rgrover1 at gmail.com>

14 years agoPurge some useless mergeinfo.
jhb [Tue, 10 Nov 2009 14:32:09 +0000 (14:32 +0000)]
Purge some useless mergeinfo.

14 years agoOk, the 40bit reads were causing crashes
rrs [Tue, 10 Nov 2009 13:41:00 +0000 (13:41 +0000)]
Ok, the 40bit reads were causing crashes
when they did their thing i.e. enabling SX mode
and then trying to load in. Since we are o32 this
is all un-needed. So I have re-structured the code
to work without doing this special set of code.
Packets now flow in and out.. however for some
reason dhcp/bootp response comes in and the kernel
does not proceed. Not sure if we have a UDP checksum error
or ?? The packets look all there by comparing wireshark
and the first 64 bytes of the TX and RX packets.

14 years agoWhen rename("a", "b/.") is performed, target namei() call returns
kib [Tue, 10 Nov 2009 11:50:37 +0000 (11:50 +0000)]
When rename("a", "b/.") is performed, target namei() call returns
dvp == vp. Rename syscall does not check for the case, and at least
ufs_rename() cannot deal with it. POSIX explicitely requires that both
rename(2) and rmdir(2) return EINVAL when any of the pathes end in "/.".

Detect the slashdot lookup for RENAME or REMOVE in lookup(), and return
EINVAL.

Reported by: Jim Meyering <jim meyering net>
Tested by: simon, pho
MFC after: 1 week

14 years agoIn r198506, kern_sigsuspend() started doing cursig/postsig loop to make
kib [Tue, 10 Nov 2009 11:46:53 +0000 (11:46 +0000)]
In r198506, kern_sigsuspend() started doing cursig/postsig loop to make
sure that a signal was delivered to the thread before returning from
syscall. Signal delivery puts new return frame on the user stack, and
modifies trap frame to enter signal handler. As a consequence, syscall
return code sets EINTR as error return for signal frame, instead of the
syscall return.

Also, for ia64, due to different registers layout for those two kind of
frames, usermode sigsegfaulted when returned from signal handler.

Use newly-introduced cpu_set_syscall_retval(9) to set syscall result,
and return EJUSTRETURN from kern_sigsuspend() to prevent syscall return
code from modifying this frame [1].

Another issue is that pending SIGCONT might be cancelled by SIGSTOP,
causing postsig() not to deliver any catched signal [2]. Modify
postsig() to return 1 if signal was posted, and 0 otherwise, and use
this in the kern_sigsuspend loop.

Proposed by: marcel [1]
Noted by: davidxu [2]
Reviewed by: marcel, davidxu
MFC after: 1 month

14 years agoExtract the code that records syscall results in the frame into MD
kib [Tue, 10 Nov 2009 11:43:07 +0000 (11:43 +0000)]
Extract the code that records syscall results in the frame into MD
function cpu_set_syscall_retval().

Suggested by: marcel
Reviewed by: marcel, davidxu
PowerPC, ARM, ia64 changes: marcel
Sparc64 tested and reviewed by: marius, also sunv reviewed
MIPS tested by: gonzo
MFC after: 1 month

14 years agoCheck fork() return value
des [Tue, 10 Nov 2009 10:42:48 +0000 (10:42 +0000)]
Check fork() return value

14 years agoRemove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) and
des [Tue, 10 Nov 2009 10:34:44 +0000 (10:34 +0000)]
Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) and
offer to install an SMP kernel.  The way this worked was: on supported
platforms, code to read ACPI tables and BIOS MP tables was compiled into
sysinstall, and if an SMP kernel config was present in the source tree when
sysinstall was built, code that called it was also compiled.  Since we
haven't had SMP kernel configs in years, the latter was never compiled and
the former never ran.

This only removes dead and unreachable code; it does *not* remove the NCpus
variable, nor the code that sets it to 1, nor the code that asks the user to
select a kernel from a list.

Discussed with: re@, randi@ and others

14 years agoMFp4:
mav [Tue, 10 Nov 2009 09:46:52 +0000 (09:46 +0000)]
MFp4:
Organize device IDs and add some more of them.

14 years agoFix globbing
des [Tue, 10 Nov 2009 09:45:43 +0000 (09:45 +0000)]
Fix globbing

Noticed by: delphij, David Cornejo <dave@dogwood.com>
Forgotten by: des

14 years agoMore rational usage()
des [Tue, 10 Nov 2009 09:44:55 +0000 (09:44 +0000)]
More rational usage()

14 years agoAdd Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP,
ume [Tue, 10 Nov 2009 03:56:51 +0000 (03:56 +0000)]
Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP,
ENOLINK, EPROTO, ENOTCAPABLE.

14 years agoAdd a note about no hostname leading to "Amnesiac" on the console
dougb [Tue, 10 Nov 2009 03:18:49 +0000 (03:18 +0000)]
Add a note about no hostname leading to "Amnesiac" on the console

The text is inspired by the PR, but more in line with the existing text

PR: docs/140434
Submitted by: Jason Helfman <jhelfman@e-e.com>

14 years agoAdd a minimal change to prevent NULL deference in ee(1).
delphij [Tue, 10 Nov 2009 00:48:24 +0000 (00:48 +0000)]
Add a minimal change to prevent NULL deference in ee(1).

To repeat the problem, one can press "Ctrl+C" and then enter "0".

Submitted by: Alexander Best <alexbestms wwu de>

14 years agoZero out Tx/Rx descriptors before using them. Also add missing
yongari [Mon, 9 Nov 2009 23:09:18 +0000 (23:09 +0000)]
Zero out Tx/Rx descriptors before using them. Also add missing
bus_dmamap_sync(9) after Tx descriptor initialization.

14 years agoAdd missing bus_dmamap_sync(9) before issuing kick command.
yongari [Mon, 9 Nov 2009 22:58:30 +0000 (22:58 +0000)]
Add missing bus_dmamap_sync(9) before issuing kick command.

14 years agoUnbreak booting of FreeBSD/mips by merging r195429 from projects/mips:
gonzo [Mon, 9 Nov 2009 22:01:58 +0000 (22:01 +0000)]
Unbreak booting of FreeBSD/mips by merging r195429 from projects/mips:
- Move dpcpu initialization to mips_proc0_init. It's
    more appropriate place for it. Besides dpcpu_init
    requires pmap module to be initialized and calling it
    int pmap.c hangs the system

14 years agoSpell sz correctly.
nwhitehorn [Mon, 9 Nov 2009 21:12:28 +0000 (21:12 +0000)]
Spell sz correctly.

Pointed out by: jmallett

14 years agoMFV of r199105, tzdata2009r:
edwin [Mon, 9 Nov 2009 20:49:12 +0000 (20:49 +0000)]
MFV of r199105, tzdata2009r:

- Three Australian stations in Antarctica have changed their time zone:
  Casey moved from UTC+8 to UTC+11
  Davis moved from UTC+7 to UTC+5
  Mawson moved from UTC+6 to UTC+5
  The changes occurred on 2009-10-18 at 02:00 (local times).

MFC after: 3 days

14 years agoMake isa_dma functions MPSAFE by introducing its own private lock. These
rdivacky [Mon, 9 Nov 2009 20:29:10 +0000 (20:29 +0000)]
Make isa_dma functions MPSAFE by introducing its own private lock. These
functions are selfcontained (ie. they touch only isa_dma.c static variables
and hardware) so a private lock is sufficient to prevent races. This changes
only i386/amd64 while there are also isa_dma functions for ia64/sparc64.
Sparc64 are ones empty stubs and ia64 ones are unused as ia64 does not
have isa (says marcel).

This patch removes explicit locking of Giant from a few drivers (there
are some that requires this but lack ones - this patch fixes this) and
also removes the need for implicit locking of Giant from attach routines
where it's provided by newbus.

Approved by: ed (mentor, implicit)
Reviewed by: jhb, attilio (glanced by)
Tested by: Giovanni Trematerra <giovanni.trematerra gmail com>
IA64 clue: marcel

14 years agoOk it helps if you add the bootp options too
rrs [Mon, 9 Nov 2009 19:56:53 +0000 (19:56 +0000)]
Ok it helps if you add the bootp options too
so that you can get an address ;-)

14 years agoRemove ifdefed out part of code, which seems to have originated a decade ago
trasz [Mon, 9 Nov 2009 19:53:34 +0000 (19:53 +0000)]
Remove ifdefed out part of code, which seems to have originated a decade ago
in OpenBSD.  As it is now, there is no way for this to be useful, since IPsec
is free to forward packets via whatever interface it wants, so checking
capabilities of the interface passed from ip_output (fetched from the routing
table) serves no purpose.

Discussed with: sam@

14 years agoFix variable type.
mav [Mon, 9 Nov 2009 19:47:46 +0000 (19:47 +0000)]
Fix variable type.

14 years agoTry moving to NFS mount of entire root
rrs [Mon, 9 Nov 2009 19:26:28 +0000 (19:26 +0000)]
Try moving to NFS mount of entire root

14 years agoOk we need to have the clock handlers has filters. This
rrs [Mon, 9 Nov 2009 19:25:30 +0000 (19:25 +0000)]
Ok we need to have the clock handlers has filters. This
gets us up to a mount request :-)

14 years agoa little more paran's
rrs [Mon, 9 Nov 2009 19:22:57 +0000 (19:22 +0000)]
a little more paran's

14 years agoPurge some duplicate mergeinfo.
jhb [Mon, 9 Nov 2009 18:50:34 +0000 (18:50 +0000)]
Purge some duplicate mergeinfo.

14 years agoAdd gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP.
ume [Mon, 9 Nov 2009 17:26:16 +0000 (17:26 +0000)]
Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP.

14 years agoCooresponding hack to pass in the irq
rrs [Mon, 9 Nov 2009 16:43:50 +0000 (16:43 +0000)]
Cooresponding hack to pass in the irq

14 years agoWhite space changes.
rrs [Mon, 9 Nov 2009 16:43:02 +0000 (16:43 +0000)]
White space changes.

14 years ago- Comment out recrusive call to setup interrupt.
rrs [Mon, 9 Nov 2009 16:42:08 +0000 (16:42 +0000)]
- Comment out recrusive call to setup interrupt.
- Change the way we pass the irq.

14 years agoMention the layout change of ieee80211req_scan_result.
rpaulo [Mon, 9 Nov 2009 16:05:32 +0000 (16:05 +0000)]
Mention the layout change of ieee80211req_scan_result.

14 years agoDriver for the Apple Touchpad present on MacBook (non-Pro & Pro).
rpaulo [Mon, 9 Nov 2009 15:59:09 +0000 (15:59 +0000)]
Driver for the Apple Touchpad present on MacBook (non-Pro & Pro).

Submitted by: Rohit Grover <rgrover1 at gmail.com>
MFC after: 2 months

14 years agoIncrease the size of the OFW translations buffer to handle G5 systems
nwhitehorn [Mon, 9 Nov 2009 14:26:23 +0000 (14:26 +0000)]
Increase the size of the OFW translations buffer to handle G5 systems
that use many translation regions in firmware, and add bounds checking
to prevent buffer overflows in case even the new value is exceeded.

Reported by: Jacob Lambert
MFC after: 3 days

14 years agoAdd NLS catalogs support to gai_strerror(3).
ume [Mon, 9 Nov 2009 12:46:59 +0000 (12:46 +0000)]
Add NLS catalogs support to gai_strerror(3).
Controlled by NLS define.

14 years agoFix comment.
ume [Mon, 9 Nov 2009 12:38:13 +0000 (12:38 +0000)]
Fix comment.

Pointed out by: nyan
MFC after: 1 week

14 years agoAdd ja_JP.eucJP catalog.
ume [Mon, 9 Nov 2009 12:33:47 +0000 (12:33 +0000)]
Add ja_JP.eucJP catalog.

Reviewed by: hrs, nork, takawata
MFC after: 1 week

14 years agoAdd ja_JP.UTF-8 catalog.
ume [Mon, 9 Nov 2009 12:28:59 +0000 (12:28 +0000)]
Add ja_JP.UTF-8 catalog.

Reviewed by: hrs, nork, takawata
MFC after: 1 week

14 years agoAdd support for ATA Power Management.
mav [Mon, 9 Nov 2009 11:39:51 +0000 (11:39 +0000)]
Add support for ATA Power Management.