Commit Graph

212508 Commits

Author SHA1 Message Date
njoly 6264f5a29a +xgi.0 2012-07-24 17:40:05 +00:00
jakllsch 5b9a15ee6c Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.
2012-07-24 14:04:28 +00:00
reinoud 27889a99dc Adding an assert that checks for struct pmap_l2 not being bigger than
PAGE_SIZE.

While here, also add possible bug allerts of temporary mmaps that might screw
up memory.
2012-07-24 13:59:26 +00:00
ginsbach aa013a1b5e - Fix PR 19468 by adding -f and -p options to pr(1).
Changes adapted from patch by Ryan Younce and FreeBSD.  The provided
  patch was not used directly as the changes didn't mimic the System V
  origins of these options.  System V pr(1) does not pause for empty files.
  These changes follow that precedent.

- Improve man page description of the -i option.
2012-07-24 02:13:04 +00:00
manu 3d50d37923 Backout NCHNAMLEN check for cache_enter. That change collided with rmind's
move of this exact check into cache_enter
2012-07-23 19:06:10 +00:00
matt dfd093b0ed Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support. 2012-07-23 16:27:44 +00:00
skrll c263f8063d Make auxiliary register naming consistent for the 1136. 2012-07-23 15:51:48 +00:00
tsutsui d756dcd32c Make reboot(2) actually work (don't access %sp after MMU is turned off).
Also cleanup spaces and #if 0'ed code.  Tested on both LUNA and LUNA-II.

Should be pulled up to netbsd-6.
2012-07-23 15:10:17 +00:00
jakllsch 46d3513c30 Use "<<" instead of "<" for shift-to-left. 2012-07-23 14:07:03 +00:00
matt 64c1c6e064 Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).
2012-07-23 13:32:19 +00:00
matt adccf9739d Add fec (arm) and mdio (powerpc) 2012-07-23 13:05:48 +00:00
matt 5e6f6f48d6 Change cmpeq to cmp and add "cc" to clobber in the ldrex/strex asm. 2012-07-23 12:36:41 +00:00
manu 00896e49d4 Di not call cache_enter with path components bigger than NCHNAMLEN, as it
panics the kernel.
2012-07-23 12:15:30 +00:00
msaitoh 777a6502dc regen. 2012-07-23 07:47:40 +00:00
msaitoh af0f4fa6d2 Add some ATI and SIS devices.
Fixes PR#39580
2012-07-23 07:47:14 +00:00
kiyohara a2068f0951 Enable idmac. 2012-07-23 06:19:04 +00:00
kiyohara 52b45b8c4d Support Kirkwoods. Kirkwoods has 4ch for XORE and not has IDMAC. tested on OpenBlockS A6 with ch0 only. 2012-07-23 06:09:47 +00:00
matt 6c670340fc Add dk and flash depends.
Make ramdiskbin dependent on Makefile.
2012-07-23 04:25:03 +00:00
matt bfbab4340a Note FPU emulation for BookE and mii_statchg argument change. 2012-07-23 04:23:06 +00:00
pgoyette 95c7a95f81 Oppps - should not removes lines from this file, just mark the old entries
as obsolete.  Thanks for pointing this out, Berndt!
2012-07-23 04:21:39 +00:00
matt 4923f4a4ee Add support for PPC FP emulation to BookE.
Pass a ksiginfo_t to fpu_emulation so it can give more detailed
info on signals.
2012-07-23 04:13:06 +00:00
msaitoh b9bc57065e Add some Intel 7 series devices. 2012-07-23 03:32:30 +00:00
christos eb537b13b6 Mention how big the name can be. 2012-07-23 02:21:14 +00:00
jym 82b5b80a5d Add more ratechecks to avoid console spam when the backend gets a
stream of errors.

Remove the unused xbdi_errps (error per second) variable. Errors should
rather be tracked in absolute, with a threshold that forces a time penalty
to the xbdback thread when frontend goes nuts.
2012-07-23 01:31:01 +00:00
mhitch ddc56403a8 Fix cd9660_read() to not read past the end of the file. This would result
in incorrect resid values, and causes the read of /boot.cfg to ignore the
file.  If the requested transfer extends past the end of the file, force
the internal buffer to be used, and when transferring data from the
internal buffer, limit the transfer to what's left in the file.  CDROM
boot will now process the /boot.cfg file.
2012-07-23 00:49:20 +00:00
pgoyette 6a58166ea1 Tests n201 and n202 have been removed with the recent update to ipf 2012-07-23 00:25:41 +00:00
matt 24240d720e Make it match AR8035 2012-07-23 00:09:49 +00:00
matt 20d6accb8c Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
2012-07-22 23:46:10 +00:00
rmind b017b8c719 Welcome to 6.99.10 (bump for cache_enter and lwp_t changes). 2012-07-22 22:44:28 +00:00
rmind 6d7c79596a fork1: fix use-after-free problems. Addresses PR/46128 from Andrew Doran.
Note: PL_PPWAIT should be fully replaced and modificaiton of l_pflag by
other LWP is undesirable, but this is enough for netbsd-6.
2012-07-22 22:40:18 +00:00
joerg 37a2d02f2e Always provide *_chk prototypes. Fixes DBG=-g build of libc. 2012-07-22 21:05:26 +00:00
joerg c91c5846f7 + /usr/tests/usr.bin/nbperf 2012-07-22 21:04:44 +00:00
joerg 23fe3eb28c Add basic regression test for nbperf(1) 2012-07-22 20:38:20 +00:00
joerg 7c66e13b32 Needs pmap_write_protect to finish DBG=-g build with clang. 2012-07-22 20:32:31 +00:00
jakllsch a0cf75ab7b Actually, the WDT-expired bit in the ICR needs to be cleared before enabling
watchdog reset.
2012-07-22 19:35:04 +00:00
jym ede9b84cdc Don't leak stack content when reading the Xen suspend value.
XXX pull-up to -6.
2012-07-22 19:30:19 +00:00
jakllsch 217ea076e5 It turns out my previous commit here was off by one. 2012-07-22 19:07:33 +00:00
jakllsch dc6a13a152 FLUSH CACHE EXT is a 48-bit command, issue as such. Both FLUSH CACHE commands
will return the LBA of first failure in the return task file, specifiy that we
want it read, even if we don't look at the value.
2012-07-22 18:42:11 +00:00
jakllsch 4c0d1d5807 ATA-6 and ACS-2 drafts both say the flush cache commands may take longer than
30 seconds to complete.  For now assume 5 minutes will always be enough.
2012-07-22 18:37:31 +00:00
jakllsch e6706273af Port multiplier registers are 64-bits wide (although the ones we need only
implement 32-bits).  Implement the access routines using 64-bit values and add
32-bit wrappers thereto.
2012-07-22 18:21:17 +00:00
jakllsch 78a12c25c2 The vendor and product IDs are 16-bit, print out as such. 2012-07-22 18:17:30 +00:00
jakllsch 935da2146f Correctly issue port multiplier register access commands as LBA48 now that the
FIS code doesn't get in the way of doing that.
2012-07-22 18:12:01 +00:00
martin e45fceb35a Fix printf formats 2012-07-22 18:09:16 +00:00
jakllsch c2b3a5ec40 KASSERT if we attempt to access an invalid port.
Also, small whitespace change for internal consistency.
2012-07-22 18:03:34 +00:00
jakllsch be34f7e01d SATA uses the head portion of the device register in the command protocol for
port multiplier register access.  Thus, in the LBA48 case, pass the complete
r(hd|dh)_dh byte back and forth to the upper layers.  (This is irrelevant in
the LBA28/CHS code path for what should be obvious reasons.)
2012-07-22 17:57:57 +00:00
martin 2626ebc27a Fix printf format 2012-07-22 17:48:53 +00:00
manu c4b1a0ab97 Fix hang unmount bug introduced by last commit.
We introduced a slow queue for delayed reclaims, while the existing
queue for unmount, flush and exist has been renamed fast queue. Both
queues had timestamp for when an operation should be done, but it was
useless for the fast queue, which is always used to run an operation
ASAP. And the timestamp test had an error that turned ASAP into "at next
tick", but nobody what there to wake the thread at next tick, hence
the hang. The fix is to remove the useless and buggy timestamp test for
fast queue.
2012-07-22 17:40:46 +00:00
jakllsch 21c11346cc Use IST_LEVEL_HIGH for the ist argument to intr_establish() (as is done in
marvell_intr_establish() and other relevant places) instead of 0 in
mvsoc_bridge_intr_establish().  This IST argument isn't used anywhere,
but it looks better this way.
2012-07-22 17:14:18 +00:00
jakllsch d2539b0884 The maximum watchdog period is dependant on mvTclk; calculate at runtime.
This gets the maximum period up to 25 seconds at 166⅔MHz mvTclk.
2012-07-22 16:59:10 +00:00
jakllsch 170dab62fb Remove duplicate global variable. 2012-07-22 16:54:35 +00:00