]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoIn the interest of reducing diffs and doing future merges, merge in the
scottl [Sat, 2 Aug 2008 15:55:16 +0000 (15:55 +0000)]
In the interest of reducing diffs and doing future merges, merge in the
silly changes of rev 1.193.

16 years agoMFC: r180392, cvs rev. 1.207 in_pcb.c
bz [Sat, 2 Aug 2008 15:02:20 +0000 (15:02 +0000)]
MFC: r180392, cvs rev. 1.207 in_pcb.c

  For consistency with the rest of the function use the locally cached
  pointer pcbinfo rather than inp->inp_pcbinfo.

16 years agoMFC: r180371,180386
bz [Sat, 2 Aug 2008 14:55:58 +0000 (14:55 +0000)]
MFC: r180371,180386
  cvs rev. 1.91 in6_pcb.c, 1.52,1.53 in6_src.c, 1.43 ip6_var.h
      rev. 1.80 raw_ip6.c, 1.91 udp6_usrreq.c

  Change the parameters to in6_selectsrc():
  - pass in the inp instead of both in6p_moptions and laddr.
  - pass in cred for upcoming prison checks.

  Document required locking in in6_sleectsrc() in case an inp is
  passed in by adding an assert.
  Requested by:   rwatson

16 years agoMFC: r180085,180090, cvs rev. 1.10, 1.11 ip6_ipsec.c
bz [Sat, 2 Aug 2008 13:59:13 +0000 (13:59 +0000)]
MFC: r180085,180090, cvs rev. 1.10, 1.11 ip6_ipsec.c

Update the correct stats (v6 instead of v4).

16 years agoFix whitespace bug (8spaces into tab).
remko [Sat, 2 Aug 2008 13:48:22 +0000 (13:48 +0000)]
Fix whitespace bug (8spaces into tab).

Submitted by: ed

16 years agoMFC r180492
remko [Sat, 2 Aug 2008 13:42:28 +0000 (13:42 +0000)]
MFC r180492

  More explicitly mention that we support the 2920C with the ahc driver.

  PR:             125535
  Submitted by:   Bob Bishop <rb at gid dot co dot uk>
  MFC after:      3 days

16 years agoMFC r180491
remko [Sat, 2 Aug 2008 13:40:14 +0000 (13:40 +0000)]
MFC r180491

  Update the ktr_header structure, which changed over time.

  PR:             125546
  Submitted by:   Mateusz Guzik <mjguzik at gmail dot com>
  MFC after:      3 days

16 years agoMFC: r179356, rev. 1.25 ping6.8, 1.34 ping6.c
bz [Sat, 2 Aug 2008 13:14:35 +0000 (13:14 +0000)]
MFC: r179356, rev. 1.25 ping6.8, 1.34 ping6.c

  Change the exit status for 0 and 2 to be the same as with ping(1)
  and be usable in scripts, etc.

  This also changes the semantics in case when we lose one of n packets.
  In that case, before we exited by SIG, now we exit with return(0).

  Submitted by:   Gert Doering (gert space.net)

16 years agoMFC r179880
remko [Sat, 2 Aug 2008 12:49:56 +0000 (12:49 +0000)]
MFC r179880

  Document the _arg versions of the uma_zalloc and uma_zfree functions.

  PR:             docs/120357
  Submitted by:   gahr
  MFC after:      3 days

16 years agoMFC r180389 (which includes another scsi id as well).
remko [Sat, 2 Aug 2008 12:46:22 +0000 (12:46 +0000)]
MFC r180389 (which includes another scsi id as well).

  Add quirk for the Samsung YP-U3

  PR:             125398
  Submitted by:   Tino Engel <goaengel at gmx dot net>
  Approved by:    imp (mentor, implicit)
  MFC after:      1 week

Approved by: imp (mentor)

16 years agoMFC r180437
remko [Sat, 2 Aug 2008 12:34:49 +0000 (12:34 +0000)]
MFC r180437

  Detect ATA controllers in the Macbook3.

  PR: 118135
  Submitted by: ed
  Approved by: imp (mentor, implicit)
  MFC after: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFC r180384
remko [Sat, 2 Aug 2008 12:33:28 +0000 (12:33 +0000)]
MFC r180384

  Driver failed to allocate MMIO resources. Attached patch adds a fallback path.
  It uses generic IDE facilities if sii-specific allocations failed

  PR: 125421
  Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
  Approved by: imp (mentor, implicit)
  MFC after: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFC r180383
remko [Sat, 2 Aug 2008 12:31:15 +0000 (12:31 +0000)]
MFC r180383

  Add new device id for ICH8M, which supports greater than UDMA33 mode
  when it worked as generic IDE.

  PR: 125422
  Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
  Approved by: imp (mentor, implicit)
  MFC after: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFC r180382:
remko [Sat, 2 Aug 2008 12:29:43 +0000 (12:29 +0000)]
MFC r180382:

  Add support for the ICH9 in non AHCI mode (RAID mode).

  Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
  Tested by: Vitalij L. Fadeev <fvl at mail dot ru>
  Approved by: imp (mentor, implicit)
  MFC after: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFi386:
nyan [Sat, 2 Aug 2008 10:31:48 +0000 (10:31 +0000)]
MFi386:

  Drastically simplify the i386 pcpu backend by merging parts of the
  amd64 mechanism over.

16 years agoMFC: Drastically simplify the i386 pcpu backend by merging parts of the
jhb [Fri, 1 Aug 2008 20:17:21 +0000 (20:17 +0000)]
MFC: Drastically simplify the i386 pcpu backend by merging parts of the
amd64 mechanism over.

16 years agoMerge r180131 from head to stable/7:
rwatson [Fri, 1 Aug 2008 11:11:12 +0000 (11:11 +0000)]
Merge r180131 from head to stable/7:

  Remove spls from NFS server setup call; expand receive socket buffer
  locking to cover full setup of socket upcalls; remove XXX about
  locking.

16 years agoMerge r179517 from head to stable/7:
rwatson [Fri, 1 Aug 2008 11:00:14 +0000 (11:00 +0000)]
Merge r179517 from head to stable/7:

  Add an XXX comment regarding a bug I introduced when modifying the behavior
  of audit log vnode rotation: on shutdown, we may not properly drain all
  pending records, which could lead to lost records during system shutdown.

16 years agoMerge r179487 from head to stable/7:
rwatson [Fri, 1 Aug 2008 10:32:11 +0000 (10:32 +0000)]
Merge r179487 from head to stable/7:

  When allocating temporary storage to hold a TCP/IP packet header
  template, use an M_TEMP malloc(9) allocation rather than an mbuf
  with mtod(9) and dtom(9).  This eliminates the last use of
  dtom(9) in TCP.

16 years agoMFC r180799:
kib [Fri, 1 Aug 2008 10:07:40 +0000 (10:07 +0000)]
MFC r180799:
Call pargs_drop() unconditionally in do_execve(), the function correctly
handles the NULL argument.
Make pargs_free() static.

16 years agoMFC r178243:
kib [Fri, 1 Aug 2008 09:46:19 +0000 (09:46 +0000)]
MFC r178243:
Move the head of byte-level advisory lock list from the
filesystem-specific vnode data to the struct vnode. Provide the
default implementation for the vop_advlock and vop_advlockasync.
Purge the locks on the vnode reclaim by using the lf_purgelocks().
The default implementation is augmented for the nfs and smbfs.
In the nfs_advlock, push the Giant inside the nfs_dolock.

Before the change, the vop_advlock and vop_advlockasync have taken the
unlocked vnode and dereferenced the fs-private inode data, racing with
with the vnode reclamation due to forced unmount. Now, the vop_getattr
under the shared vnode lock is used to obtain the inode size, and
later, in the lf_advlockasync, after locking the vnode interlock, the
VI_DOOMED flag is checked to prevent an operation on the doomed vnode.

MFC r178247:
Fix compilation with LOCKF_DEBUG.

As was announced on the stable@, the MFC changes the VFS KBI on RELENG_7.

Approved by: re (kensmith)

16 years agoMFC r181115:
marck [Fri, 1 Aug 2008 08:13:01 +0000 (08:13 +0000)]
MFC r181115:

  Fix empty mailto (-m "") handling: somehow I missed all checks but the first,
  hence output would be written to the wrong filehandle.

Submitted by: reg
Approved by: yar (implicit)
MFC after: ASAP
Pointy hat to: marck

16 years agoenable iwarp driver in the build
kmacy [Thu, 31 Jul 2008 23:19:30 +0000 (23:19 +0000)]
enable iwarp driver in the build

16 years agoMFC addition of malloc flag to blist so that it can be used in ithread context
kmacy [Thu, 31 Jul 2008 23:18:09 +0000 (23:18 +0000)]
MFC addition of malloc flag to blist so that it can be used in ithread context

16 years agoadd kernel rdma support to the build
kmacy [Thu, 31 Jul 2008 23:15:18 +0000 (23:15 +0000)]
add kernel rdma support to the build

16 years agoadd TOE to the build
kmacy [Thu, 31 Jul 2008 22:57:52 +0000 (22:57 +0000)]
add TOE to the build

16 years agoremove unused define
kmacy [Thu, 31 Jul 2008 22:55:18 +0000 (22:55 +0000)]
remove unused define

16 years agoupdate tom to reflect sockbuf refactoring
kmacy [Thu, 31 Jul 2008 22:48:43 +0000 (22:48 +0000)]
update tom to reflect sockbuf refactoring

16 years agomake tcp_var.h independent of sockopt.h
kmacy [Thu, 31 Jul 2008 22:47:36 +0000 (22:47 +0000)]
make tcp_var.h independent of sockopt.h

16 years agoMFC ARP update hooks and change to arpresolve to do arp resolution without a pending...
kmacy [Thu, 31 Jul 2008 22:42:27 +0000 (22:42 +0000)]
MFC ARP update hooks and change to arpresolve to do arp resolution without a pending mbuf to transmit

16 years agoMerge r178461 from head to stable/7:
rwatson [Thu, 31 Jul 2008 22:33:01 +0000 (22:33 +0000)]
Merge r178461 from head to stable/7:

  Use logic or, not binary or, when deciding whether or not a system call
  exit requires entering the audit code.  The result is much the same,
  but they mean different things.

  Submitted by:   Diego Giagio <dgiagio at gmail dot com>

16 years agoMFC removal of extraneous debug statements.
kmacy [Thu, 31 Jul 2008 22:25:51 +0000 (22:25 +0000)]
MFC removal of extraneous debug statements.

16 years agoMFC sockbuf refactoring and fixes to cxgb TOE
kmacy [Thu, 31 Jul 2008 20:35:44 +0000 (20:35 +0000)]
MFC sockbuf refactoring and fixes to cxgb TOE

16 years agoMFC r180566: Don't set PACKAGE_BUILDING while installing packages.
flz [Thu, 31 Jul 2008 15:58:22 +0000 (15:58 +0000)]
MFC r180566: Don't set PACKAGE_BUILDING while installing packages.

16 years agoMFC r180570:
kib [Thu, 31 Jul 2008 11:43:07 +0000 (11:43 +0000)]
MFC r180570:
Pair the VOP_OPEN call from do_execve() with the reciprocal VOP_CLOSE.

Note: the change needed small adaptation to RELENG_7 because fexecve(2)
is not merged into the branch.

16 years agoMFC r180875:
ed [Thu, 31 Jul 2008 08:50:07 +0000 (08:50 +0000)]
MFC r180875:
Fix a small typo in the procstat(1) manpage: messsage queue.

16 years agoMFC r180949
roberto [Thu, 31 Jul 2008 08:18:03 +0000 (08:18 +0000)]
MFC r180949
  Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'.

16 years agofix TOE build errors & warnings
kmacy [Thu, 31 Jul 2008 06:17:39 +0000 (06:17 +0000)]
fix TOE build errors & warnings

16 years agoMFC:
kmacy [Thu, 31 Jul 2008 06:10:25 +0000 (06:10 +0000)]
MFC:
- Add socket option for setting and retrieving the congestion control algorithm.
  The name used is to allow compatibility with Linux.

- add rcv_nxt, snd_nxt, and toe offload id to FreeBSD-specific
  extension fields for tcp_info

16 years agomake tom_info field naming consistent
kmacy [Thu, 31 Jul 2008 05:53:56 +0000 (05:53 +0000)]
make tom_info field naming consistent

16 years agoMFC accessor functions for socket fields.
kmacy [Thu, 31 Jul 2008 05:48:51 +0000 (05:48 +0000)]
MFC accessor functions for socket fields.

16 years agoMFC inp accessor functions
kmacy [Thu, 31 Jul 2008 05:40:59 +0000 (05:40 +0000)]
MFC inp accessor functions

16 years agoMFC r180869
yongari [Thu, 31 Jul 2008 01:13:19 +0000 (01:13 +0000)]
MFC r180869
  Fix buffer discard index.
  While I'm here dicard all buffers if errored frame is part of
  multi-segmented frames.

16 years agoyyMFC: Allow VM object creation in ufs_lookup().
jhb [Wed, 30 Jul 2008 21:43:42 +0000 (21:43 +0000)]
yyMFC: Allow VM object creation in ufs_lookup().

16 years agoMFC r179289, rev. 1.221 udp_usrreq.c, 1.98 ip6_input.c, 1.42 ip6_var.h
bz [Wed, 30 Jul 2008 21:23:21 +0000 (21:23 +0000)]
MFC r179289, rev. 1.221 udp_usrreq.c, 1.98 ip6_input.c, 1.42 ip6_var.h

  Factor out the v4-only vs. the v6-only inp_flags processing in
  ip6_savecontrol in preparation for udp_append() to no longer
  need an WLOCK as we will no longer be modifying socket options.

  Requested by:         rwatson
  Reviewed by:          gnn

16 years agoMFC interface for external consumers to syncache_expand
kmacy [Wed, 30 Jul 2008 20:51:20 +0000 (20:51 +0000)]
MFC interface for external consumers to syncache_expand

16 years agoMFC TCP hooks for conditionally tying TCP offload devices in to the TCP stack.
kmacy [Wed, 30 Jul 2008 20:35:41 +0000 (20:35 +0000)]
MFC TCP hooks for conditionally tying TCP offload devices in to the TCP stack.

16 years agoMFC: Use VM_FAULT_DIRTY to fault in pages for write access in
jhb [Wed, 30 Jul 2008 19:49:10 +0000 (19:49 +0000)]
MFC: Use VM_FAULT_DIRTY to fault in pages for write access in
proc_rwmem().

16 years agoadd socket options for disabling TOE
kmacy [Wed, 30 Jul 2008 19:35:40 +0000 (19:35 +0000)]
add socket options for disabling TOE

16 years agoMerge r177272 from head to stable/7:
rwatson [Wed, 30 Jul 2008 18:28:09 +0000 (18:28 +0000)]
Merge r177272 from head to stable/7:

  Consistently use ANSI C declarations for all functions in kern_synch.c.

16 years agoMerge r176906 from head to stable/7:
rwatson [Wed, 30 Jul 2008 17:27:10 +0000 (17:27 +0000)]
Merge r176906 from head to stable/7:

  Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed
  for all network interfaces, not just ethernet-like ones.

  Upgrade it to a louder WARNING and be explicit that the flag is obsolete.
  Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for
  details) and will not appear in 8.0.

  Upgrade if_watchdog to a WARNING.

16 years agoMerge r175903 from head to stable/7:
rwatson [Wed, 30 Jul 2008 14:04:01 +0000 (14:04 +0000)]
Merge r175903 from head to stable/7:

  Add comment that bpfread() has multi-threading issues.

  Fix minor white space nit.

16 years agoMerge r175870 from head to stable/7:
rwatson [Wed, 30 Jul 2008 13:19:50 +0000 (13:19 +0000)]
Merge r175870 from head to stable/7:

  Use FEATURE() macro to advertise aio availability.

16 years agoMFC r180738:
kib [Wed, 30 Jul 2008 09:44:40 +0000 (09:44 +0000)]
MFC r180738:
Do the pargs_hold() on the copy of the pointer to the p_args of the
child process immediately after bulk bcopy() without dropping the
process lock.

16 years agoMFC of 180646, 180877:
edwin [Wed, 30 Jul 2008 03:33:49 +0000 (03:33 +0000)]
MFC of 180646, 180877:

After the commit of SVN rev 180236, wilko@ noticed that the approach
doesn't work on the Alpha platform: machine/elf.h doesn't include
sys/elf32.h there.

PR:             related to bin/124906
Approved by:    bde@

16 years agoMFC basic common and iwarp kernel RDMA infrastructure.
kmacy [Wed, 30 Jul 2008 00:27:48 +0000 (00:27 +0000)]
MFC basic common and iwarp kernel RDMA infrastructure.

16 years agoMFC TOE defines
kmacy [Wed, 30 Jul 2008 00:20:04 +0000 (00:20 +0000)]
MFC TOE defines

16 years agoadd INP_W(UN)LOCK forward compat macros
kmacy [Wed, 30 Jul 2008 00:18:32 +0000 (00:18 +0000)]
add INP_W(UN)LOCK forward compat macros

16 years agoMFC IFCAP_TOE
kmacy [Wed, 30 Jul 2008 00:17:40 +0000 (00:17 +0000)]
MFC IFCAP_TOE

16 years agoMFC toe device interface
kmacy [Wed, 30 Jul 2008 00:16:37 +0000 (00:16 +0000)]
MFC toe device interface

16 years agoMFC core TCP offload infrastructure bits without hooking them
kmacy [Wed, 30 Jul 2008 00:09:15 +0000 (00:09 +0000)]
MFC core TCP offload infrastructure bits without hooking them
up to the build.

16 years agoMFC r180446:
kib [Tue, 29 Jul 2008 12:10:15 +0000 (12:10 +0000)]
MFC r180446:
Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory
for the bio for swapout write.

16 years agoMFC r180822: Note that snapshots may cause a panic on the full UFS filesystem.
kib [Tue, 29 Jul 2008 11:34:32 +0000 (11:34 +0000)]
MFC r180822: Note that snapshots may cause a panic on the full UFS filesystem.

16 years agoCorrect CSCOPEDIRS definition
kib [Tue, 29 Jul 2008 11:31:08 +0000 (11:31 +0000)]
Correct CSCOPEDIRS definition

16 years agoMFC r180694: fix attribution, correct surname.
maxim [Tue, 29 Jul 2008 09:01:15 +0000 (09:01 +0000)]
MFC r180694: fix attribution, correct surname.

16 years agoPartially MFC r180627: add cddl, nlm and xdr to CSCOPEDIRS.
maxim [Tue, 29 Jul 2008 08:44:44 +0000 (08:44 +0000)]
Partially MFC r180627: add cddl, nlm and xdr to CSCOPEDIRS.

16 years agoMFC the following:
kmacy [Mon, 28 Jul 2008 23:37:33 +0000 (23:37 +0000)]
MFC the following:
  - vendor bug fixes
  - driver side of iwarp support
  - driver side of TOE support
  - Makefile cleanup

16 years agoMFC r179365 to stable/7:
antoine [Mon, 28 Jul 2008 20:04:39 +0000 (20:04 +0000)]
MFC r179365 to stable/7:
  - Increase the size of the salt in pw(8) from 8 to 32 (same as in pam_unix(8)).
   This makes blowfish password hashes look normal when set using
  pw(8)/adduser(8). [1]
  - Make it possible to have a '/' in the salt.

  PR:             121146 [1]
  Submitted by:   Jaakko Heinonen [1]
  Approved by:    rwatson (mentor)
  MFC after:      1 month

16 years agoMFC r178921 to stable/7:
antoine [Mon, 28 Jul 2008 19:35:26 +0000 (19:35 +0000)]
MFC r178921 to stable/7:
  Remove useless call to getdtablesize(2) in fdopen(3) and its useless
  variable nofile.

  PR:             123109
  Submitted by:   Christoph Mallon
  Approved by:    rwatson (mentor)
  MFC after:      1 month

16 years agoMFC r178920 to stable/7:
antoine [Mon, 28 Jul 2008 18:17:23 +0000 (18:17 +0000)]
MFC r178920 to stable/7:
  Add missing braces in #if 0ed code.

  Approved by:    rwatson (mentor)
  MFC after:      1 month

16 years agoMFC: Allocate a single CCB at the start of the main loop of the RAID
jhb [Mon, 28 Jul 2008 17:05:09 +0000 (17:05 +0000)]
MFC: Allocate a single CCB at the start of the main loop of the RAID
monitoring kthread of the mpt(4) driver.

16 years agoMFC: CVS version 1.11.22.1 (almost 1.11.23).
obrien [Mon, 28 Jul 2008 16:52:28 +0000 (16:52 +0000)]
MFC: CVS version 1.11.22.1 (almost 1.11.23).

16 years agoMFC r172734
thompsa [Mon, 28 Jul 2008 16:47:58 +0000 (16:47 +0000)]
MFC r172734

 Merge definitions for ARM9E, ARM10 and ARM11 processors from p4 (which
 got them from NetBSD).

16 years agoMFC r180584
thompsa [Mon, 28 Jul 2008 16:24:35 +0000 (16:24 +0000)]
MFC r180584

 Eliminate unused global variables.  (These global variables became fields of
 struct kva_md_info many years ago.)

16 years agoMFC r180486
thompsa [Mon, 28 Jul 2008 16:23:39 +0000 (16:23 +0000)]
MFC r180486

 fix multicast hash register definition

16 years agoMFC r179745
thompsa [Mon, 28 Jul 2008 16:22:46 +0000 (16:22 +0000)]
MFC r179745

 Fix a typo: i80321_pci_probe -> i81342_pci_probe

16 years agoMFC r179693
thompsa [Mon, 28 Jul 2008 16:21:56 +0000 (16:21 +0000)]
MFC r179693

 Since we create a DMA tag "mtag" for TX map with bus_dmamap_create(),
 we must synchronize such a map against "mtag" with bus_dmamap_sync(),
 not the tag designated for RX map.

16 years agoMFC r179664
thompsa [Mon, 28 Jul 2008 16:21:01 +0000 (16:21 +0000)]
MFC r179664

 Remove sa1_cache_clean_addr

16 years agoMFC r179375
thompsa [Mon, 28 Jul 2008 16:20:08 +0000 (16:20 +0000)]
MFC r179375

 Release the resources for the registers for the TWI device with
 SYS_RES_MEMORY to match how we allocate them...

16 years agoMFC r178978
thompsa [Mon, 28 Jul 2008 16:19:16 +0000 (16:19 +0000)]
MFC r178978

 Don't let hacksync() call bus_dmamap_sync(9) on DMA maps which
 are not initialized. This fixes a panic on sparc64 where calling
 bus_dmamap_sync(9) on NULL DMA maps is fatal.

16 years agoMFC r178001
thompsa [Mon, 28 Jul 2008 16:18:28 +0000 (16:18 +0000)]
MFC r178001

 Remove some long-dead code

16 years agoMFC r177944
thompsa [Mon, 28 Jul 2008 16:17:33 +0000 (16:17 +0000)]
MFC r177944

 Remove bus_space_generic.c from the per-plarform files. Having it in the
 per-cpu files should be enough.

16 years agoMFC r177943
thompsa [Mon, 28 Jul 2008 16:16:38 +0000 (16:16 +0000)]
MFC r177943

 Add bus_space_generic.c for the i81342 as well.

16 years agoMFC r177916
thompsa [Mon, 28 Jul 2008 16:15:42 +0000 (16:15 +0000)]
MFC r177916

 Make kernel.tramp build properly on ARM9E.

16 years agoMFC r177888
thompsa [Mon, 28 Jul 2008 16:14:49 +0000 (16:14 +0000)]
MFC r177888

 Now really add the bus_space_generic.c file...

16 years agoMFC r177887
thompsa [Mon, 28 Jul 2008 16:13:55 +0000 (16:13 +0000)]
MFC r177887

 Refactor certain ARM bus space methods: instead of having multiple copies of
 the same code introduce sys/arm/arm/bus_space_generic.c for a shared set of
 routines.

16 years agoMFC r177886
thompsa [Mon, 28 Jul 2008 16:12:56 +0000 (16:12 +0000)]
MFC r177886

 Fix AVILA build.

16 years agoMFC r177883
thompsa [Mon, 28 Jul 2008 16:12:00 +0000 (16:12 +0000)]
MFC r177883

 Take the first baby step towards unifying and cleaning up arminit():
  - Pull all the code to deal with the trampoline stuff into one
    centeralized place and use it from everywhere.
  - Some minor style tidiness

16 years agoMFC r177874
thompsa [Mon, 28 Jul 2008 16:11:11 +0000 (16:11 +0000)]
MFC r177874

 KERNBASE + 0x00200000 is the same thing as KERNVIRTADDR on this
 platform, so use the latter in preference to the former.  This makes
 the fake_preload setup be the same between kb920x_machdep.c and
 avila_machdep.c....

16 years agoMFC r177505
thompsa [Mon, 28 Jul 2008 16:10:18 +0000 (16:10 +0000)]
MFC r177505

 Improve mac+phy configuration so that hints can be used to describe
 layouts different than the defaults:
 o hint.npe.0.mac="A", "B", etc. specifies the window for MAC register accesses
 o hint.npe.0.mii="A", "B", etc. specifies PHY registers
 o hint.npe.1.phy=%d specifies the PHY to map to a port

16 years agoMFC r177459
thompsa [Mon, 28 Jul 2008 16:09:22 +0000 (16:09 +0000)]
MFC r177459

 Workaround design botch in usb: blindly mixing bus_dma with PIO does not
 work on architectures with a write-back cache as the PIO writes end up
 in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete
 then discards; compensate in the xfer methods that do PIO by pushing the
 writes out of the cache before usb_transfer_complete is called.

16 years agoMFC r177457
thompsa [Mon, 28 Jul 2008 16:08:26 +0000 (16:08 +0000)]
MFC r177457

 Correct cache handling for xfer requests marked URQ_REQUEST: many (if not
 all uses) involve a read but usbd_start_transfer only does a PREWRITE; change
 this to BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE as I'm not sure if any
 users do write+read.

16 years agoMFC r177105
thompsa [Mon, 28 Jul 2008 16:07:30 +0000 (16:07 +0000)]
MFC r177105

 Respect RF_SHAREABLE flag in ARM nexus_setup_intr()

16 years agoMFC r177103
thompsa [Mon, 28 Jul 2008 16:06:34 +0000 (16:06 +0000)]
MFC r177103

 Improve ARM bus_dmamap_load_buffer() error handling.

16 years agoMFC r176759
thompsa [Mon, 28 Jul 2008 16:05:48 +0000 (16:05 +0000)]
MFC r176759

 Convert to be a 2-clause bsd-only license.

16 years agoMFC r175120
thompsa [Mon, 28 Jul 2008 16:04:53 +0000 (16:04 +0000)]
MFC r175120

 Add a missing \n.

16 years agoMFC r174781
thompsa [Mon, 28 Jul 2008 16:03:59 +0000 (16:03 +0000)]
MFC r174781

 Actually program the interrupt controller for priorities.  As we
 support more AT91 platforms, we'll need to move this into some
 platform init routine.

16 years agoMFC r174700
thompsa [Mon, 28 Jul 2008 16:03:06 +0000 (16:03 +0000)]
MFC r174700

 Use M_NOWAIT instead of M_WAITOK to cause malloc() to return NULL

16 years agoMFC r174176
thompsa [Mon, 28 Jul 2008 16:02:10 +0000 (16:02 +0000)]
MFC r174176

 Move the strongarm-specific files from conf/files.arm to sa11x0/files.sa11xO.

16 years agoMFC r174058
thompsa [Mon, 28 Jul 2008 16:01:18 +0000 (16:01 +0000)]
MFC r174058

 Fixes for ARM9/ARM10 :
 Call uma_sel_align() there at well.
 Set CPU_CONTROL_VECRELOC if we're using the high vectors page.