196651 Commits

Author SHA1 Message Date
wiz
7733664897 Nitpicking. 2011-01-11 10:47:45 +00:00
nisimura
88e9af105e make sure to have 32B aligned descriptor array. 2011-01-11 10:10:48 +00:00
nisimura
25f1d04e74 always have even numbered descriptors to avoid ones belong to Tx/Rx
share the same cacheline even for 32B cacheline CPU. These six are
provisional code stocks and untested.
2011-01-11 09:45:25 +00:00
pooka
4665e3c895 need unrace-catcher for ffslog 2011-01-11 09:32:50 +00:00
pooka
a05de63f6b Ensure that a) loopback attaches after all the domains have attached
b) loopback is configured only after it has attached.

makes tests/net/if_loop work again
2011-01-11 09:24:05 +00:00
pooka
68ede6388b Add one more component level to networking: IFCFG.
It is executed after IF and the purposes to guarantee the right
order in cross-component interface address configuration.
(e.g. lo0 is attached by net but 127.0.0.1 is configured by netinet)
2011-01-11 09:22:32 +00:00
nisimura
7b058564f1 move module load address printf() to show the correct value. Still
some more work.
2011-01-11 08:19:34 +00:00
nisimura
1c813b2944 add MODULAR loading facility. Disabled for now 'til it gets ready to use. 2011-01-11 08:04:14 +00:00
nisimura
192fab1859 move set_xfermode() call to set PIO0 before the initial drive
identification.
2011-01-11 07:01:21 +00:00
nisimura
1655c840ce add btinfo_modulelist for MODULAR component loading. 2011-01-11 06:57:35 +00:00
jym
2d351d332f Typo fix. 2011-01-11 01:21:32 +00:00
riz
99384b2def Copy a little less data in the ufs2, 4096-byte block test cases.
The file system was filling up instead of *almost* filling up, which
threw off the tests.
2011-01-11 00:50:02 +00:00
macallan
bcebe4e063 use config_finalize_register() instead of config_interrupts() to detect the
codec and attach audio. For some reason we run into a locking panic with
config_interrupts().
Tested on my SS20
2011-01-11 00:49:50 +00:00
jym
3e92b05f36 Add man pages for Xen devices:
pciback.4 xbd.4 xbdback.4 xenbus.4 xennet.4 xpci.4 xvif.4

Blessed by bouyer@
2011-01-11 00:45:04 +00:00
dyoung
d92d0c4971 Don't compute tags over cxgb, its symbols clash too often with symbols
in other drivers and subsystems.
2011-01-11 00:36:03 +00:00
dyoung
93c928cfb9 Regen. 2011-01-11 00:14:41 +00:00
dyoung
4e03721aef Add Intel 82599 product IDs. 2011-01-11 00:13:03 +00:00
yamt
79d46db770 typo in a comment 2011-01-10 23:20:45 +00:00
jakllsch
7c834707a3 When we fail to read a block computing the matching hash,
it's nice to know what device and why.

Also, drop comment that hasn't been valid since 1.12.
2011-01-10 21:26:38 +00:00
apb
ff7405e5b4 Define PRI[diouxX]8. We previously did this only for
16- and 32-bit type, but now PRIu8 is needed for tools/disklabel.

Also define SCN[diouxX]{8,16,32}, the scanf counterparts
to the PRI[diouxX]{8,16,32} macros.

Tested via "build.sh tools" on a system whose native definitions
or the PRI* and SCN* mcros was disabled.
2011-01-10 20:38:35 +00:00
phx
12b3b97cc9 Try to increase compatibility with all controllers when reading the status. 2011-01-10 20:18:19 +00:00
phx
82908c64ed Accept "wd[N[p]]:" (with N=disk and p=partition) for specifying a disk drive. 2011-01-10 20:16:42 +00:00
phx
7232363c11 Do not crash, but use "netbsd" as default file name when missing. 2011-01-10 20:14:52 +00:00
phx
812c3a1ea3 Make disk-booting work on Synology by using a PIO ATA-read command (0x20)
instead of the DMA read command (0xc8). This should work for all platforms.
Included the soft-reset in the siisata driver.
2011-01-10 20:13:47 +00:00
pooka
617df94e9c Make sure stressclient worker threads complete their operation
instead of hanging.
2011-01-10 19:51:37 +00:00
pooka
5064fa59e6 A bunch of improvements:
* don't hold spc mutex while sending data
* use send() for the banner to avoid SIGPIPE in case a client
  connects and immediately goes away
* fix error path locking
* use kevent() instead of pollts() in the client.  Apparently that
  is the only sensible way for a library to support both multithreading
  and signal-reentrancy in a race-free manner.
  (can I catch all signals with one kevent instead of installing
  NSIG different ones??)
* mark client comm descriptor non-blocking so that clients have
  better signal-interruptibility (we now sleep in signal-accepting
  kevent() instead of signal-masked recvfrom())
2011-01-10 19:49:43 +00:00
pooka
e95a17b9a5 check that we actually go into the signal handler 2011-01-10 19:30:21 +00:00
phx
900029be74 Try to detect Iomega Storcenter board (untested). 2011-01-10 18:35:49 +00:00
njoly
0938ffa1c1 Add lib/libc/sys test dirs. 2011-01-10 17:17:36 +00:00
dyoung
c45c4e89a1 Rename sigqueue to sigq to avoid clashing with sigqueue(2). Now this
builds again.
2011-01-10 17:14:38 +00:00
jruoho
322f6c439c Regen. 2011-01-10 17:04:55 +00:00
jruoho
93da29999d Add SMO1200 (yet another TPM chip). From ThinkPad x201i. 2011-01-10 17:04:22 +00:00
tsutsui
834608599b - start.S
add a hazard nop so that prom_restart() works properly on MIPS1
  (it seems broken since initial revision and had been restarted by fault?)

- common.h
  export prom_restart()

- if_prom.c
  use prom_restart() instead of a direct PROM call (that should be equivalent)
2011-01-10 17:01:17 +00:00
jruoho
d76ace19e9 Bump iomem_ex_storage from 16 to 64. Based on analysis from joda@:
http://mail-index.netbsd.org/current-users/2010/10/01/msg014446.html

Discussed with mrg@ and jmcneill@.
2011-01-10 16:59:09 +00:00
njoly
67aa333d97 Do close fd 4 in cerror_64 testcase too. 2011-01-10 16:54:02 +00:00
tsutsui
2916fd3fce Add hazard nops required by MIPS1 in noreorder case.
(Umm, is it easier to remove noreorder and all BDslot insns?)
2011-01-10 16:43:29 +00:00
christos
880fe46bea remove clauses 3/4 2011-01-10 16:42:36 +00:00
tsutsui
157a6dd44c Indent instructions in BDslots. 2011-01-10 15:25:44 +00:00
tsutsui
e18f71c901 - specify .set noreorder to fill BDslots properly
- indent instructions in BDslots
2011-01-10 15:25:15 +00:00
cegger
e5bfaecf68 add missing break 2011-01-10 14:19:36 +00:00
pooka
58236b1f89 Don't use printf in a signal handler.
XXX: it would be nice if the deadlock with malloc were a little
more obvious, especially since gdb doesn't provide any clues unless
you compile libpthread with -g
2011-01-10 14:05:03 +00:00
christos
8ce31bfb43 namespace protect sigqueue and sigqueueinfo 2011-01-10 13:56:44 +00:00
phx
7a4bf1d4d4 Some new information and cleanup. 2011-01-10 13:45:57 +00:00
tsutsui
3ce80fd791 Use ether_aton_r() in sys/net/if_ethersubr.c instead of home grown copies.
Hint from ryo@.  Tested on IP32 mec(4).
2011-01-10 13:29:29 +00:00
jmcneill
5263a998f9 ppb_fix_pcix changes:
- rename to ppb_fix_pcie
- support version PCI-E 2.0
- print version and device/port type information
- use constants from pcireg.h instead of magic numbers

changes:

  ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
  ppb2: unsupported PCI Express version

to:

  ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
  ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
2011-01-10 12:23:21 +00:00
pooka
52fffe2163 g/c code which is unused in the server 2011-01-10 11:57:53 +00:00
tsutsui
7bb48ed5ab Don't call bus_dmamap_load(9) and bus_dmamap_sync(9) on command xfers
if (AT_READ|AT_WRITE) in ata_c->flags is set but ata_c->bcount is zero.
Someone actually tries to put such a command and it causes
DIAGNOSTIC panic in x86/bus_dma.c:_bus_dmamap_sync().
I think bus_dma(9) API itself may allow calls with mapsize==0
but there are many MD code that asserts offset>=mapsize or len==0.

The problem is reported and fix is confirmed by Takuro KUBOTA
with XEN DOM0 kernel (which has options DIAGNOSTIC).
2011-01-10 11:18:14 +00:00
cegger
e1f9b2b091 fix typo in ioctl definition 2011-01-10 11:13:03 +00:00
hannken
b89d0815aa Add layer_revoke() that adjusts the lower vnode use count to be at least as
high as the upper vnode count before passing down the VOP_REVOKE().

This way vclean() check for active (vp->v_usecount > 1) vnodes gets it right.

Should fix PR kern/43456.
2011-01-10 11:11:03 +00:00
jruoho
2304727048 Small clean-up in the match and attach functions. Namely, use the attach
args instead of referencing the global softc. No functional change.
2011-01-10 09:07:27 +00:00