Commit Graph

215561 Commits

Author SHA1 Message Date
dsl
6d15685a79 Use full model number to index name strings - a lot of 256 element arrays
don't matter in usespace.
Update list of intel family 6 model names (all current cpus) to include
everything upto and including sandy bridge and ivy bridge.
My i7 is no longer reported as a random P II.
2013-01-06 23:17:35 +00:00
dsl
5c34b7d59f Correct the comment about the extended family and model bits.
Add some definitions related to the process extended state enumeration.
2013-01-06 22:37:36 +00:00
riastradh
ac9a343544 Show pass1 SIGINFO output on stderr like other passes, not on stdout. 2013-01-06 22:06:00 +00:00
wiz
67fcfbd462 Fix grammar. New sentence, new line. 2013-01-06 21:27:11 +00:00
wiz
b47ead0fc1 Fix grammar. 2013-01-06 21:26:59 +00:00
wiz
e73ce5c11b Fix typo. New sentence, new line. Fix grammar. 2013-01-06 21:25:54 +00:00
jakllsch
3a82d47fe6 Add man page for cpsw(4). 2013-01-06 18:30:10 +00:00
tron
aa2dcc1a61 Comment out "inet_protocols = ipv4" line which came from up-stream.
We want Postfix to support IPv6 out of the box.

Pointed out by Dieter Roelants on "current-users" mailing list.
2013-01-06 13:58:24 +00:00
kiyohara
eb18e4a249 Remove unused a C-source. 2013-01-06 11:31:39 +00:00
kiyohara
720aa978fb Call main() in locore.S. like other arch. 2013-01-06 11:29:35 +00:00
kiyohara
a5f6963176 Add IA64_VEC_SPECULATION into trap(). From FreeBSD. 2013-01-06 11:25:13 +00:00
tsutsui
fce6f7dfc3 Build and install resurrected luna68k bootloader. 2013-01-06 07:04:48 +00:00
christos
fa04e235ed remove the new command not the old one. 2013-01-06 04:17:27 +00:00
christos
2869772d30 remove show dmesg 2013-01-06 03:35:21 +00:00
christos
cc78507c3a remove previous, dmesg just works. 2013-01-06 03:34:52 +00:00
christos
2f1fdee1b8 add show dmesg 2013-01-06 03:25:01 +00:00
christos
81736cc9cd Add "show dmesg" that prints the contents of the message buffer. 2013-01-06 03:23:55 +00:00
christos
353430cc63 fix messages. 2013-01-06 02:22:50 +00:00
christos
a2757a6074 add the udp test. 2013-01-06 00:36:29 +00:00
christos
436fdc82bd new udp test 2013-01-06 00:35:22 +00:00
wiz
4bdac686eb Sort options in man page SYNOPSIS and sync usage with it.
Bump date.
2013-01-06 00:19:13 +00:00
christos
0c1215940c PR/47408: Anthony Mallet: sendto(2) issue with IPv6 UDP datagrams
- don't connect when the local port is 0, just set the local port number.
- remove redundant assignment
XXX: pullup-6
2013-01-06 00:17:13 +00:00
christos
38f4ff5bf5 fix debug variables.
- include opt_usb.h in usb.h so that USB_DEBUG gets set properly in it.
- normalize and sort debugging variables
2013-01-05 23:34:16 +00:00
dsl
cbb941ff11 The Intel and AMD docs (more or less) agree on how the cpuid 'extended
family' and 'extended model' bits are used to create larger values
  than the original 16bit value allowed for.
Calculate and save these values 'up-front' and use them throughout.
Untangle the (backwards) nested switch statement for amd 'model 15' cpus.
Works as badly as ever on my i7.
2013-01-05 21:16:22 +00:00
jakllsch
74dad3229c Add driver for BCM2835 SPI0 controller. 2013-01-05 20:31:23 +00:00
jakllsch
605407517d Add driver for Broadcom Serial Control (I²C) master on BCM2835. 2013-01-05 20:15:17 +00:00
jakllsch
4f7412af4d Add a function for adjusting the pin muxer in the GPIO block.
(This should probably be revisited later.)
2013-01-05 19:55:18 +00:00
jakllsch
1dc05e277c Whitespace style adjustments. 2013-01-05 19:47:17 +00:00
jakllsch
f8c023710e The BSC (I²C) interrupt is actually shared between (at least) the BSC0 and
BSC1 units, so don't name it as belonging to only BSC0.
2013-01-05 19:44:44 +00:00
tsutsui
26ab297f8a Note luna68k bootloader. 2013-01-05 18:22:18 +00:00
tsutsui
df6945b89f First cut at NetBSD/luna68k native bootloader.
Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
 http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.

Tested on LUNA-I and old DK315C SCSI disk drive.

LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)

TODO:
 - LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
 - secondary SCSI support for LUNA-II
 - netboot via le(4) (should be trivial)
 - support boot options on bootloader prompt
 - bootinfo (passing info about booted device and kernel symbols)
 - support "press return to boot now, any other key for boot menu" method
   like x86 bootloader (needs cnscan() like functions)
 - tapeboot (anyone wants it?)
2013-01-05 17:44:24 +00:00
dsl
cd90dce7d6 If the IOC_CPU_UCODE_GET_VERSION fails with ENOTTY, try issuing the
request that the amd64 kernel understands.
2013-01-05 16:38:12 +00:00
dsl
8e616b356f Add definitions so that the i386 cpuctl can issue IOC_CPU_UCODE_GET_VERSION
on amd64 kernels.
XXX This ioctl is horrid - writes into an unsized userspace buffer.
2013-01-05 16:36:38 +00:00
christos
79e7092a0d Fix bucket and chain counts on nat lists from Geoff Adams:
The problem was that ipf_nat_delete wasn't swapping inbound and
outbound hash codes for inbound NAT entries, so it was essentially
always looking in the wrong buckets in those cases. But because of
the way the linked list works, I don't think any NAT entries were
actually leaked. But since all the bucket counters and chain count
were getting messed up, things did start to go bad after a while.
(New NAT entries wouldn't be created, for instance.)

The fix is in the ipf_nat_delete function, itself; the other changes
are a slight refactoring of one method and adding some comments
that helped me figure out how the linked list with pointer-back-pointers
worked.

Also note that I haven't looked through the logic in ipf_nat_rehash;
it's likely that that might miss some things for the same reason.

I also haven't yet looked into the ipf_nat_newrdr problem with mappings
already existing. That'll be next.
2013-01-05 16:34:43 +00:00
dsl
ef07d271f5 Fix x86_identify() for amd64 2013-01-05 15:33:00 +00:00
dsl
7d87936626 Change the i386 asm x86_identify() so it returns a value instead of writing
into global data.
Fix a stack alignment fubar that would cause a crash on a cirix 486.
Refactor identify code to common setup for normal identify and ucode
identify - which was missing a memset().
2013-01-05 15:27:45 +00:00
christos
bd9e6f322e document show panic 2013-01-05 15:26:59 +00:00
christos
cedbce7adf Add "show panic" that shows the current panic string. two ports had it, and
it could be easily made MI.
2013-01-05 15:23:27 +00:00
christos
bd1c8509d7 remove show panic cmd 2013-01-05 15:06:51 +00:00
christos
1c7fafedde remove panic cmd 2013-01-05 15:04:00 +00:00
christos
df24e3a7e7 this used the wrong cpp variable for debugging so it does not need opt_usb.h
after all.
2013-01-05 14:54:06 +00:00
apb
aa3786b9b6 Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

This change to NetBSD's version of GNU grep 2.5.1 (licenced under
GPLv2) was made without direct reference to any code licenced
under GPLv3.

Thanks to Ignatios Souvatzis for looking at GPLv3-derived
patches and describing the problem in general terms.  Thanks to
pkgsrc/devel/coccinelle for helping me find places where int
variables were used to store the results from pointer arithmetic
or strlen().  Thanks to Martin Husemann for testing.
2013-01-05 09:40:15 +00:00
martin
eaad654085 Remove non existent include of opt_uatp_debug.h and unused variable
(if !UATP_DEBUG).
2013-01-05 08:01:13 +00:00
christos
efbc8c83c1 add include "opt_usb.h" where needed. 2013-01-05 01:32:50 +00:00
christos
3039e3a5a7 - need opt_usb.h if depending on USB_DEBUG
- remove trailing whitespace
- add missing KERNEL_RCSID
2013-01-05 01:30:15 +00:00
jakllsch
3e230313d1 Don't leak condvars and mutexes, even if they are on the stack.
Fixes LOCKDEBUG asserts when a mutex/condvar is initialized at the same
stack address as a previous initialization.  We probably want to revisit
the transfer structure lifecyle at some point in the future.
2013-01-04 22:23:06 +00:00
jakllsch
2db6832d7c Use config_stdsubmatch() to enable (optional) use of locators on obio devices. 2013-01-04 21:00:23 +00:00
christos
ae7c06ea58 fix quoting. 2013-01-04 17:33:01 +00:00
christos
db1b387dc9 bring return value fixes from head. 2013-01-04 17:03:13 +00:00
christos
b060521580 fix the version string manually.
new sentence, new line.
2013-01-04 15:37:53 +00:00