Commit Graph

187359 Commits

Author SHA1 Message Date
skrll
c2796a5929 Shut gcc up. 2010-01-14 11:57:06 +00:00
sborrill
f5b7520428 Regen 2010-01-14 11:27:52 +00:00
sborrill
5b8adc00bc Fix typo in (unused) vendor name 2010-01-14 11:27:23 +00:00
skrll
465f44f472 s/PCI_PRODUCT_ALI_M1543/PCI_PRODUCT_ALI_M1533/ now that dsl@ has fixed
pcidevs.

Hi dsl!
2010-01-14 10:32:49 +00:00
wiz
37276ee71d Consistency: set for obsolete files should be "foo-obsolete",
tags only "obsolete".
2010-01-14 10:04:18 +00:00
matthias
1bb1b66ea8 Make ums.c work with a "Microsoft Natural Ergonomic Desktop 7000" mouse.
XXX The tilt function still doesn't work for me.
2010-01-14 09:30:39 +00:00
jdc
253dc3f27f Add cas(4). 2010-01-14 07:47:53 +00:00
macallan
089ff6369d set a delta value on the master channel and move it to the outputs class so
volume control via PMF works
2010-01-14 02:21:19 +00:00
macallan
351d4f5ebb set a delta value for the master channel so volume control via PMF works 2010-01-14 02:20:07 +00:00
macallan
8eb1405f38 actually assign audio control command codes to the audio control keys 2010-01-14 02:18:59 +00:00
joerg
56da4fa7b5 Move AMD64's bswap64 implementation from libc to src/common and share it
with the kernel.
2010-01-14 02:09:46 +00:00
joerg
a6cc3b46f7 Provide inline assembly version of bswap64. 2010-01-14 02:06:04 +00:00
jakllsch
d34043f1da Revert code I added in 1.133 that touches the PCI_COMMAND_IO_ENABLE and
PCI_COMMAND_MEM_ENABLE bits in PCI_COMMAND_STATUS_REG.  This causes
problems where the BAR is 0.  'options PCI_ADDR_FIXUP' is more
appropriate when these bits are not set correctly by the BIOS.
2010-01-13 23:24:29 +00:00
skrll
8b4b9f3e56 Shut gcc up. 2010-01-13 22:34:07 +00:00
christos
14e255cf54 use RTLD_NOW now that it works. 2010-01-13 20:18:24 +00:00
christos
12bd4dbd45 PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols
when we are doing immediate binding, leave them alone and they will be dealt
with later during lazy binding. From skrll@
2010-01-13 20:17:21 +00:00
njoly
56cdb3bbf3 Use __arraycount instead of locally defined macro. 2010-01-13 15:31:47 +00:00
tsutsui
9fd36a346a Fix tab/space for www changes page. 2010-01-13 15:21:16 +00:00
he
12e154bf88 Bump the ramdisk size so that the contents fits again.
OK'ed by reinoud@
2010-01-13 14:24:58 +00:00
cegger
abd4f4b435 recognize SVM PauseFilter 2010-01-13 12:54:49 +00:00
tsutsui
e66572f020 Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on
pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c.
A comment in the macro says AUXIO4M_FTC bit is auto-clear,
but my two SS20s (including compatible) with 150MHz hyperSPARCs
get data_overrun without it, and no bad side effect on SS5
(works with and without this change).

Closes PR port-sparc/42516, which is the last one of a bunch of
floppy issue on NetBSD/sparc since NetBSD 2.0 days. See
http://mail-index.NetBSD.org/port-sparc/2009/12/20/msg000484.html
for details.
2010-01-13 12:43:06 +00:00
drochner
fff710a018 fix some bitmask in PCI Express capabilities decoding
being here, fix some typos and add a comma for clarity
2010-01-13 12:18:55 +00:00
drochner
b265b3ebf8 RFC783 says the ErrMsg sent with an ERROR packet needs to be
NUL-terminated
2010-01-13 10:56:17 +00:00
skrll
ade14235a9 Add dhcp support to NetBSD/hp700 install stuff. 2010-01-13 10:12:32 +00:00
martin
faac5a2278 Avoid adding -Os to CFLAGS if DBG is set and contains -g.
This helps gdb a lot when compiling local debug versions of sysinst.
2010-01-13 07:52:38 +00:00
martin
1aca3c1cd8 Use the proper structs for ioctls to fetch network configuration.
Might fix PR 42436.
2010-01-13 07:48:57 +00:00
macallan
0e3560f1eb revert brainfart 2010-01-13 05:08:24 +00:00
pooka
49d3a570e6 need object directory for etc/mtree to run distrib-dirs 2010-01-13 02:24:06 +00:00
pooka
2fdef1b4e0 In rumptest, create obj dirs before distrib dirs. Fail if distrib dir
creation fails.

per clue-by-4 from mrg
2010-01-13 02:18:25 +00:00
mrg
c1b551b4f5 replace local ci_cpuname[] and use new cpu_name(). 2010-01-13 02:17:12 +00:00
mrg
efc854cf68 introduce a new function that returns a unique string for each cpu:
char *cpu_name(struct cpu_info *);

and use it when setting up the runq event counters, avoiding an 8 byte
kmem(4) allocation for each cpu.  there are more places the cpuname is
used that can be converted to using this new interface, but that can
and will be done as future work.

as discussed with rmind.
2010-01-13 01:57:17 +00:00
pooka
065afcb61a Minimize unnecessary differences in rump. 2010-01-13 01:53:38 +00:00
dyoung
a0fa2e365c ./usr/libdata/ldscripts/kmodule will not be installed if MKKMOD=no, so
add 'kmod' to its keywords.
2010-01-13 01:23:06 +00:00
pooka
8bb03ea96b Add a few symbols used by the tty code. 2010-01-13 01:18:51 +00:00
pooka
e0714677a2 cgd is attached via the module interface now instead of pseudodevs. 2010-01-13 00:31:57 +00:00
pooka
a25612b2d0 If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE. 2010-01-13 00:07:40 +00:00
dyoung
08d9aa56c1 Provide a more complete modules hook, cgd_modcmd(), derived from
vnd_modcmd().
2010-01-12 23:49:34 +00:00
msaitoh
2e42fd64c9 - Add i82567LM-2 i82567LM-4 i82567V-3 LAN controller.
- Reset GMII interface after wm_reset() in wm_init().
- Rework for assigning mii_{read,write}reg(). Use PCI product ID to identify
  the PHY.
- Add code about LPLU(Low Power Link Up) function. Now we can linkup 1000BaseT
  on PCH. It seems that we have to do the same work for ICH9.
2010-01-12 22:26:30 +00:00
rmind
17990e0041 Revert 1.194 rev. 2010-01-12 22:11:13 +00:00
msaitoh
1540dbd923 Add some macros 2010-01-12 21:48:26 +00:00
msaitoh
3d43215552 regen 2010-01-12 21:25:03 +00:00
msaitoh
efbc8a7a03 add i82567LM-2 i82567LM-4 i82567V-3 LAN controller 2010-01-12 21:24:39 +00:00
msaitoh
376a78b62e rename some wm devices to know PHY type 2010-01-12 21:23:38 +00:00
dyoung
1b379d7ac4 Make cgd(4) into a detachable pseudo-device. Thanks, Jan Danielsson,
for the patches!

I've lightly tested the basics: create cgd0 on vnd0d, initialize with
zeros, newfs /dev/cgd0a, mount, copy files on, unmount, drvctl -d
cgd0.  Works fine.  I also shutdown with a cgd0 configured: detached as
expected.
2010-01-12 21:08:08 +00:00
mhitch
a9a95e1379 Fix incorrect Acer Labs ID. PCI_PRODUCT_ALI_M1543 had been incorrectly
identified as product code 0x1533, which is what is actually in the
CS20.  PCI_PRODUCT_ALI_M1543 was corrected recently and sio.c would fail
to match the bridge.
2010-01-12 20:24:45 +00:00
christos
139d3d5a3b - call the mapping function directly instead of el_wset().
- save the strings passed to the mapping function so that they don't get
  re-used. This leaks. To fix it properly we could either pass a flag to
  free particular entries before re-using, or allocate all of them.
  Allocating all of them wastes memory, allocating some of them makes
  the code more complex.
This fixes compatibility binding (shell tab completion for example)
2010-01-12 19:40:50 +00:00
christos
c9043bbf6e - in the argv conversion, handle NULL as NULL
- when printing tab/nl print them, don't handle them specially.
2010-01-12 19:37:18 +00:00
pooka
ef38ca9933 Make r/w servers unmount themselves cleanly upon receiving SIGINT/TERM. 2010-01-12 18:43:37 +00:00
pooka
b95be6c682 Add convenience routine puffs_unmountonsignal(), which does exactly that. 2010-01-12 18:42:38 +00:00
macallan
179feaec06 send PMF events for volume control keys 2010-01-12 17:39:21 +00:00