Commit Graph

195430 Commits

Author SHA1 Message Date
pgoyette 3670e11cda Fix a couple of name-space changes that fell through the cracks.
Hello, martin!
2010-12-11 14:19:29 +00:00
martin 2d30a8bf37 Namespace police: don't use very broad names like CTX_MASK (which accidently
collide with sparc* specific MD macros), mechanically prefix with BNX_.
2010-12-11 12:14:06 +00:00
pooka c876d9d94e Reset error from umount. This squelches atf "cleanup should not
fail" warning if a test fails when the fs is not mounted.
2010-12-11 11:36:48 +00:00
pooka 772299258e Can't use dynamic data in cleanup (it's run in a different process),
so get rid of $MNTPT and use the constant value the variable was
set to.
2010-12-11 11:31:27 +00:00
pooka 126e32a17e Detach by default or -s to stay-on-top. 2010-12-11 10:44:55 +00:00
rtr 8f9b278727 add missing liblua_g.a debuglib entries needed for MKDEBUGLIB=yes 2010-12-11 10:41:11 +00:00
mrg 2e9e79b55f disable ext2fs support in /boot on amd64 for now. it breaks cd booting.
XXX: i don't know why, or plan to figure it out, but at least now amd64
XXX: isos boot again.
2010-12-11 08:20:17 +00:00
christos a39b3d540d Back this out. Fails lockdebug with duplicate lock initialization.
Please test with LOCKDEBUG!
2010-12-11 04:21:17 +00:00
pgoyette cedd9a0b1c Enhance the swsensor(4) pseudo-device's capabilities to emulate more
sensor types
2010-12-11 04:13:03 +00:00
mrg cad3665385 add a hack to fix up old labels that do not have zero's in numBlocksHi:
if the total sectors reported (via disklabel or otherwise) is smaller
than 2^32, but numBlocksHi is set, zero it out instead.

tested by myself and christos, should fix reports of weirdness seen.
2010-12-11 03:12:10 +00:00
phx 5e554614ee Added viaenv(4), which no longer crashes the system during attachment since
todays bug fix in the driver.
2010-12-10 21:27:21 +00:00
phx 2022dcaf61 Initialize sc_iot early enough to avoid a crash when the hardware monitor
function was found disabled.
2010-12-10 21:20:09 +00:00
joerg f360555e8a Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.
2010-12-10 20:08:17 +00:00
joerg 6ccee47911 Revert last as gcc(1) checks for -r to disable passing down --relax e.g.
on Sparc.
2010-12-10 20:06:17 +00:00
ahoka 6c3ce79660 nsmb module makefile 2010-12-10 19:46:40 +00:00
ahoka 6110939092 Module support for NetBSD 2010-12-10 19:44:18 +00:00
phx ef6c6c099e Add uthum(4), which I just verified working. 2010-12-10 17:54:34 +00:00
wiz a1b3c25c08 binutils-2.21 out. 2010-12-10 07:23:46 +00:00
mrg 1cc7ce56fd if MKCOMPAT != "no", don't include the MD files for now -- they're only
used for compat right now.  we should fix this better later.
2010-12-10 07:17:00 +00:00
bsh 98358732ad fix a LINTSTUB 2010-12-10 02:06:22 +00:00
matt e135fb83e2 When attaching a PCI bus, the pci chipset is not optional. 2010-12-10 00:38:49 +00:00
sjg e2f0bc58ba fix style 2010-12-10 00:37:23 +00:00
sjg d196fd3962 Need to export LC_ALL=C too 2010-12-10 00:36:33 +00:00
macallan 971dc0f85a add rum* at uhub? since it was confirmed working a while ago 2010-12-10 00:36:03 +00:00
macallan 3c00f3d7d1 fix some typos, new ADB is no longer experimental
while there add some (S)ATA drivers from i386 which might be found on PCI cards
2010-12-10 00:31:26 +00:00
macallan 318f29505d return the right values for ioctl(WSKBDIO_GTYPE) and ioctl(WSMOUSEIO_GTYPE)
fixes PR 23991
2010-12-10 00:17:08 +00:00
jym 2d94b53c5d BCM5709S support. 2010-12-09 23:40:12 +00:00
jym f49994b935 BCM5700 family PHYs are also supported. Bump date. 2010-12-09 23:35:24 +00:00
jym b2cb6a38f6 Document BCM5709S support. While here, complete media types list. 2010-12-09 23:34:10 +00:00
christos b29510e02e PR/41415: IdOp: Implement save and restore palette for vga. 2010-12-09 23:33:30 +00:00
jym 8cad040aa0 Add support for BCM5709S (SerDes PHY) in brgphy(4).
From FreeBSD, via OpenBSD, with some minor adaptations.

No comments, no objections on tech-kern@.

The driver was tested on a Dell M710. Access was kindly provided by
Uwe Toenjes, whom I thank for this.

See also http://mail-index.netbsd.org/tech-kern/2010/12/01/msg009478.html
2010-12-09 23:25:49 +00:00
jym 19179df1ef Remove htolexx calls, as bnx(4) NICs are capable of swapping endianess.
The macros for PAGE_SIZE were fixed with the previous patch (if_bnxreg.h
splitting, rev 1.11).

From OpenBSD. Their commit log reads:

bnx(4) is a bit special. The chip itself is capable of swapping endianess
so there is no need for htoleXX calls. The only thing needed is the correct
layout of the DMA-ed structures. Additionally it uses PAGE_SIZE but assumed
that it is always 4k. Fix the macros that failed to respect that so that it
works on 8k PAGE_SIZE systems. This makes bnx(4) work on sparc64.
2010-12-09 23:14:06 +00:00
abs eb439bf1a7 Add noieee versions for lround(), lroundf(), lrint(), lrintf(),
llrint() and llrintf().  Code copied from round(), roundf() and
rint() and modified for return values.  Its possible this may not
do the right things in edge cases, but if so its likely to have
the same issues as the existing round(), roundf() and rint().

All this used by vax (only), and should allow xnest to complete
build.
2010-12-09 22:52:59 +00:00
jym 92c8678b42 Similar to bge(4), split if_bnxreg.h in two parts:
- if_bnxreg.h: general register values, flags... for bnx(4), that can
be included in other drivers
- if_bnxvar.h: PCI or device specific code (device state data, debug
macros etc.), which should remain private to bnx(4)

No comments, no objections on current-users@.

See discussion:
http://mail-index.netbsd.org/current-users/2010/12/01/msg014926.html
2010-12-09 22:34:37 +00:00
sjg 2550dc933f meta_oodate(): we should track 'latestdir' on a per process basis.
Also, only consider target out of date if a not-found file is outside
'CWD'.  Ignore anything in "/tmp/" or tmpdir.
2010-12-09 22:30:16 +00:00
joerg cb6cc2679c Wrap sys_errlist constants in a macro to make it easier to extract
the strings reliably with sed/awk.
2010-12-09 21:27:31 +00:00
riz ee56abbce8 Wrap the bigger tests in RESIZE_FFS_BIG_TESTS, as the automated test
run seems to choke over a certain size.  (This will speed up the runs
as well)
2010-12-09 17:28:05 +00:00
riz 351455dcdb Remove accidentally-committed debug-assist code. 2010-12-09 16:59:35 +00:00
njoly 989d80ec98 Remove reference to Curses development kit (CDK) which do not exists
anymore.
2010-12-09 13:51:45 +00:00
njoly a2a0aef6cd s/curses_fileo/curses_fileio/ in xrefs. 2010-12-09 13:26:27 +00:00
njoly b0b35bdc77 Add missing space in fread xref. 2010-12-09 11:21:49 +00:00
enami 8701b1fd0e Wrap long line. 2010-12-09 10:24:56 +00:00
skrll 829aacc0bf Initialise lwp0.l_cpu early so that spl* work. 2010-12-09 10:19:23 +00:00
njoly 5db815a78e Convert a few macros to Vt (variable type). 2010-12-09 09:22:31 +00:00
matt 48d3f85c1c Use ELF_ST_VISIBILITY (S_GET_OTHER( )) instead of a local S_IS_HIDDEN as
suggested by binutils.
2010-12-09 06:22:03 +00:00
riz 788f402244 Add new resize_ffs test programs, and obsolete an old one. 2010-12-09 05:19:43 +00:00
riz 06253fa750 Re-work the resize_ffs(8) tests:
Put real data into file systems before resizing:  the test data
was randomly generated and is in pairs of files each a power-of-two and
power-of-two plus one bytes to hopefully catch block and frag issues.

Each test fills (nearly) the file system with test data.  If shrinking,
it removes enough data so that the shrunken file system will be large enough
to accomodate the data.  (It's done this way to hopefully ensure some or
most of the data will need to be moved when shrinking).  The files are
then checked with MD5 against the known list.  This particular method
was chosen to reduce the amount of data checked in while still retaining
reproducibility.

There are more tests to come;  since resize_ffs(8) currently does not
support ffsv2 or byteswapped file systems, only a couple token expected-fail
test cases for those were added.  Also, only 8:1 blocksize:fragsize
combinations are currently tested.
2010-12-09 05:19:02 +00:00
uebayasi b495fe08bd Fix DEBUG build. 2010-12-09 05:14:28 +00:00
bsh ba2df4f47e adapt to changes in imx51reg.h
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2010-12-09 05:00:14 +00:00
bsh e5fd50b0bb support USB on NetWalker 2010-12-09 04:40:22 +00:00