Commit Graph

176931 Commits

Author SHA1 Message Date
tsutsui
fbb8e2162a Add options COMPAT_50. 2009-01-17 01:19:18 +00:00
cegger
7971844bd8 Until we do WOL, the PCI power management suspend code is a noop. 2009-01-17 00:02:40 +00:00
cegger
8023f7432d don't call age_stop and age_init in suspend/resume.
pmf network class is already doing that.
pointed out by jmcneill
2009-01-16 23:58:05 +00:00
tsutsui
616515e8fc Split device_t/softc, missed on MI dp8390nic changes 10 months ago.
Also use aprint_*(), and remove unnecessary casts against void * variables.

Tested by John Klos on port-mac68k, and should be pulled up to netbsd-5.
2009-01-16 23:43:46 +00:00
wiz
74e376961d Fix Dd, make output HTML-ready, punctuation and casing improvements. 2009-01-16 23:27:49 +00:00
wiz
8b7eddbcfe Fix Dd, add Xref to age(4). 2009-01-16 23:26:31 +00:00
cegger
09bd2fda5c rename PCI_PMCSR_PME to PCI_PMCSR_PME_STS.
Per request from jmcneill
2009-01-16 23:23:34 +00:00
cegger
fe069f5185 - fix age_read_vpd_word().
- add power management support. From FreeBSD.
2009-01-16 23:10:32 +00:00
cegger
53033e6af4 add Power Management flag. From FreeBSD. 2009-01-16 23:09:27 +00:00
cegger
31614b9ad8 add RCSID 2009-01-16 21:47:56 +00:00
cegger
0bd0dd72c6 drivers for Attansic/Atheros L1 gigabit ethernet and its PHY. 2009-01-16 21:33:15 +00:00
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