Commit Graph

218678 Commits

Author SHA1 Message Date
wiz
e0a986bcb9 Make nanotime and getnanotime prototypes match.
Also, the BUGS section doesn't describe something fixable, so make
it a CAVEATS section instead.
Bump date.
2013-05-13 12:07:44 +00:00
macallan
dca95b2a79 get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway
2013-05-13 00:21:56 +00:00
macallan
b00e7f24a9 more G5 stuff:
- call OF_quiesce()
- properly map the message buffer
2013-05-13 00:12:01 +00:00
macallan
ca1d0e8b1b add OF_quiesce() to shut down OF background tasks, needed on G5
from Phileas Fogg
2013-05-12 13:50:11 +00:00
macallan
092e2fd7b4 cleanup mem_regions:
- use different variables for / and /memory nodes
- remove redundant OF_finddevice("/")
- assume 32bit addresses/sizes in "available" on Apple hardware
2013-05-12 13:42:39 +00:00
macallan
bdcb52e9e3 move console_node and console_instance to ofw_consinit.c where they're
actually used
2013-05-12 13:23:08 +00:00
rodent
24964ef3d1 conform -> conforms - this is the file that was supposed to be changed.
apb@ was right about iconv(3).
2013-05-12 12:25:12 +00:00
wiz
9da71ac3fd conforms -> conform, since it's the verb for three nouns and thus plural. 2013-05-12 10:44:23 +00:00
wiz
4b7d905bfd Atomicly swap out pipe pointer before closing the pipe.
Hopefully fixes "ohci_device_isoc_start: not in progress 0xfffffe874ec259c0"

At least, for me, it increased the uptime during my normal use of uaudio@ohci
from 1,5d to over 3d.

Remove some trailing whitespace and unnecessary initialization
(memset before that) while here.
2013-05-12 09:54:55 +00:00
dholland
76f02c63f8 Don't expect fairings. 2013-05-12 03:29:07 +00:00
matt
5187c90ac5 Fix typo. 2013-05-12 02:55:54 +00:00
rodent
f53b79ea5c s/conform/conforms/1 2013-05-11 19:20:30 +00:00
skrll
08f384533b KNF 2013-05-11 15:44:46 +00:00
skrll
ee29566c11 Add attempt at KGDB support from Reiound. I couldn't get gdb to attach
properly, but the kernel was definitely in kgdb_trap and would respond
to $?#3f if typed via tip(1)
2013-05-11 14:19:44 +00:00
isaki
f01440c2cd Revise the algorithm after Step3.
almost written by Y.Sugahara and minor modify by me.
This works for all input of FMOD/FREM and of course solves PR/47810.
2013-05-11 12:52:42 +00:00
skrll
0689800254 Fix !DDB build. 2013-05-11 10:15:43 +00:00
skrll
76df768b4e Include opt_{ddb,kgdb} and fix KGDB build 2013-05-11 10:15:10 +00:00
kiyohara
6225151d7d Add extern. 2013-05-11 08:31:32 +00:00
skrll
190a0d435c Fix up the VCONS_DRAW_INTR support and DDB.
From reinoud.
2013-05-11 07:42:34 +00:00
skrll
58f97d344a Move pmf_system_shutdown earlier and ensure interrupts are enabled. 2013-05-11 07:38:42 +00:00
skrll
a4f278c933 Whitespace 2013-05-11 07:35:58 +00:00
kiyohara
19d8f7f243 Regen. 2013-05-11 07:07:38 +00:00
kiyohara
32b9002f8f Remove multiple defines for PLANEX2 {GWUS300MINIS,RT3070,GWUS54GD,GWUSMM,GWUS300MINIX,RTL8188CU_2}. 2013-05-11 07:03:52 +00:00
christos
53c7ca1dc2 s/inherited/inherit/ 2013-05-10 21:06:14 +00:00
christos
c8fbe6c64a use explicit_bzero instead of memset to zero memory 2013-05-10 16:39:25 +00:00
christos
6fd620669a remove error(1) output. 2013-05-10 16:38:47 +00:00
christos
053014bb8c no need for vlan.h here. 2013-05-10 16:37:10 +00:00
christos
3b66f0a259 regen (stale) 2013-05-10 16:36:25 +00:00
christos
3776b08253 add new file 2013-05-10 16:35:30 +00:00
tsutsui
f1c10c7125 Enable cd at scsibus, just works on LUNA-II. 2013-05-10 16:30:50 +00:00
christos
05f0356f93 commit test 2013-05-10 15:41:44 +00:00
christos
386c53c1fd cvs test 2013-05-10 15:40:21 +00:00
christos
913c2b066a sort 2013-05-10 15:31:22 +00:00
tsutsui
ab5da9a864 Wrap >80 char lines that overflowed on NDADDR -> EXT2FS_NDADDR changes. 2013-05-10 15:22:37 +00:00
tsutsui
9df8d68b66 Add RNG entropy collection support of rnd(9) to re(4).
Taken from rtk(4), and briefly checked by rndctl(8).
2013-05-10 14:55:08 +00:00
tsutsui
f28663ee17 Make re(4) driver always use IDR register values for its MAC address.
Some sandpoint NAS firmwares set MAC address per their
firmware settings and don't use re(4)'s EEPROM values.
Per rtl8169 manuals re(4) chip reads EEPROM automatically after
hardware reset and Linux driver also uses IDR registers,
so this change should not affect existing other boards
which actually have vaild EEPROM.

Per discussion in old tech-kern@ thread:
http://mail-index.netbsd.org/tech-kern/2012/12/01/msg014573.html
Note rtl81x9.c is still shared among rtk(4) only for a multicast function
(to avoid boring refactoring work).
2013-05-10 14:05:57 +00:00
wiz
3362820342 Mention that TerraTec Aureon 7.1 PCIe is supported by
this driver. Bump date.
2013-05-10 11:05:14 +00:00
htodd
9db2d8183e Add ./usr/libdata/debug/usr/libexec/ld.elf_so-i386.debug entry. 2013-05-10 00:50:50 +00:00
gdt
0c9c715c58 Fix FAST_IPSEC locking violation.
Without this change, using ESP tunnels with FAST_IPSEC on a 2-cpu i386
machine results in an mbuf leak.  This change was tested in netbsd-6.

When FAST_IPSEC is enabled and a tunnel is set up, after the
outer packet is stripped off, FAST_IPSEC queues the inner
packet on the appropriate queue (ipinstrq or ip6instrq).
These queues require the KERNEL_LOCK to be held before
using the queue, and the FAST_IPSEC code did not take the
KERNEL_LOCK as required.
KERNEL_LOCK and KERNEL_UNLOCK_ONE calls have been added.

If a struct ifnet instance is passed to the if_handoff
function which does this queuing, the interface's
if_start function may be called.  Some hardware devices
require KERNEL_LOCK to be held; others do not.  Looking
at the body of NetBSD code, other places where an if_start
function is called, KERNEL_LOCK is held.  Thus, the lock is
not released in if_handoff until after the if_start function
is called.  In practice, having the kernel lock when
if_start is called makes no difference - there is not
a single instance in all of the NetBSD code where
if_handoff is passed an instance of struct ifnet.

This commit is the work of Bev Schwartz of BBN.

Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced Research
Projects Agency and Space and Naval Warfare Systems Center, Pacific, under
Contract No. N66001-09-C-2073.
2013-05-09 19:21:50 +00:00
christos
464306f9db always allow hex where decimal is allowed. 2013-05-09 19:12:03 +00:00
skrll
1f32502b56 Remove redundant assignment. Hasn't been needed since 1999. 2013-05-09 15:47:34 +00:00
christos
c188b90222 remove stray debugging 2013-05-09 15:39:10 +00:00
christos
3c085045e3 convert to SIMPLEQ like the rest of the queues. 2013-05-09 15:38:14 +00:00
christos
a3f195d87d Fix refcount of the object we found in our list by name. 2013-05-09 15:37:58 +00:00
christos
0854846045 When checking for membership in the system group file don't forget to check
the primary group of the user.
2013-05-09 15:25:44 +00:00
matt
d1e50f81fb Don't worry about divide by 0 for kernel or standalone 2013-05-09 15:03:40 +00:00
wiz
96d067c6a4 Punctuation fixes, put FILES in a list. 2013-05-09 13:54:11 +00:00
aymeric
29c8b179ee mention support for AR3012 based chips and point to the corresponding
firmware files
2013-05-09 12:46:21 +00:00
aymeric
65b7149d79 . add support for loading code + config of AR3012 based chips
. make it easy to add vendor and product ids for similar hardware
2013-05-09 12:44:31 +00:00
aymeric
bf96118089 regen 2013-05-09 12:41:13 +00:00