Commit Graph

176920 Commits

Author SHA1 Message Date
cegger
3e297f66ad manpages for new age(4) and atphy(4) drivers 2009-01-16 21:28:10 +00:00
cegger
72d24efba3 manpages for new age(4) and atphy(4) drivers. 2009-01-16 21:27:41 +00:00
christos
361e31839f make this compile [now that I am on a machine that can compile :-)] 2009-01-16 21:18:37 +00:00
dsl
d020c6ab24 Allocate string vector in chunks, instead of calling realloc()
every time something is added.
2009-01-16 21:15:34 +00:00
dsl
74a68f7259 Debug print improvements. 2009-01-16 21:14:30 +00:00
dsl
cd6806d831 Send output of Error() to debug_file (unless stderr/stdout). 2009-01-16 21:13:13 +00:00
christos
826ddf7ef5 PR/40411: Hisashi T Fujinaka: standalone-tcsh dumps core when tab completing
The new rune code abuses __UNCONST to lazily initialize _RuneLocale. If
that happens to be the _DefaultRuneLocale which is const, the program will
core-dump because it will attempt to write to read-only memory. Catch this
and clone a copy of the locale and return it. The reason we don't see
everything core-dumping is because our shared library code probably loads
the text segment COW so it works (Is there an mprotect missing somewhere?).
But on statically linked binaries this is not the case and we die.

XXX[1]: Vet the code so that we are sure that there is no more of that
        happening trying to get rid of much of the __UNCONST'ing.
XXX[2]: This needs to be fixed for 5.0 and all related fixes.
XXX[3]: There is one place in the code where _DefaultRuneLocale is treated
	specially, does the patch break things?
2009-01-16 21:12:11 +00:00
cegger
0da9122630 age driver needs mii_phy 2009-01-16 21:11:27 +00:00
cegger
7546e67ddd Driver for Attansic Technology F1 10/100/1000 Ethernet PHY.
Written by Pyun YongHyeon for FreeBSD, ported to OpenBSD by Kevin Lo, ported to
NetBSD by me.
2009-01-16 21:06:24 +00:00
cegger
351ce8ab9a Use mii_anar(). No functional change. 2009-01-16 20:52:20 +00:00
cegger
100faa2cd7 add mii_anar(). From OpenBSD. 2009-01-16 20:51:18 +00:00
dsl
e9eac4d91e Parse_Error() really doesn't need to cruft up a dummy structure for curFile.
It only needs the 'fname' and 'lineno' fields - so just use NULL/0 when
curFile is NULL.
2009-01-16 20:50:24 +00:00
cegger
20e2f309c1 regen 2009-01-16 20:42:19 +00:00
cegger
dc7d4d47a4 add ATHEROS F1 and F2 PHYs 2009-01-16 20:41:39 +00:00
cegger
32b43f4cc8 Driver for Attansic L1 gigabit ethernet driver.
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then
ported to NetBSD by me.

XXX Driver needs testing.
2009-01-16 20:18:08 +00:00
jym
f0ba6e4c1b Replace x86 memory fences in Xen drivers by their Xen equivalents, to reduce
MD dependency:

x86_lfence() => xen_rmb()
x86_sfence() => xen_wmb()
x86_mfence() => xen_mb()

Discussed in
http://mail-index.netbsd.org/port-xen/2009/01/15/msg004655.html

Ok by bouyer@.
2009-01-16 20:16:47 +00:00
bouyer
c99586fc4a According to the latest datasheet I have (1.09), the transmitter and ckecksum
offload clocks needs to be programmed according to the negociated speed;
make it so. This makes the sample JME260 I have work.
2009-01-16 19:56:06 +00:00
pooka
aeac8f5107 Move fs-specific stuff in Makefile to fs/Makefile.inc to clarify
top-level Makefile.
2009-01-16 19:39:52 +00:00
pooka
9857fb8cb2 remove fsopts asserts - the parameter is unused, so we don't care here 2009-01-16 18:02:24 +00:00
christos
52f56a8c21 Support amd unmounts, from Anon-Ymous. Not turned on yet because we need
to patch amd for this to work.
2009-01-16 17:31:22 +00:00
yamt
cf5a92c11e always use the new version of wscons_event for in-kernel. 2009-01-16 15:14:11 +00:00
christos
45220987b8 PR/40414: Peter Bex: nvi abort()s in autoindent/autoindent differs from
historical vi
2009-01-16 15:05:55 +00:00
he
c35e4870f2 Add some more weak aliases for versioned library calls, to prevent
that we try to link in objects from libc.a where we also provide our
own replacements here, leading to multiple definitions during linking.

OK'ed by christos@
2009-01-16 14:48:04 +00:00
yamt
350f838fcf wsevent_init: always initialize version. pointed out by christos. 2009-01-16 14:38:09 +00:00
jmcneill
e90eb84a4b regen for HP Generic RNDIS 2009-01-16 13:31:41 +00:00
jmcneill
3e9c6e548d Add HP Generic RNDIS ID 2009-01-16 13:31:01 +00:00
hira
796ac4ad75 Fix off-by-one. 2009-01-16 13:30:07 +00:00
njoly
8ff5603c09 Regen for compat 50 update. 2009-01-16 13:12:35 +00:00
njoly
9554a2932f Update some syscalls that now needs compat50 timeval structure. 2009-01-16 13:10:47 +00:00
haad
d80238dac9 Add struct disk to dm_dev so our LV will beshowed in iostat output. 2009-01-16 11:19:02 +00:00
drochner
21a81eb749 update struct timeval 2009-01-16 10:52:07 +00:00
jmmv
9b08dc4841 Make sure that the database version is correct if we are updating a single
record; otherwise, bail out early to avoid leaving the database in an
inconsistent state (some old-format records, one new-format record).
2009-01-16 10:42:36 +00:00
bjh21
0c5de7f101 Simplify the pre-ARMv6 code. Specifically:
* Take advantage of conditional instructions to avoid branching.
 * Tweak register allocation to remove some MOVs from the debug code.
 * In the debug code, only the address of the counter varies between
   the success and failure cases, so make the rest of the code common.

Also correct the initial comment: _lock_cas returns the old value, not a
boolean.
2009-01-16 10:28:24 +00:00
junyoung
555ffa79b2 Fix one more build breakage ("warning: 'er' may be used uninitialized in
this function").
2009-01-16 10:24:20 +00:00
uebayasi
7caa97c9ca config_found_sm(9) -> config_found_sm_loc(9) 2009-01-16 09:51:34 +00:00
uebayasi
547b81ca4c Better whitespace in ioconf.c output. 2009-01-16 09:43:41 +00:00
jnemeth
b0196b24f8 PR/40404 - Robert Elz -- Thailand airport updates 2009-01-16 08:51:37 +00:00
junyoung
121584256f Fix build error (hi christos). 2009-01-16 07:09:09 +00:00
yamt
20c094eb67 uvm_page_unbusy: add an assertion 2009-01-16 07:01:28 +00:00
yamt
ae07703384 cache_prune: use (a - b > 0) rather than (a > b) to compare ticks. 2009-01-16 06:59:21 +00:00
mhitch
23a9d45ee2 When checking drive status, bump the pointer to the previous status
rather than using just drive 0 status.  Another drive with a different
status would cause the previous status state to flip-flop and repeatedly
output state change messages.
2009-01-16 05:40:50 +00:00
yamt
4f322c072e one more change which i forgot to commit with
UVM_PAGE_HASH_PENALTY -> UVM_PAGE_TREE_PENALTY rename.
noticed by Andreas Wrede.
2009-01-16 05:15:29 +00:00
mhitch
258f66824c Another missed part of the device_t/softc split. Fixes ld(4) devices
on mlx(4) controller.
2009-01-16 04:20:28 +00:00
yamt
09ff411cf6 - g/c stale function prototypes.
- rename UVM_PAGE_HASH_PENALTY to UVM_PAGE_TREE_PENALTY.
2009-01-16 02:33:14 +00:00
haad
660aec81c7 Add lvm rc.d script to build. 2009-01-16 01:59:23 +00:00
haad
f42e53f384 Add lvm script to the lists. 2009-01-16 01:58:32 +00:00
yamt
3e54d28391 use TAILQ_FOREACH where appropriate, rather than rolling their own. 2009-01-16 01:48:09 +00:00
yamt
46b53b5f94 replace clearly broken bufq_priocscan_cancel with
something which might work.  (hi reinoud)
2009-01-16 01:44:27 +00:00
bjh21
e26a7c553a cpu_info_store, machine, and machine_arch can all be shared by acorn26 and
arm32, so share them.
2009-01-16 01:03:47 +00:00
haad
44e4eeea57 Disable unloading of dm driver when there are any devices defined. This means
that we have to run lvm vgchange -a n before modunload in NetBSD.

We really need to disable module unloading only for mounted devices, I have
to look at vfs_hooks for mount/umount calls and find way how to mark devices
as mounted in dm driver.
2009-01-16 00:46:12 +00:00