Commit Graph

154301 Commits

Author SHA1 Message Date
scw
92bdf64528 Repeat after me: Compile/Test before commit. 2006-12-10 10:30:55 +00:00
scw
b504cbdbcc Note addition of IXP425 NPE Ethernet support. 2006-12-10 10:25:49 +00:00
scw
94359b8f74 Ditch the messy "disk access" polling code. There was no way to
determine accurately which LED to illuminate.

Instead, hook into the PCI[ABC] interrupt chains (used solely for the
USB controller) and use the disk1/disk2 LEDS to indicate general USB
activity.

Use the "Ready/Status" LED as a CPU activity indicator by hooking the
TMR0 interrupt and illuminating the LED if the CPU is non-idle.
2006-12-10 10:23:37 +00:00
scw
b95de082ef Add watchdog and NPE Ethernet support. The latter is not well tested
on IXDP425 since the PHYs fail to probe my board. This may be due to
an incompatibility between the stepping A0 CPU and the microcode.

Additionally, the MAC addresses are not configured by Redboot, so more
work is needed in this area.
2006-12-10 10:12:22 +00:00
scw
9a59c269b4 Add NPE Ethernet and watchdog support.
Ethernet is enabled by default, but will be non-functional without
a microcode image from Intel. See arch/arm/xscale/ixp425-fw.README.
2006-12-10 10:08:05 +00:00
scw
4152e66e28 Adjust watchdog reset register base. 2006-12-10 10:04:40 +00:00
scw
b9811c82af Support the IXP425 watchdog timer. 2006-12-10 10:03:22 +00:00
scw
bdea1361ab Add a port of Sam Leffler's IXP425 micro-engine support (from FreeBSD).
This is very much a work in progress. At the present time, only Ethernet
is supported.
2006-12-10 10:01:49 +00:00
dyoung
5eaf8c7227 Forward options -f, -m, -s to the MAKEDEV.local script, with the
help of some Bourne-shell magic from David Laight.
2006-12-10 08:14:32 +00:00
yamt
f144b481ac yamt-splraiseipl: new base. 2006-12-10 07:58:51 +00:00
christos
eea42e044a Fix timezone and date parsing. From Anon Ymous. 2006-12-10 06:06:47 +00:00
manu
098ea45eb4 New README.plainrsa sample file 2006-12-10 05:52:10 +00:00
manu
78f5cfece3 From Joy Latten: README.plainrsa documenting plain RSA auth 2006-12-10 05:51:14 +00:00
yamt
4813024f5a yamt-splraiseipl: mmeye, mvme68k. 2006-12-10 05:29:42 +00:00
uwe
f9e1284353 Convert to use aprint_* 2006-12-10 05:14:42 +00:00
uwe
a066e1031b Use aprint_normal for attachment messages. 2006-12-10 04:52:13 +00:00
uwe
00ef4640eb One missed s/printf/aprint_error/ in apmbiosattach. 2006-12-10 04:38:55 +00:00
uwe
55313d2657 Use aprint_normal for PCIBIOS_PRINTV 2006-12-10 04:17:20 +00:00
uwe
b5831015b3 For consistency use PCIBIOS_PRINTV instead of printf even under
#ifdef PCIBIOSVERBOSE.
2006-12-10 04:16:46 +00:00
uwe
4f6d5a41f4 Provide aprint_naive("\n"); in attach. 2006-12-10 03:44:28 +00:00
uwe
dbbb1cca5e When comlaining about child* attachment print "WARNING" and the child
name.  Makes it more obvious what the problem is, and easier to spot
in the dmesg output after quiet boot warns about "errors" while
detecting hardware.
2006-12-10 03:24:29 +00:00
uwe
71d06da6c2 Convert to use aprint_* (except PNPBIOSEVENTS code). 2006-12-10 03:20:49 +00:00
macallan
55d5c3fe24 properly display OF variables that aren't strings 2006-12-10 03:06:25 +00:00
macallan
74ab06b7a7 when powering up the mediabay wait two seconds before looking for devices
Without this CDROM drives wouldn't be found when hotplugged.
2006-12-10 02:41:30 +00:00
christos
ddbf1b0dd9 Sync with OpenBSD systrace 1.6d.
XXX: Some of the compat-linux systrace is disabled.
From elad.
2006-12-10 01:22:02 +00:00
uwe
ba06ad7411 Add missing aprint_naive to the attach routine. 2006-12-10 00:40:10 +00:00
uwe
d2a699ecf7 Print pci device info instead of "Power Management Controller". 2006-12-10 00:34:52 +00:00
uwe
e8e4f16a5c aprint_naive("\n") to terminate "Found" line for quiet boot.
Use aprint_error to report that we are unable to establish power hook.
2006-12-10 00:33:11 +00:00
matt
9b573944b4 2006-12-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/30039
	* pa.md (high:DI and lo_sum:DI): Handle 64-bit CONST_INTs in 32-bit
	patterns.  Correct length of high:DI instruction sequence.
2006-12-10 00:19:32 +00:00
uwe
9ee91471c3 Properly def{flag,param} all PNPBIOS* options and consolidate them in
opt_pnpbios.h.  Update DEBUG config since PNPBIOSDEBUG_VALUE requires
parameter now.
2006-12-09 22:45:26 +00:00
chs
088fbfd7aa in fdloadfile(), fail if we can't read the entire exec header. 2006-12-09 22:11:36 +00:00
chs
975004d9f1 several ext2fs fixes provided by Barry Bouwsma:
- set ip->i_e2fs_dtime to time_second, not time_uptime.
 - don't allow ipref to go negative
 - fs->e2fs.e2fs_icount is a valid inode number, allow it.
2006-12-09 22:07:48 +00:00
chs
74234c1818 don't include <sys/endian.h> when building as a host tool. 2006-12-09 22:02:24 +00:00
chs
5115829218 feed /dev/null to awk for building modedef.c (for building on solaris). 2006-12-09 22:01:01 +00:00
chs
a3f1a799dd apply part of gcc SVN rev 112421 (for building on solaris):
* config.gcc (sh*-*-*): Don't use c-c ranges for tr.
2006-12-09 21:59:50 +00:00
christos
c83bfb9f05 - Change all emalloc to ecalloc, since the previous implementation of emalloc
zeroed out the buffers.
- Provide a macro for the tab rounding.
2006-12-09 21:42:40 +00:00
manu
57cf012b11 Add support for 4 and 8 ports modem boards from Perle systems 2006-12-09 21:06:06 +00:00
dyoung
a26b3af0e0 Render the format %% as %. 2006-12-09 20:18:43 +00:00
dyoung
f3fbc3bb0f Change the name of the host disklabel to nbdisklabel-${MAKEWRAPPERMACHINE},
where ${MAKEWRAPPERMACHINE} is the suffix XXX on the target's make
wrapper, nbmake-XXX.

Fixes toolchain/30673, "single arch host disklabel isn't enough".
2006-12-09 20:13:13 +00:00
bjh21
2f3712dfa1 defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
2006-12-09 19:33:42 +00:00
dyoung
0aaca355b2 Fix misplaced ampersand. Noticed by Greg Troxel. 2006-12-09 19:29:18 +00:00
chs
c398ae9734 a smorgasbord of improvements to vnode locking and path lookup:
- LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
2006-12-09 16:11:50 +00:00
chs
a8459c8cc1 in lockstatus(), report LK_EXCLOTHER if LK_WANT_EXCL or LK_WANT_UPGRADE
is set, since the thread that set either of those flags will be the next
one to get the lock.  fixes PR 35143.
2006-12-09 15:59:25 +00:00
tsutsui
6f7d423e1a Use "options<space><tab>" 2006-12-09 12:52:16 +00:00
tsutsui
8474274d47 Add the following network devices:
- pcn at pci
- wm at pci
- makphy at mii
- rgephy at mii
- rlphy at mii
2006-12-09 12:45:35 +00:00
bouyer
8f9ec90387 Remove extra ) causing compile failure when CONS_OVERRIDE is defined.
From Hideo Masuda in PR port-xen/35217.
2006-12-09 10:37:52 +00:00
dyoung
cf7bb443ac Straggler from last: convert to rtflush(). 2006-12-09 06:32:58 +00:00
manu
99a403e274 From Joy Latten: Add support for SELinux security contexts. Also cleanup the
libipsec interface for adding and updating security associations.
2006-12-09 05:52:57 +00:00
manu
10cadc281e From Simon Chang: More hints about plain RSA authentication 2006-12-09 05:44:34 +00:00
dyoung
c308b1c661 Here are various changes designed to protect against bad IPv4
routing caused by stale route caches (struct route).  Route caches
are sprinkled throughout PCBs, the IP fast-forwarding table, and
IP tunnel interfaces (gre, gif, stf).

Stale IPv6 and ISO route caches will be treated by separate patches.

Thank you to Christoph Badura for suggesting the general approach
to invalidating route caches that I take here.

Here are the details:

Add hooks to struct domain for tracking and for invalidating each
domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.

Introduce helper subroutines, rtflush(ro) for invalidating a route
cache, rtflushall(family) for invalidating all route caches in a
routing domain, and rtcache(ro) for notifying the domain of a new
cached route.

Chain together all IPv4 route caches where ro_rt != NULL.  Provide
in_rtcache() for adding a route to the chain.  Provide in_rtflush()
and in_rtflushall() for invalidating IPv4 route caches.  In
in_rtflush(), set ro_rt to NULL, and remove the route from the
chain.  In in_rtflushall(), walk the chain and remove every route
cache.

In rtrequest1(), call rtflushall() to invalidate route caches when
a route is added.

In gif(4), discard the workaround for stale caches that involves
expiring them every so often.

Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a
call to rtflush(ro).

Update ipflow_fastforward() and all other users of route caches so
that they expect a cached route, ro->ro_rt, to turn to NULL.

Take care when moving a 'struct route' to rtflush() the source and
to rtcache() the destination.

In domain initializers, use .dom_xxx tags.

KNF here and there.
2006-12-09 05:33:04 +00:00