Commit Graph

116834 Commits

Author SHA1 Message Date
matt ea39f48440 Make evcnt'ers optional. 2012-12-07 22:21:03 +00:00
matt 69b293bf1c Add BCMETH_COUNTERS 2012-12-07 22:18:45 +00:00
matt 46372d58aa Extend vfpreg to include all 32 64-bit FP registers.
For __ARM_EABI__, define __vfp_fstmx to have space for all 32 32-bit
FP registers (It's a newly supported ABI so we can "break" binary
compatibility.
2012-12-07 18:49:13 +00:00
matt d75601563c FPCONTEXTSIZE is dead. 2012-12-07 18:46:50 +00:00
christos 62903782ed rename pcb_sp to policy to avoid:
$SRC/arch/arm/include/pcb.h:#define     pcb_sp          pcb_un.un_32.pcb32_sp
$SRC/arch/arm/include/pcb.h:#define     pcb_sp          pcb_sf.sf_r13
2012-12-07 15:29:38 +00:00
jdc 3ffd7a4c67 Add uthum (tested on U60 with Belkin F5U508 USB 2 and SB2000 built-in USB 1). 2012-12-07 12:57:01 +00:00
hauke 6cd5612467 Remove the R1 syntactic sugar, since it collides with a #define in
<m68k/regs.h>, breaking the build.

The R1s serve to bring the buffer pointer to a 4 byte boundary, but
that should be clear from the context.
2012-12-07 08:04:02 +00:00
dholland 56e7f62d2a It is MAXNAMLEN, not MAXPATHLEN, that NAME_MAX has to be the same as. 2012-12-07 07:06:39 +00:00
msaitoh b6e1d8e8d8 Fix off by one error. 2012-12-07 06:50:15 +00:00
msaitoh 392c5dcb84 - sprintf() -> snprintf()
- Fix typo in comment.
2012-12-07 05:56:30 +00:00
msaitoh 5718072e54 Apply OpenBSD rev. 1.40:
> Use the actual SSID length rather than a (wrong) sizeof. Makes gcc4
 > -Wbounded happy.
 >
 > ok kettenis
2012-12-07 05:45:17 +00:00
msaitoh 54a1d94980 Fix off by one. 2012-12-07 04:49:08 +00:00
christos 8dc929e1a8 add __BITMAP_TYPE 2012-12-07 02:27:58 +00:00
christos 9878d5e5c4 use __BITMAP_TYPE 2012-12-07 02:27:29 +00:00
khorben e6cca881cf This adds a kernel configuration file for the Nokia N900 smartphone. It
is heavily based on the one for the Beagleboard (as documented first by
rhaamo).

The kernel boots properly and then asks for the root device. The
default partitions for flash memory are based on what's expected on a
stock N900 device.

ok mrg@, after initial review on port-arm@ a few weeks ago.
2012-12-07 00:02:36 +00:00
hauke 7456c67df0 Remove the R1 syntactic sugar, since it collides with a #define in
<m68k/regs.h>, breaking the build.

The R1s serve to bring the buffer pointer to a 4 byte boundary, but
that should be clear from the context.
2012-12-06 13:28:17 +00:00
msaitoh 4ebf4680ff Add support 3400 series, 5 series, C216, 82801GH, 82801E and 6300ESB. 2012-12-06 12:50:09 +00:00
msaitoh 95563578ec Regen. 2012-12-06 12:47:17 +00:00
msaitoh cc03f2110b Update some Intel LPC devices
- Add 82801E LPC
- Add 82801GH LPC
- Update Intel 5 series and 3400 series LPC from document
  (5-and-3400-chipset-specification-update)
- 0x3b14 is not 3400 but 3420
2012-12-06 12:46:49 +00:00
msaitoh beb6fb7455 No functional change:
- Remove trailing white space.
- Sort entries.
- Remove duplicated entries.
2012-12-06 10:32:44 +00:00
msaitoh ee733058ac Remove "#options ARMFPE" 2012-12-06 06:25:24 +00:00
jruoho 392bbef39c Disable C1E also on K8, if present. From Imre Vadasz <imre@vdsz.com>
in PR install/47224.
2012-12-06 04:43:29 +00:00
matt c7350ec513 For armv7 (cortex), disable access to the upper 16 FP registers (restrict
the register space to 16 64-bit FP registers).
2012-12-05 19:30:10 +00:00
matt cb72f6574f ARMFPE hasn't compiled since NetBSD 4. Remove it.
Complete support for FPU_VFP.
fpregs now contains vfpreg.
XXX vfpreg only has space for 16 64-bit FP registers though VFPv3 and later
have 32 64-bit FP registers.
2012-12-05 19:05:45 +00:00
christos abb5754984 Regen 2012-12-05 16:21:04 +00:00
christos 0a1df22000 Intel Atom E600 PCI-LPC bridge, adds a watchdog + HPET support. Tested
on a Soekris net6501. (jmcneill)
2012-12-05 16:19:46 +00:00
msaitoh dccfc3977a sys/proc.h refers sizeof(struct pcb), so include <machine/pcb.h>. 2012-12-05 08:05:54 +00:00
riastradh 582662cad5 Document that ENVSYS_STEMP is in microkelvins. 2012-12-05 04:21:30 +00:00
christos 0f179f793d add cgdconfig -l like vnconfig -l 2012-12-05 02:23:20 +00:00
jakllsch f970281f99 remove trailing whitespace 2012-12-05 01:46:22 +00:00
rmind af7272417a npf_table_list: avoid triggering assert on diagnostic. 2012-12-04 19:28:16 +00:00
skrll 2bcba3952d Improve DIAGNOSTIC printf 2012-12-04 15:10:04 +00:00
macallan 90cefa7f0b make sure to use the same stride as the drawing engine when setting up video
modes. Now things work with horizontal resolutions that aren't multiples of
64 ( like 1440x900 )
2012-12-04 11:24:12 +00:00
riastradh 5168d3d1af Fix some error branches in ugen.
There remains some cruft that should perhaps be better organized, but
at least this should reduce some memory leaks in screw cases, and at
least this does fix panics when plugging in and unplugging a USB
device with a botched configuration (a beaglebone with a hosed sd
card).
2012-12-04 05:50:57 +00:00
msaitoh ecf9d1862b - Delete "no" entries for mvsdio sdmmc sbt and ld. The bug was fixed.
- Delete mvpex, pci, pchb, mvsata, atabus and wd. These are defined in
  conf/SHEEVAPLUG
2012-12-03 23:41:35 +00:00
msaitoh dd1ebdfb0c - Add MSGBUFSIZE=32768 because 4K is very small
- Add commented out entry for MVGBE_EVENT_COUNTERS
- Comment out COPTS="-O1"
- Enable mvpex, pci and pchb to share with OPENRD
- Enable mvsata to share with DREAMPLUG
- Enable mvsocgpp, gpio, atabus and wd
2012-12-03 23:38:29 +00:00
christos 5c13de37e7 PR/47270: Paul Goyette: ipftest -N aborts
1. check for NULL before de-refencing; in particular sel is assigned to NULL,
   in the default case, and then couple of lines down we do sel->
2. gcc appears to optimize u_32_t hash[4], to u_32_t hash, since we only
   use hash[0], disregarding the fact that we pass it to MD5Final() leading
   to stack corruption. Use an explicit union, so that the compiler stops
   butting its head where it shouldn't.

XXX: pullup to 6
2012-12-03 18:30:25 +00:00
rkujawa 12bf97c62f Add z3rambd to files.amigappc, hopefully this will fix amigppc build. 2012-12-02 22:11:25 +00:00
msaitoh 20de507730 Add get_device(), set_root_device() to get root device via bootargs.
This is same as some other archs. PR#47250.
2012-12-02 18:22:45 +00:00
msaitoh bbe22882db Get bootargs and parse them. This was accidentally removed in rev. 1.17.
Fixes PR#47250.
2012-12-02 18:20:20 +00:00
chs 2e01f80e03 fix device/softc split: initialize sc->sc_dev. 2012-12-02 15:34:36 +00:00
chs 11c69f2d20 adapt the cyclic module and profile dtrace provider to netbsd.
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs 30f1068241 remove unneeded include dirs. 2012-12-02 00:47:37 +00:00
chs a32db86a29 update cyclic module to the freebsd 8-stable version as of svn r219520. 2012-12-02 00:05:38 +00:00
christos 586fa6386c switch from fd_set to using bitmap macros 2012-12-01 15:11:43 +00:00
christos cd5e10b5a9 Add some bitmap operation macros similar to fd_set. Unfortunately we cannot
re-use bitstring, because it is userland only.
2012-12-01 15:03:47 +00:00
mbalmer e3f283b63f Fix misspelling: accommodate is a long enough word to have room for two 'c's
and two 'm's.
2012-12-01 11:41:49 +00:00
mbalmer 2913016879 Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i'). 2012-12-01 11:37:26 +00:00
mbalmer 0b522e92f1 Fix a typo in debug output. 2012-12-01 11:31:01 +00:00
skrll 0b6536ef8c Check for _NETBSD_SOURCE being defined wherever we check for
_INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API set
recently added.
2012-12-01 08:20:55 +00:00