197376 Commits

Author SHA1 Message Date
christos
93fcf9c9a9 fix readlink prototype. 2011-01-26 18:07:44 +00:00
pooka
feb7052396 add entries required by sandpoint 2011-01-26 16:53:17 +00:00
uebayasi
346fff22c8 Fix build of malta/sbmips. 2011-01-26 16:31:00 +00:00
pooka
84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka
e6450adeb5 plug fd leak in reconnect code 2011-01-26 14:42:41 +00:00
nisimura
9f531b55b7 one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.
2011-01-26 13:36:49 +00:00
tsutsui
08814574b2 Add proper prefix to structures. 2011-01-26 13:14:07 +00:00
phx
4ce3172075 bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.
2011-01-26 13:13:25 +00:00
nisimura
d49f13dd72 add sandpoint satmgr device node entry. 2011-01-26 11:29:04 +00:00
nisimura
2b86ddb239 introduce sandpoint satmgr(4) and altboot(8) man page entries. 2011-01-26 11:25:51 +00:00
pooka
380d30c783 make this build on non-emips again 2011-01-26 10:58:19 +00:00
wiz
ba222fd491 Fix typo in Nd. From Ryo HAYASAKA in PR 44462. 2011-01-26 09:56:51 +00:00
wiz
17d601176d Fix typo. 2011-01-26 09:53:20 +00:00
enami
40713a94c3 Introducing inner loop prevent us from exiting from the original loop. 2011-01-26 08:49:48 +00:00
pooka
5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
matt
ecfd85d839 Fix KDASSERTMSG defintions for !DEBUG 2011-01-26 01:02:46 +00:00
dyoung
c2126ca4c3 Update comment on RTM_CHGADDR to describe better what it's for. 2011-01-26 00:58:36 +00:00
dyoung
7617f65929 Add some 10-gigabit media words used by Intel 82599. 2011-01-26 00:57:47 +00:00
dyoung
3f178d7fdb Protect against a NULL pointer dereference that I've seen in the wild. 2011-01-26 00:55:42 +00:00
dyoung
703c7df20f unifdef -U__bsdi__ -U__FreeBSD__ -D__NetBSD__. No functional change
intended.
2011-01-26 00:54:35 +00:00
dyoung
c168b21fd4 Define masks for subsystem vendor and subsystem ID fields, plus a couple
of macros for extracting them.
2011-01-26 00:49:56 +00:00
pooka
d13f306052 Add bwi from PR kern/40279. There is no know case of testing the
driver on amd64/i386, but if it doesn't work at least we're more
likely to get a PR instead of people wondering about lacking driver
support.
2011-01-26 00:25:55 +00:00
msaitoh
f786db6b15 Fix MAC address check on 8257[156] and 80003 case. Some cards have non 0xffff
pointer but those don't use alternative MAC address in reality. So we check
whether the broadcast bit is set or not like Intel's e1000 driver.
Fixes PR kern/44072 reported by Jean-Yves Moulin.

Remove extra Warning for newer cards.
2011-01-26 00:25:34 +00:00
dyoung
7e230002ef Make oodles of mainly cosmetic changes that make rtw(4)'s PCI attachment
resemble its CardBus attachment very, very closely: slightly more than
24 lines are different.  Alas, I cannot commit the CardBus part of this
change, yet, because I have to finish my overhaul of CardBus resource
handling, first.
2011-01-26 00:16:52 +00:00
dyoung
e664fe9f2c Get out of the interrupt handler early if !IFF_RUNNING. 2011-01-26 00:09:27 +00:00
dyoung
84c27227f5 Improve error reporting during attachment to PCI ath(4). 2011-01-26 00:08:30 +00:00
yamt
b5ca7f5a5b - add some random notes
Basically, KASSERT() should be used for light-weight checks and
     KDASSERT() should be used for heavier ones.

     Callers should not rely on the side effects of expression because,
     depending on the kernel compile options mentioned above, expression might
     not be evaluated at all.

- Xr options(4)
- bump date
2011-01-25 23:46:48 +00:00
skrll
6c1ba1691b Trailing whitespace. 2011-01-25 21:27:48 +00:00
skrll
0f20ab8fc3 define<tab> 2011-01-25 21:27:11 +00:00
macallan
195f4ebf1c Add support for asynchronous drawing in vcons.
This is not finished but good enough for others to play with, enable with
options VCONS_DRAW_ASYNC
With this all drawing operations will be posted to a ring buffer instead
of being run directly, and run by a kernel thread. This avoids having to wait
for drawing operations to finish with the kernel lock held ( to a degree at
least ) and scrolling a (slow) framebuffer console should not disrupt other
operations anymore.
Problems:
- we need to switch back to synchronous operations when panicing or entering
  ddb, also re-enable async drawing when leaving ddb
- there are still occasional glitches
tested on an SS20 with cg14 and cg6 for dumb and accelerated cases
2011-01-25 20:28:21 +00:00
christos
3203d4e972 proved an __ssp_check macro. 2011-01-25 19:13:44 +00:00
christos
13fe5bd280 Fix SSP build.
XXX: This is gross.
2011-01-25 19:13:26 +00:00
christos
c5d359be42 make pthread__sp unsigned long. 2011-01-25 19:12:04 +00:00
pooka
8c818e7121 fix compilation on -current 2011-01-25 17:37:00 +00:00
matt
d32b258b78 When starting the second pass, don't continue the for loop but instead
just test try exceeding limit.
2011-01-25 17:22:43 +00:00
pooka
8d51265b11 Use rump_sp consistently in chapter 7
nothing gets past the wizd, nothing.
2011-01-25 14:05:42 +00:00
tsutsui
8831804ffb Split device_t/softc. Tested on Indy. 2011-01-25 13:22:05 +00:00
tsutsui
fde2c776a7 KNF and misc cosmetics. 2011-01-25 13:12:39 +00:00
pooka
46e9c4686a enable WARNS=4 2011-01-25 12:56:57 +00:00
pooka
493a9cc0b3 manual page for rumphijack 2011-01-25 12:56:25 +00:00
pooka
f4ef6bac83 the usual fun for WARNS=4
signed,
  unsigned
2011-01-25 12:53:45 +00:00
tsutsui
58b06e5f7b Split device_t/softc. Tested on Indy. 2011-01-25 12:43:30 +00:00
tsutsui
59f7d57c5c Some KNF and cosmetics. 2011-01-25 12:30:32 +00:00
skrll
3770380428 Unbreak gdb by ensuring _rtld_debug_state is in the dynamic symbol table.
mmm 1 line diffs

mmm not breaking backwards compatibility for anything known/unknown or
public/private.
2011-01-25 12:25:43 +00:00
pooka
14186479f2 dramatic whitespace fix 2011-01-25 12:21:36 +00:00
tsutsui
f016e29297 u_intNN_t -> uintNN_t 2011-01-25 12:21:04 +00:00
pooka
9d0409a087 Rewrite to declare most dual-kernel calls with macros. This helps
with adding new calls and makes all existing fd-accepting hijacked
calls dual-kernel.  It would be better to autogenerate the code
from syscalls.master, but this is easier for now.
2011-01-25 12:18:33 +00:00
tsutsui
984da15cb1 - MAXPHYS is enough for DMA xfer size (hpc->scsi_max_xfer seems too large)
- switch BUS_DMASYNC_*READ and BUS_DMASYNC_*WRITE properly in
  bus_dmamap_sync(9) ops per each xfer dir

Tested on R5000 Indy.
2011-01-25 12:14:02 +00:00
tsutsui
2f9d0dfc33 Small bus_dma(9) tweaks:
- call bus_dmamap_create(9) after bus_dmamem_alloc(9) and bus_dmamem_map(9)
  return successfully
- no need to use PAGE_SIZE for size of descriptor dmamap
- use bus_addr_t to store DMA address
- BUS_DMASYNC_PREWRITE is enough for host-to-device only descriptors

Tested on R5000 Indy.
2011-01-25 12:11:27 +00:00
gsutre
b1dbb239c6 Typos, fix memory binding for memory type 2, and add consistency checks.
From OpenBSD.

ok jmcneill@
2011-01-25 10:52:11 +00:00