Commit Graph

218590 Commits

Author SHA1 Message Date
mlelstv
34b99be967 The previous patch didn't apply cleanly, because our code doesn't
use #ifdef OPENSSL_HAS_ECC.
Apply manually.
Drop now unused len variable.
2013-05-14 05:18:11 +00:00
msaitoh
aa54c9127f Add some definitions.
Fix compile error.
2013-05-14 00:27:39 +00:00
christos
c3e11c3703 - avoid using globals where it is simple.
- simplify: only use stdio for output.
2013-05-13 18:44:11 +00:00
christos
1e2e5a9113 CVE 1020933: Prevent integer overflow by using wider type 2013-05-13 18:01:08 +00:00
christos
7d5016218f CVE 1020935: Prevent overflow 2013-05-13 17:58:50 +00:00
christos
748fc2c7c9 CVE 1020946: Fix res leak. 2013-05-13 17:54:55 +00:00
msaitoh
c2a5ba20dd For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because
these bits are reserved.
2013-05-13 17:10:58 +00:00
msaitoh
5d1fdce2a7 Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind().
Fixes PR#47716.

 Re-enable NVRAM lock stuff again (i.e. revert rev. 1.233).
2013-05-13 17:08:20 +00:00
christos
f215d8eb4d make this compile again; macallan, please commit the right fix! 2013-05-13 16:01:31 +00:00
christos
2432e2b578 There is no opt_mvsoc.h; the #ifdef ARMADAXP should be changed to some
inherited device property.
2013-05-13 15:47:18 +00:00
christos
72812fcdca fix lossage from disklabel.h merge 2013-05-13 15:40:31 +00:00
christos
961429e30c CVE 1020938: Fix memory leak 2013-05-13 13:59:39 +00:00
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