Commit Graph

195452 Commits

Author SHA1 Message Date
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
uebayasi
a7e80793d8 Fix DEBUG build. 2010-12-09 04:31:57 +00:00
uebayasi
565a3d3094 Make UVM_PAGE_TRKOWN a real flag. 2010-12-09 01:48:05 +00:00
christos
14db3bb9d8 - no cast for malloc
- malloc + memset = calloc
- sizeof(type) -> sizeof(*var)
- small indents
2010-12-09 00:10:59 +00:00
njoly
f23e744cdd Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +00:00
joerg
1b0b455148 Link t_fpu against libm if the compiler doesn't want to inline sin/cos. 2010-12-08 23:50:14 +00:00
jakllsch
02fad731e5 Remove now-incorrect detail about the link address from comment. 2010-12-08 21:56:42 +00:00
phx
b85712c4a1 regen 2010-12-08 21:02:12 +00:00
phx
b719aa55b0 Apple product 0x1000 is a Bluetooth HCI in HID-proxy mode, which was the
reason it appears as keyboard- and mouse-HID. Do not ignore it.
2010-12-08 20:59:58 +00:00
pooka
f72f843cc8 +rumpnet_agr 2010-12-08 20:23:12 +00:00
pooka
02357b48fb weak stubs for agr(4) 2010-12-08 20:20:52 +00:00
pooka
3589617ac9 agr(4) support 2010-12-08 20:20:16 +00:00
pooka
1502fb0dfc +rumpnet_bridge 2010-12-08 18:16:16 +00:00
pooka
4dd3369fc2 add weak stubs for bridge (not the game) 2010-12-08 18:06:58 +00:00
pooka
7ed2407316 Actually, unlike e.g. carp, bridge can be its own component since
it doesn't want to join the protosw party.  We can deal with other
linkhappy stuff with weak symbols.

(where is our modular networking stack?)
2010-12-08 18:06:43 +00:00
pooka
91a3d3404c linkset no more 2010-12-08 17:10:13 +00:00
joerg
5d8f0c3ff5 Don't use the same name for two parameters. 2010-12-08 17:08:07 +00:00
joerg
0dc972e776 Use __c99inline from sys/cdefs.h 2010-12-08 17:06:35 +00:00
njoly
937456b0b9 +ldpd.debug 2010-12-08 16:38:52 +00:00
christos
157bda91a0 PR/44207: Wolfgang.Stukenbrock:
memory-leak in raid-ioctl(RAIDFRAME_GET_COMPONENT_LAB
2010-12-08 16:18:06 +00:00
riz
6a4bbd2cea Remove accidentally-resurrected TODO item. 2010-12-08 15:23:53 +00:00
ryoon
1408146d58 Add myself, Ryo ONODERA. 2010-12-08 10:22:55 +00:00
skrll
a32f8e9c7e Update hp700_intr_establish call. Missed in previous. 2010-12-08 09:48:27 +00:00
wiz
99b0b43bfa Add all options to usage. 2010-12-08 09:43:28 +00:00
wiz
0b2ab2c48b Add all options to SYNOPSIS. New sentence, new line. Some rewording.
Use more macros.
2010-12-08 09:43:22 +00:00
mrg
4defac98e0 add dbcool(4) - there are two of them on the SB2500.
fix a spelling error.
2010-12-08 08:43:34 +00:00
tteras
0303048b1e Use separate SA addresses for phase2's created by admin command. The
phase2 startup overwrites src/dst with ISAKMP ports if they are zero
and we don't want that to happen for the SA ports.
2010-12-08 07:38:35 +00:00
kefren
6d46555eb8 Remove accidentally added file 2010-12-08 07:34:08 +00:00
kefren
b7cc0d63a9 add usr/sbin/ldpd and its man page 2010-12-08 07:20:59 +00:00