Commit Graph

57445 Commits

Author SHA1 Message Date
jmcneill
7e966400c1 enable vchiq, add vcaudio and audio drivers 2013-03-25 23:01:23 +00:00
chs
f08eca0c18 only use db_printf() if we're actually called from DDB.
this prevents the boot-time one from pausing the boot process.
2013-03-25 01:34:59 +00:00
chs
f8a67d48b6 redo the ACPI interrupt handler setup again, this time handling
MADT overrides that change the pin as well as the polarity.
fixes PR 47648.
2013-03-25 01:30:37 +00:00
jmcneill
3fba3ae030 add wip videocore4 audio driver 2013-03-24 19:55:19 +00:00
jmcneill
c19e986099 pull in vchiq 2013-03-24 19:54:22 +00:00
jmcneill
292663c506 add vchiq 2013-03-24 19:52:11 +00:00
jdc
9e86b737ce Check if sbus is defined in the kernel configuration before using it.
From Taylor R Campbell.
2013-03-24 17:50:26 +00:00
jmcneill
c49c1c2a9b add drvctl 2013-03-24 13:56:24 +00:00
kiyohara
4a246ce6be Remove null lines.
Remove TAB and white-space terminate.
s/^        /\t/.
2013-03-24 06:56:14 +00:00
kiyohara
f5090ff62d Remove size pages from va. Not a page. 2013-03-24 06:27:52 +00:00
kiyohara
8c76618d8c Remove some TABs. 2013-03-24 06:06:19 +00:00
isaki
d183ccf62e Use the #error directive. 2013-03-23 12:08:47 +00:00
isaki
db5a3d6915 Remove about updating fpsr. It was introduced by me but obviously
duplicated with fpu_emul_arith().
2013-03-23 12:06:24 +00:00
isaki
f63adb5419 Fix fpu_ftox().
Update not only exponential but also mantissa when an integer part
becomes 2 by rounding up.  Without this fix, the extended precision
value becomes 0.0 because mantissa (including explicit integer bit)
is all-zero.
2013-03-22 13:46:38 +00:00
christos
cbcfee84d5 PR/47677 Aktado: x86_errata() should be avoided if NetBSD runs as a KVM guest.
XXX: pullup to 6
2013-03-21 13:22:37 +00:00
skrll
4698927030 Bump MSGBUFSIZE on arm ports to 16KB.
OK matt@
2013-03-20 13:43:39 +00:00
kiyohara
9de952279e Use mkubootimage, if obs600. 2013-03-20 06:35:49 +00:00
garbled
4daade7385 Add a new installer image for Raspberry PI to evbarm
Includes the following major changes:

1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.

Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00
christos
6c49ed342b Need assym.h for libkern 2013-03-19 19:59:40 +00:00
skrll
a321948d45 To quote the BCM2835 datasheet that's publicly available
"The BCM2835 system uses an AMBA AXI-compatible interface
	structure. In order to keep the system complexity low and data
	throughput high, the BCM2835 AXI system does not always
	return read data in-order."

Deal with this by defining DSB for _ARM_ARCH_6.

OK matt@
2013-03-19 17:11:13 +00:00
isaki
1cd7b13dd0 const-ify. 2013-03-19 09:28:39 +00:00
isaki
81e778a36f Remove 'register'. 2013-03-19 09:17:17 +00:00
msaitoh
24d5b42322 KNF a bit. 2013-03-19 06:34:28 +00:00
para
3964c3f0c8 i386 pmap.h got a forward declarition for vm_map from systm.h
insert a forward declaration
2013-03-18 16:32:32 +00:00
christos
c6a7d21bf0 now in common/lib/libc/arch/sparc64/string 2013-03-17 00:45:03 +00:00
christos
74b509107c no more duplicate copy of the memcpy code. 2013-03-17 00:44:16 +00:00
christos
ca64aca745 move the useful macros somewhere where they can be used in userland. 2013-03-16 23:04:22 +00:00
skrll
b19588b393 As a workaround for the Raspberry PI, only allow 1 TX transfer to be
active at once.

XXX This might affect all host controllers
2013-03-16 15:48:21 +00:00
jmmv
76512a9d94 Synchronize the clock periodically in vmt(4).
Add periodic clock synchronization to vmt(4) so that the guest clock
remains synchronized even when the host is suspended (which is a very
typical situation in a laptop).

Do this by default once per minute, but provide a sysctl to tune this
value (machdep.vmt0.clock_sync.period).

Sent to tech-kern@ for review and addressed a couple of issues.
2013-03-16 01:26:52 +00:00
nakayama
bc8325e88b Use elf32 version module object relocator on sparc64 32-bit kernel. 2013-03-14 11:54:31 +00:00
joerg
fad00e2c46 Include tmpfs. 2013-03-14 10:06:45 +00:00
macallan
6b4fd65138 make sure device properties for genfb or voyagerfb actually get set 2013-03-13 21:18:35 +00:00
macallan
badd43a7ec remove half-assed gdium-specific code in device_register and actually call
sys_platform->device_register()
how in Cthulhu's name did this ever work?
2013-03-13 21:17:43 +00:00
khorben
31adc517bf Set the N900 kernel on par with the latest improvements related to the
BEAGLEBOARD. Tested on a Nokia N900; BEAGLEBOARD still builds.
2013-03-13 03:08:17 +00:00
khorben
b6c08a30db Set the framebuffer as the default console when no serial port is configured.
This was tested on a Nokia N900 with the N900 kernel. The BEAGLEBOARD kernel
still builds.

ok christos@
2013-03-13 03:03:04 +00:00
uwe
64f321a684 HE WAS OBEDIANT 2013-03-13 00:36:52 +00:00
christos
c6e44e4e65 is defined now in GENERIC 2013-03-12 21:52:47 +00:00
christos
e27180277c turn on MODULAR by default 2013-03-12 21:41:40 +00:00
christos
3f9b5ba889 Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
2013-03-10 07:18:19 +00:00
christos
c007a4ec21 remove stray brace 2013-03-10 04:01:49 +00:00
christos
87304c8cb4 - make errors positive like elsewhere in the kernel, document error returns
- KNF
- fix commented out debugging
2013-03-09 16:02:25 +00:00
mlelstv
8792a74a54 Errors are supposed to be negative errno numbers, not -1 which is interpreted
as EPERM.
2013-03-09 10:10:45 +00:00
skrll
5122608537 Disable vchiq for now. 2013-03-08 14:59:34 +00:00
jmcneill
6704dd7bc7 add vchiq0 at obio? 2013-03-08 12:33:57 +00:00
yamt
3652d3afc6 some more definitions 2013-03-06 11:51:40 +00:00
yamt
fa47c32176 fix debug print 2013-03-06 11:37:23 +00:00
yamt
2d4b923e32 fix include dir
add some dependencies
2013-03-06 11:36:21 +00:00
yamt
2a656f64f2 update help 2013-03-06 11:34:37 +00:00
tsutsui
ce149e43e7 Check netboot and set proper default boot device.
Also bump version.
2013-03-05 15:34:53 +00:00
matt
c99f57ab0a Fix boolean inversion in FPU setcontext. 2013-03-04 23:12:52 +00:00
christos
cafae0d9ff make traces work from crash(8) 2013-03-04 20:17:46 +00:00
jkunz
aca15765bd Contribution from Petri Laakso:
- DMA driver stub code replaced with working code.
- Add support to multi block DMA in ssp driver.
2013-03-03 10:33:56 +00:00
mlelstv
882558bd95 fix build for KGDB 2013-03-03 10:26:18 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
matt
d025c4bb28 Add c16 c8 (tlb) inlines.
Add CPUID of Cortex-A7 r0
2013-02-28 18:33:01 +00:00
macallan
7bc3315133 make this compile without ISA support in the kernel 2013-02-28 13:22:36 +00:00
macallan
6e1cd854ac add poweroff support, make sure we actually charge the battery 2013-02-28 13:21:15 +00:00
macallan
f5e068c1f0 add INSECURE so X can map PCI memory and registers 2013-02-28 13:02:20 +00:00
macallan
9d4210b669 add COMPAT_PCVT and pwmclock 2013-02-28 12:51:18 +00:00
macallan
adb2aeccbf add sysctl machdep.loongson-mmi to indicate wether Loongson Multimedia
Instructions are supported
mostly for pixman
2013-02-28 12:44:38 +00:00
matt
50c11d9550 Actually use zero_p now that we pass it in. 2013-02-27 22:15:46 +00:00
matt
0657ae47dd Don't include <machine/param.h> since we should be getting that stuff from
"assym.h"
2013-02-27 17:52:44 +00:00
matt
2f4dafd1d8 Define PAGESHIFT using PGSHIFT 2013-02-27 17:50:07 +00:00
matt
aaa103b16b Add a zero flag to valloc_pages so that we can *not* zero the msgbuf so it
will be preserved across boots.
2013-02-27 16:55:39 +00:00
matt
f8291815d6 Bump max text/data/stack sizes to more reasonable values. 2013-02-25 16:12:13 +00:00
jkunz
bf9547b278 Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
  user interaction.
- FIFO contents are flushed when DEBUG is enabled.
2013-02-23 16:22:38 +00:00
skrll
f6d9352985 aprintf -> aprint_normal 2013-02-23 08:23:03 +00:00
skrll
1bb892c6a4 Fixup the cpu_{match,attach} functions to not allow more that HPPA_MAXCPUs
to be used.

Fixes problem booting on a dual-cpu j6700 with GENERIC (which doesn't
define MULTIPROCESSOR) reported by KIYOHARA Takashi on port-hp700.
2013-02-21 15:16:02 +00:00
macallan
4d32983619 add WSDISPLAY_COMPAT_PCVT 2013-02-21 12:31:22 +00:00
skrll
7efed15211 Add PCVT compat (for X console switching) and SYSCONS for some more
ioctls.
2013-02-21 09:25:30 +00:00
martin
e5841079eb Remove duplciate WSDISPLAY_COMPAT_PCVT - no idea how that sneaked in.
Thanks to Nick Hudson for the quick catch.
2013-02-21 09:04:22 +00:00
martin
2a677e9a61 Add PCVT compat (for X console switching) and another font (purely
esthetical). From maccalan@.
2013-02-21 08:07:24 +00:00
macallan
4cb75f7dc1 add WSDISPLAY_COMPAT_PCVT 2013-02-20 19:35:46 +00:00
macallan
205f56bed2 add WSDISPLAY_COMPAT_PCVT 2013-02-20 19:18:17 +00:00
matt
b97afb49aa fix C&P error 2013-02-19 21:16:26 +00:00
matt
9d02ba995e More Cortina CS75xx files. 2013-02-19 16:12:36 +00:00
matt
bbf7256078 Start of Cortina CS75xx support. 2013-02-19 16:07:23 +00:00
phx
fd320b596a Implement real hardware power-off for DSM-G600 using the "ZWC" command.
It seems that not all microcontrollers support the command, though, so
the old solution to flash the power LED is still present as a fallback.
2013-02-19 15:58:19 +00:00
skrll
150d8d05ea Oops. Didn't mean to commit this with previous. 2013-02-19 10:58:35 +00:00
skrll
5c97965224 Add support for the ARM Integrator/CP from Sergio López.
The code hasn't been tested on real hardware, but INTEGRATOR_CP config
is useful for QEMU which supports it.
2013-02-19 10:57:09 +00:00
matt
39b128d4f6 Use the coherent dma_ranges in the bounce dmatag but only use the first one. 2013-02-19 02:30:55 +00:00
matt
efac7af857 As with pax, use cf_flags 2 to indicate to use the bounce dma tag. 2013-02-19 02:18:29 +00:00
matt
0c3792adcc Add a bounce dmatag which only has the coherent memory region.
The coherent dmatag now always has all of memory (both coherent and normal
memory).
2013-02-19 02:15:17 +00:00
matt
1357517a46 Turn on BUSDMA_COUNTERS and BCMETH_COUNTERS.
Add a commented out options for MEMSIZE=256
2013-02-19 02:04:24 +00:00
matt
5b76a48281 Use a bit in cf_flags to decide whether to use bounce buffers or not. 2013-02-19 02:03:06 +00:00
matt
5ad8a9e05d Disable when using extended MMU support. 2013-02-18 16:03:25 +00:00
matt
61df3e45d2 Supply VM_PROT_EXECUTE to pmap_fault_fixup when trying to fixup prefetch
aborts.
2013-02-18 05:14:13 +00:00
kiyohara
8e859338d2 Call snprintb() for cpu features register. 2013-02-17 06:46:23 +00:00
matt
42993421e9 Add PRIxBUSADDR, etal 2013-02-16 06:49:59 +00:00
matt
acf0003205 Use KASSERT* in preference to #ifdef DIAGNOSTIC / panic 2013-02-16 06:49:43 +00:00
matt
fcecc79a27 Actually use the calculated uboundary. 2013-02-15 01:03:43 +00:00
martin
646a4c9589 Fix thinko in previous (and misleading comment): stop ignoring table
entries for to be ignored devices.
2013-02-14 12:44:16 +00:00
martin
0490739fe5 Rearrange the special mainbus device list to allow for optional entries.
Fixes a panic on all SUN4M machines w/o an sx graphics adapter.
XXX the "ignore devices at mainbus" list seems to be ignored - or am I
missing something?
2013-02-14 12:14:13 +00:00
martin
e5f6266579 We have an implicit 1 MSB bit in the mantissa. Pointed out by Matt Thomas.
Fixes PR port-sparc64/47536.
2013-02-14 09:34:46 +00:00
matt
b885b904fc Define LDBL_IMPLICIT_NBIT 2013-02-14 08:56:21 +00:00
matt
fd8ba71ca3 Make sync counters only count when caches ops are performed. 2013-02-14 08:24:39 +00:00
matt
41eef373d9 Rework counters.
Get rid of a badly done goto.
Properly deal with boundary in bus_dmamem_alloc_range.
2013-02-14 08:07:35 +00:00
matt
caeec93030 Add BUSDMA_COUNTERS option 2013-02-14 07:26:23 +00:00
matt
a4bcc6237e fix writebuf draining fix. 2013-02-14 01:12:39 +00:00
matt
f5242e7fdd Make LDBL_NBIT and mask_nbit_l have no effect. 2013-02-14 00:55:25 +00:00
matt
1d6db1ec1a Turn on bounce buffering. 2013-02-13 23:25:28 +00:00
matt
bae81fec7a Some armv7 fixes for speculative tlb loads. 2013-02-13 23:14:35 +00:00
matt
bc5f5e1d4a simplify cache range op 2013-02-13 23:10:58 +00:00
matt
3211835cbe Fix two fencepoint errors. 2013-02-13 23:09:39 +00:00
matt
89c1dfbe84 bounce buffer fixes + convert some kassert -> kassertmsg 2013-02-13 23:08:45 +00:00
skrll
0b0527d584 The file needs opt_multiprocessor to get the CR_CURCPU define. 2013-02-12 23:02:58 +00:00
macallan
aadf8bb6f4 break some more long lines 2013-02-12 22:24:47 +00:00
macallan
caa556aea5 break long lines 2013-02-12 21:25:12 +00:00
macallan
6a4c4c0db7 support a hardware cursor 2013-02-12 21:17:37 +00:00
macallan
a71ffecb79 be a little more consistent with register names 2013-02-12 21:17:17 +00:00
matt
82b1c4ddd9 Add inlines for cp10 (vfp) registers 2013-02-12 15:06:40 +00:00
matt
b6bea4c9af More fully document FPEXC register 2013-02-12 15:05:26 +00:00
matt
d223e8e24c fix inverted ifdefs 2013-02-12 02:38:53 +00:00
matt
2bc1572da9 Fix some FPEXC bit definitions 2013-02-12 00:32:15 +00:00
christos
4771f7bd0d fix BEAGLEBONEXM linking 2013-02-09 22:11:29 +00:00
christos
1d3b0f5839 name the kernel like other evbarms 2013-02-09 20:48:38 +00:00
khorben
75c88a7f14 Added wpi(4) to the XEN3_DOM0 kernel for both amd64 and i386
Tested on a Lenovo ThinkPad T60 2007 (amd64)
2013-02-09 17:42:34 +00:00
jmcneill
42680819c8 console device selection is done at runtime now 2013-02-09 13:29:36 +00:00
jmcneill
648a5bdd8d attach a wsdisplay even if this is not the console device 2013-02-09 13:28:59 +00:00
kiyohara
ce02c3a687 Fix KASSERT(l == curlwp)ed in mi_switch(). Don't use INTSTK of cpu_info in
INTR_PROLOG when user-mode.  Interrupted user context switches to newlwp, if
sched tick.  This context must save to USPACE.
When use our INTSTK?
2013-02-09 11:22:51 +00:00
matt
e773de8072 Properly deal with the non-coherent dma tag too. 2013-02-08 23:24:02 +00:00
matt
3cc6d3e59a If _ARM32_NEED_BUS_DMA_BOUNCE is defined, only define one dma_range
for the coherent dma tag.
2013-02-08 23:21:35 +00:00
jdc
e602a4297b Add seeprom(4). Tested on Blade 2000 and Fire 280R. 2013-02-08 15:20:17 +00:00
jkunz
f9de65ba47 Contribution from Petri Laakso:
Enable debug UART input
Fixes issue with some OLinuXino boards which were not able to
accept input from the user.
2013-02-07 21:56:36 +00:00
macallan
4a96c3ec6f add sx at mainbus 2013-02-07 16:19:15 +00:00
macallan
f4a02ceff0 - implement buttom-up copies in cg14_bitblt() so scrolling down works now
- use more registers when copying
- use hardware to draw the cursor
- use putchar() for horizontal scrolling since byte-wise overlapping copy
  ops wouldn't be any faster anyway
2013-02-07 16:14:30 +00:00
macallan
328b697b0f add SX_ROP instruction 2013-02-06 20:39:03 +00:00
matt
7d29a57a1a gcc will supply -Wa,-eabi=gnu so don't include. Use -mabi=apcs-base, not atpcs 2013-02-06 07:19:19 +00:00
macallan
afd2d65f39 use SX for basic hardware acceleration
not quite complete yet but good enough to be useful
missing things include:
- backwards blits
- ROP support
- the cursor is still drawn by software
2013-02-06 04:10:54 +00:00
macallan
d211f15b2f fix typos, deal with hardware insanity 2013-02-06 04:06:29 +00:00
matt
652e251354 Use the mrc form of the vmrs rX, mvfrX instruction to shut up gas. 2013-02-05 23:23:34 +00:00
macallan
47a52b9471 attach SUNW,sx early so cgfourteen can grab it right away and doesn't have
to play games waiting for it
2013-02-05 22:03:16 +00:00
macallan
3e1deca6c5 don't skip SUNW,sx - we've got a driver now 2013-02-05 21:53:45 +00:00
macallan
3b60920a22 attachment and initialization for SX 2013-02-05 21:52:48 +00:00
macallan
8c5cfad34f throw out RASTERCONSOLE goo 2013-02-05 21:45:39 +00:00
matt
5ad96da8cf Add a ${MKTARGET_LINK} 2013-02-05 07:28:48 +00:00
matt
3ba56103bd There are other little endian arm machine_arches other than "arm"
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
2013-02-05 07:27:02 +00:00
matt
6ef84a1155 Make sure these are always compiled with -mabi=atpcs -mfloat-abi=soft
-Wa,-meabi=gnu so they use the old compilation methods.
2013-02-05 03:17:50 +00:00
macallan
fdec22e96e add a sysctl.vis node that indicated which version of the VIS instruction set
is supported. Currently this will be 1 for UltraSPARC I and II, 2 for
UltraSPARC-III and up
2013-02-04 22:19:43 +00:00
skrll
78cb3e713c Oops, put back the initialisation of cpu_cc_freq 2013-02-04 21:46:14 +00:00
skrll
1edacd7eae Fix some VERBOSE_INIT_ARM output 2013-02-04 21:43:17 +00:00
macallan
b04f0dbdf3 put BUS_DMA_PREFETCHABLE back now that the missing pieces are in place 2013-02-04 21:35:44 +00:00
macallan
8964277431 support ARM32_MMAP_WRITECOMBINE for managed pages as well 2013-02-04 13:37:30 +00:00
macallan
800b1f8725 support BUS_DMA_PREFETCHABLE in bus_dmamem_mmap() 2013-02-04 13:26:19 +00:00
jdc
2621eee72e Output "iic mux present" if this device has multiple IIC buses (0 and 1).
The device has multiple buses if the second (bus select) register is present.
2013-02-03 17:46:28 +00:00
matt
023f325fbf Add a machdep.cpu_arch sysctl 2013-02-03 15:57:09 +00:00
skrll
c8094406b7 Fix typo in option name 2013-02-03 11:36:55 +00:00
jdc
dd24a5a7cc Add a detach function and use this when shutting down:
halt the fan speed callout
  set the speed of both fans to maximum

Also avoids occasional panics in shutdown because the callout is not stopped.
2013-02-03 10:58:28 +00:00
matt
c2a1fa0d6c Always compile the kernel with -mfloat=soft 2013-02-03 00:43:14 +00:00
jdc
674d0e262c Add sysmon support to display the fan-speed related values for the CPU and
system fans.
Fix a bug where the system fan was always set to full speed (63), which was
noticed when viewing the values reported by `envstat`.
2013-02-02 21:54:51 +00:00
christos
8874000015 fix compilation 2013-02-02 21:02:06 +00:00
christos
8ab3772af5 static inline so that the kernel links. 2013-02-02 20:06:48 +00:00
matt
0ff8c4a686 Use bus_space_read_multi_4 to drain the RNG's FIFO. 2013-02-01 19:27:47 +00:00
skrll
b24153bad2 Use bus_space_read_multi_4 and fix copyright year. From Jared. 2013-02-01 16:10:16 +00:00
matt
8ce910e785 include stdbool.h if !_KERNEL 2013-02-01 15:23:11 +00:00
matt
b5be1380e5 cleanup PVF_WRITE & pvh_attrs interaction. 2013-02-01 15:02:31 +00:00
phx
b5fea9e283 Include two MII PHY drivers, as needed by certain PCMCIA network cards.
More PHY drivers should be added when needed.
2013-02-01 14:48:15 +00:00
macallan
e312e9600b support WSDISPLAYIO_SVIDEO and _GVIDEO, now screen blanking in X works 2013-02-01 02:53:47 +00:00
matt
85a02f384a Add support for machdep neon_present and id_mvfr sysctls 2013-01-31 22:35:25 +00:00
matt
cd300de5a1 Add simple sysctls for cpu_id, fpu_id, neon_present, simd_present,
simdex_present.
Add struct sysctls to return the isar, mmfr, pfr, and mvfr sets.
2013-01-31 22:34:26 +00:00
skrll
3c966926d4 Another typo in a comment. 2013-01-31 22:01:49 +00:00
skrll
aa0d4ee3b5 Typo in comment. 2013-01-31 21:57:39 +00:00
macallan
8e2baacbf1 break some long lines 2013-01-31 21:10:37 +00:00
matt
99fb32ee38 add a fpu_used sysarch 2013-01-31 14:58:51 +00:00
macallan
1d7e3ae79a support WSDISPLAYIO_GET_FBINFO 2013-01-31 11:00:07 +00:00
macallan
38b542c954 moar register bits 2013-01-30 15:55:27 +00:00
he
8087599c78 Add an install kernel for KUROBOX_PRO. 2013-01-30 13:52:45 +00:00
he
98536816fb Also build a kernel with root on wd0 to avoid query for location of
root file system on boot.
2013-01-30 13:52:17 +00:00
jmcneill
df76c7b4bf discard initial numbers from rng, broadcom says they are "less random" 2013-01-30 11:52:54 +00:00
christos
981fdd0a21 whitespace police 2013-01-30 02:48:22 +00:00
matt
e3604c46b6 Add two missing relocs and DT_MIPS_PLTGOT and DT_MIPS_RWPLT 2013-01-30 01:11:12 +00:00
rkujawa
1b7b64a7e3 Regen configs. 2013-01-29 21:06:15 +00:00
rkujawa
dea4efb7c6 Add forgotten atabus at ata. Needed for satalink. 2013-01-29 21:04:55 +00:00
rkujawa
005917ac6b Support PCI_NETBSD_CONFIGURE for em4k. Mediator 4000 now works completely (minus
obvious lack of DMA).
2013-01-29 21:02:50 +00:00
kiyohara
b73bbcbf2e More stack for ibm4xx slow machines. 2013-01-29 15:47:16 +00:00
kiyohara
f870b0a58c Support 16bits over stack size. 2013-01-29 15:45:43 +00:00
kiyohara
b38b935659 Set SRR1 to r31 in intr_exit. Not cpuinfo. 2013-01-29 15:33:44 +00:00
rkujawa
d649391142 Add em4k(4). 2013-01-29 00:52:50 +00:00
rkujawa
46f5f0241a Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
2013-01-29 00:49:42 +00:00
matt
2d523d359a Add a machdep.fpu_present sysctl for ld.elf_so to use in ld.so.conf to load
libc_vfp.so.
2013-01-28 23:49:12 +00:00
matt
bf8f042bb8 Add a RETr(r) macro (indirect return through register r). 2013-01-28 23:47:38 +00:00
jmcneill
03a5ccc3bd add machdep.serial sysctl for getting board serial number 2013-01-28 19:47:02 +00:00
jmcneill
741b54b4ef reserve char 111 for vchiq 2013-01-28 19:31:14 +00:00
rkujawa
1af566afd6 Power down only if RB_POWERDOWN. Noticed by phx@ . 2013-01-28 16:36:10 +00:00
rkujawa
1ce07d4d32 Regen config files. 2013-01-28 14:56:02 +00:00
rkujawa
2d80693eaf Add empm(4) driver to config files. 2013-01-28 14:54:51 +00:00
rkujawa
3561fc8c97 Plug empm(4) into system halt function. 2013-01-28 14:53:33 +00:00
rkujawa
a15e6473c5 Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
2013-01-28 14:44:37 +00:00
skrll
4da332f873 Move and tweak an #if 0 printf 2013-01-28 08:03:13 +00:00
matt
320f94bd2d Enable INET6 2013-01-28 06:38:50 +00:00
matt
674f7f26d9 Use uint32_t for __asm to appease clang. 2013-01-28 06:16:05 +00:00
matt
d71cca3bb3 Disable bzero_page_vfp and bcopy_page_vfp since it really isn't any faster
than memcpy.
2013-01-28 06:14:45 +00:00
rkujawa
a25b458635 Remove confusing, leftover comment. 2013-01-27 19:58:04 +00:00
matt
4cd37de9e2 Revert back to one dmarange 2013-01-27 19:06:45 +00:00
matt
26b3d46dd1 Get rid of _BUS_DMAMAP_MEM_XLATE 2013-01-27 19:00:08 +00:00
matt
8684f0c4a8 Add a _BUS_DMAMAP_NOALLOC which tells bus_dmamem_alloc to skip that
dmarange when allocating memory.
Add a second dmarange to bcm23xx obio to allow it to map coherently mapped
memory.
2013-01-27 18:31:31 +00:00
matt
fece6942a1 Make _BUS_DMAMAP_MEM_XLATE supplied by the caller. 2013-01-27 17:48:38 +00:00
matt
f344dcac4c Get rid of _BUS_DMAMAP_MEM_XLATE 2013-01-27 17:44:39 +00:00
matt
c794d14d8e Change _BSD_SSIZE_T_ so it's not dependent of _BSD_PTRDIFF_T_ 2013-01-27 17:43:20 +00:00