christos
c7de6e5ccf
If we have both wedge and partition info, use the partition info in the
...
wedge case too. From mlelstv.
XXX: pullup-6
2013-04-28 14:32:55 +00:00
kiyohara
d7b7d02e73
Add new port NetBSD/epoc32.
2013-04-28 12:11:25 +00:00
kiyohara
0514024aff
Add support SoC CL PS-711x.
2013-04-28 11:57:13 +00:00
kiyohara
532bd4edbe
Fix ID ARM710a for CL PS-711x.
2013-04-28 11:51:41 +00:00
macallan
f6a41c7ccb
remove PMAC_G5 kludge - fixed this elsewhere
2013-04-28 00:45:45 +00:00
macallan
76c99e815c
some macppc boxes have onboard devices where parts or the whole PCI interrupt
...
register is hardwired to zero - fix this up here
2013-04-28 00:44:27 +00:00
macallan
5b4a4538c0
make this work on G5
...
from Phileas Fogg, interrupt fixup from me
2013-04-28 00:42:29 +00:00
rkujawa
d425271cba
Add slhci at zbus (Thylacine) and some USB HID devices.
2013-04-27 22:29:56 +00:00
rkujawa
5bc844d257
Add Thylacine USB Host Controller driver (just a zbus frontend to slhci).
...
Barely works due to combination of SL811HS brain damagae and our unforgiving
driver. At least most keyboards and mices are good. Of course on amiga WSCONS
kernel is needed to make any use of them.
2013-04-27 22:27:33 +00:00
christos
9434c99ee1
more bogus number removal
2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b
the bogus number police
2013-04-27 21:43:10 +00:00
joerg
89a508fbb5
Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
...
Some are redundant, but make verification with grep much easier.
2013-04-27 21:35:24 +00:00
christos
dc14ae835f
remove confusing numeric locators where they are unused.
2013-04-27 18:19:19 +00:00
christos
9569800454
spiflash is mi now
2013-04-26 18:35:43 +00:00
rkujawa
9d0be2ec38
Add tps65217pmic to BEAGLEBONE config.
2013-04-25 20:56:20 +00:00
rkujawa
d0e53d93e6
Don't discard flags in ti_iic_exec when calling ti_iic_op. I'm not sure if
...
that's the correct solution. But it unbreaks the drivers when calling iic_exec
with I2C_F_POLL flag.
2013-04-25 13:04:27 +00:00
macallan
8b734aa316
map more register space on Shasta/K2, needed for SMU mailbox registers
2013-04-25 11:22:22 +00:00
macallan
9ab0014b38
make delay() work with _ARCH_PPC64
2013-04-25 00:11:35 +00:00
macallan
9c39c70523
we can read the timebase register as a 64bit chunk when _ARCH_PPC64 is defined,
...
not necessarily LP64
2013-04-25 00:08:48 +00:00
matt
866bfd9d17
Add PT_ARM_EXIDX
2013-04-24 22:35:23 +00:00
matt
3076a529e7
Install fenv.h
2013-04-23 05:42:23 +00:00
matt
cc281dbf4f
Move C99 fenv definitions to this file.
2013-04-23 05:41:12 +00:00
matt
9eee8ba6dd
Add earm MACHINE_ARCH for __ARM_EABI__
2013-04-22 07:53:29 +00:00
msaitoh
4184db8f84
Delete "PCI_" from PCIX and PICE capability registers.
2013-04-21 19:59:39 +00:00
kiyohara
cd4f72f266
Fix hangup to interrupt on cascading PIC.
...
tested on bebox and evbppc/OPENBLOCKS600.
2013-04-21 15:42:11 +00:00
isaki
77f57d5580
M68010 -> __mc68010__, pointed out by tsutsui@
2013-04-21 02:50:48 +00:00
macallan
04df369c97
bump ICU_LEN
...
from Phileas Fogg
2013-04-20 13:32:40 +00:00
isaki
2cb1fdf4a5
Rewrite around BFFFO inline asm.
...
o Prepare C version of BFFFO (from XM6i).
It is helpful in running FPE on other platforms (for example, for a
test). It is also helpful in porting to non-m68k 3rd party :)
o A BFFFO is supported on 68020 or later (though I'm not sure whether
sun2/68010 uses this FPE correctly or not).
2013-04-20 09:32:28 +00:00
isaki
70153dd489
Support sinh(-0.0) and tanh(-0.0).
2013-04-20 07:33:05 +00:00
isaki
0cee51ef54
Support sin(-0.0).
2013-04-20 07:32:45 +00:00
isaki
adcd4b71b5
Clean up some useless codes.
2013-04-20 05:27:05 +00:00
isaki
1db93fc92a
Support tan(-0.0).
2013-04-20 05:09:41 +00:00
isaki
956d42b4aa
Fix typo in comment.
2013-04-20 04:55:44 +00:00
isaki
026814fd27
Terminate a loop in EXT_FRACBITS(64bits) instead of FP_NMANT(83bits).
...
I don't know why the mantissa of the accumulator is 83bits, but 64bits
or more are not affected.
2013-04-20 04:54:22 +00:00
isaki
5d5a7da8b2
Break a loop off to avoid a long loop even if the precision is not enough.
2013-04-20 04:38:51 +00:00
khorben
df80140090
Imported the n900cambtn(4), n900camcvr(4) and n900kbdsld(4) drivers for the
...
Nokia N900, all attaching to the GPIO bus, respectively handling:
- the camera button (focus and capture)
- the camera cover slide;
- the keypad slide.
2013-04-20 03:37:55 +00:00
isaki
c5ad1dc3ef
Update a list of implement/unimplement functions.
2013-04-20 03:26:11 +00:00
isaki
ea6e6f37fa
Implement exponential and power functions.
...
o FETOX .. exp(x)
o FETOXM1 .. exp(x) - 1
o FTENTOX .. 10^x
o FTWOTOX .. 2^x
At last all mathematics functions of FPE were implemented.
Thanks to Yosuke Sugahara.
2013-04-20 03:06:19 +00:00
isaki
0f49abface
s/tayler/taylor/. pointed out by christos@
2013-04-20 01:48:20 +00:00
isaki
397d02332b
Implement a hyperbolic arctangent (FATANH).
2013-04-19 14:05:12 +00:00
isaki
b9e60bfea4
Implement inverse trigonometric functions (i.e., FACOS, FASIN, FATAN
...
instructions).
o arccos is calculated using arcsin.
o arcsin is calculated using arctan.
o arctan is calculated by the CORDIC.
2013-04-19 13:57:52 +00:00
isaki
b64bbce367
Introduce the CORDIC algorithm.
...
o sine and cosine (e.g., FSIN, FCOS and FSINCOS instructions) is now
calculated in the CORDIC instead of Taylor expansion.
o tangent (FTAN) is not touched from a viewpoint of the code size.
o The CORDIC is applicable for hyperbolic functions (e.g., FSINH,
FCOSH, FTANH instructions), but I didn't use it because its working
range is poor.
o The CORDIC is also usable for inverse trigonometric functions,
I will commit it at next phase.
o The code size becomes a bit big. I cannot evaluate speed on m68k
for some reasons, but in test on i386 the CORDIC is approximately
100 times faster in sin/cos.
2013-04-19 13:31:11 +00:00
macallan
b762205fe6
support OpenPIC variant found in PowerMac G5s
...
from Phileas Fogg
2013-04-18 16:42:46 +00:00
isaki
cf9a88b6c4
Improve how to use cmp/sub.
2013-04-18 13:40:25 +00:00
khorben
c06740deca
Fixed the arguments order when calling intr_establish(): the interrupt
...
type and level were erroneously swapped.
2013-04-18 02:08:11 +00:00
khorben
587ad1e1f9
Also support interrupts of type IST_EDGE_BOTH; tested on a Nokia N900 (OMAP3).
2013-04-18 01:33:18 +00:00
bouyer
5303612fb7
Configure the right pads for non-0 modules.
2013-04-17 20:29:16 +00:00
bouyer
db8feb8e08
Implement interrupt-driven transfers
2013-04-17 20:16:53 +00:00
reinoud
082073ae8b
Enable VCONS_DRAW_INTR speeding up the graphic console of the RPi
...
significantly!
2013-04-17 19:04:19 +00:00
bouyer
02da0c7227
Add a driver for the control module found in TI Sitara SoCs.
...
This module controls the pad multiplexor (e.g. is a pad connected to
the GPIO module or the I2C module) and some timing aspects; it
also provides some specific information, like MAC address.
From FreeBSD
2013-04-17 15:04:39 +00:00
bouyer
cbd457774c
Add sitaracm0 for the control module, tiiic0 for the I2C0 module and
...
seeprom for the on-board eeprom.
2013-04-17 14:38:04 +00:00
bouyer
d0b497df9b
Ask the sitaracm module for the ethernet interface, instead of mapping the
...
control module registers locally
2013-04-17 14:36:34 +00:00
bouyer
4980d5d743
Add sitaracm as required modules for TI_AM335X
2013-04-17 14:35:34 +00:00
bouyer
871529a02f
Glue new drivers sitaracm and tiiic
2013-04-17 14:34:02 +00:00
bouyer
3a9336e624
A driver for I2C modules found in TI Sitara SoCs. Should also work
...
for some OMAP4 CPUs with little work.
2013-04-17 14:33:06 +00:00
bouyer
654699b334
Add a driver for the control module found in TI Sitara SoCs.
...
This module controls the pad multiplexor (e.g. is a pad connected to
the GPIO module or the I2C module) and some timing aspects; it
also provides some specific information, like MAC address.
From FreeBSD
2013-04-17 14:31:02 +00:00
macallan
bbd4cb91c8
support Shasta
...
from Phileas Fogg
2013-04-17 12:25:15 +00:00
skrll
a73abb63de
Added __packed in a couple of places to help AEABI
2013-04-17 06:12:42 +00:00
khorben
883d7b65e0
Improved n900acad(4) with:
...
- more readable dmesg output;
- unmapping the GPIO pin upon failure to establish an interrupt;
- some additional cosmetics.
2013-04-17 01:10:28 +00:00
khorben
c6f00f69ca
Imported n900lckbtn(4), a driver for the lock button on the Nokia N900
...
smartphone. Currently reporting events via a hotkey, named after the driver
instance.
Tasted and approved.
2013-04-17 01:06:13 +00:00
khorben
6ace007c22
Disable com0 for the time being, so that the console defaults to the framebuffer.
2013-04-17 00:57:22 +00:00
riz
fdd7809702
Sync DKWEDGE options with XEN3_DOM0.
2013-04-17 00:09:04 +00:00
macallan
095356428f
add definitions for Loongson 2F Chip Config register
2013-04-16 09:02:32 +00:00
martin
2715e8ca06
Make a "panic" message slightly more verbose
2013-04-16 07:45:37 +00:00
jdc
5b2f52eca0
Add PCI fixup for MicroSPARC-IIep.
...
Unconfigured PCI-PCI bridges and devices behind them are configured.
2013-04-16 06:57:05 +00:00
bouyer
8281180ba6
include com.h before testing NCOM
2013-04-15 18:56:38 +00:00
khorben
184c45145a
Corrected the dmesg output upon successful attachment
2013-04-14 20:18:17 +00:00
khorben
d21fbac9bf
Imported n900acad(4), a driver for the Nokia N900 reporting the charging
...
status through sysmon_envsys(9).
XXX need a better way to locate the interrupt (documented)
2013-04-14 19:17:06 +00:00
khorben
f424bed324
Use a separate file to track the drivers specific to the Nokia N900, which
...
will likely support quite a few soon.
2013-04-14 18:57:32 +00:00
skrll
8863f0f324
Trailing whitespace
2013-04-14 15:11:52 +00:00
christos
37ddcb991e
de-duplication police arrests sysctl.
2013-04-12 16:59:38 +00:00
macallan
9902bdf86c
fix off-by-one
...
noticed by Phileas Fogg
2013-04-11 19:55:10 +00:00
macallan
b321ec3e3e
KNF nits
2013-04-11 19:53:51 +00:00
macallan
57361adce0
more OEA64_BRIDGE support
...
from Phileas Fogg
2013-04-11 18:36:44 +00:00
macallan
1a39b65774
in memio_map() don't fail without trying to mapiodev() if we don't find a BAT
...
mapping or don't have BATs
now this works on G5
2013-04-11 18:20:33 +00:00
macallan
b2ee8ed2e2
temporary kludge for G5 - on mine some devices are configured with interrupt
...
pin 0 but a valid IRQ line, so don't treat that as an error if PMAC_G5 is set
2013-04-11 18:14:40 +00:00
macallan
6b3498dcea
for some reason we can't use the ROM font on G5, so disable it with
...
options OFWOEA_WSCONS_NO_ROM_FONT
from Phileas Fogg
2013-04-11 18:04:20 +00:00
macallan
8a9318ebf5
make PPC_OEA64_BRIDGE mode work
...
from Phileas Fogg
2013-04-11 17:13:15 +00:00
isaki
a85a92a0e3
Introduce FPU_CONST_* constants to avoid a magic number.
2013-04-11 13:27:11 +00:00
christos
caafbf4e1b
add missing SSIZE_MIN
2013-04-11 00:57:34 +00:00
skrll
a529fc15ba
Handle _STANDALONE case.
...
OK from matt@
2013-04-08 21:06:39 +00:00
jdc
91d34d1a2d
When we receive a PCI PIO error, print the PCIC status register too.
2013-04-07 16:32:41 +00:00
kiyohara
680dd2b1ce
Include sapicvar.h for sapic_create().
2013-04-07 07:37:51 +00:00
martin
3483f2dc48
Add athn
2013-04-06 16:57:32 +00:00
martin
210e95ef60
athn at pci has been successfully tested
2013-04-06 16:56:18 +00:00
martin
35d9a96a44
Drop MAXPARTITIONS down to 12 - we do not have more space to store a
...
larger disklabel in the bootblocks at least on some supported machines.
Keep the extended major/minor sheme compatible with the 6.0 release and
note that we had a bigger MAXPARTITIONS in between.
2013-04-04 12:50:03 +00:00
martin
b59d36a97c
Rearrange primary bootstrap slightly to free up all space between the disk
...
label and the uVAX rom boot parameter block.
2013-04-04 12:48:07 +00:00
taca
9b81039fcf
Use printf_nolog() as i386 when print remaing bytes at crash dump to
...
prevent message buffer with cound down.
2013-04-02 13:28:41 +00:00
macallan
0ee8b59e60
deal with /memory "reg" property which may contain 64bit addresses on G5
2013-04-01 20:14:42 +00:00
isaki
c74e131596
quad_t -> uint64_t
2013-04-01 13:59:21 +00:00
chs
9027ae94cf
remove unused variable declaration.
2013-03-31 19:45:06 +00:00
chs
4f901db954
yet more fixes for PR 47648 / PR 47016:
...
when using a temporary mp_intr_map, initialize the "flags" field
as well as "redir" since apic_set_redir() uses both. fix how
the flags field is change when applying an override, the trigger
and polarity sub-fields aren't just one bit like they are in redir.
2013-03-31 19:34:24 +00:00
nonaka
8a6a7696a3
Apply patch from steleto, arranged by me.
...
- Avoid chattering for SL-C7x0/860
- Add more stuck keys.
2013-03-30 08:35:06 +00:00
christos
8b57040752
patches for new wifi devices.
2013-03-30 02:38:58 +00:00
matt
f4b2142854
Make sure CPUFLAGS remains empty.
2013-03-29 17:01:00 +00:00
matt
ca32246338
Fix pmap_flush_page to also flush the secondary cache, if there is one.
...
This solves a bus_dma problem with DMA from uncached pages.
2013-03-29 13:27:08 +00:00
christos
70c0b4d9e7
Fix loop bug (Phileas Fogg)
2013-03-28 00:22:21 +00:00
martin
f1a3f8c095
Minor cosmetic tweaks for cpu attach messages
2013-03-26 20:52:29 +00:00
isaki
f53c2e8d4b
u_int -> uint32_t
2013-03-26 11:30:20 +00:00
isaki
528dcaf553
Fix a wrong "raw" comparison in step3.2.
...
It should solve a PR kern/47692.
2013-03-26 10:57:13 +00:00