rkujawa
0c3b693fd3
Add mpl115a(4) man page for the new MPL115A2 pressure sensor driver.
2013-09-08 15:57:39 +00:00
rkujawa
c7b0c56c96
Preliminary support for MPL115A2 pressure sensor. It works, but accurracy is
...
awful.
I should add presure as a new type of sensor to envsys at some point...
2013-09-08 14:59:42 +00:00
chs
4640275d2a
revert making smc91cxx_idstrs static, it's referenced from
...
sys/dev/isa/if_sm_isa.c
2013-09-08 14:27:39 +00:00
mlelstv
6fa7c3413b
Fix handling of NAME aliases in /etc/fstab.
2013-09-08 13:26:05 +00:00
matt
0e3a78e197
Support using hwdiv instructions if those are available.
...
But only for EABI.
2013-09-08 13:24:16 +00:00
matt
66ad0cf771
detect whether hw divide is present.
2013-09-08 13:15:53 +00:00
jmcneill
017bf683aa
defparam ATADEBUG_MASK
2013-09-08 12:51:14 +00:00
matt
98efa985ed
Detect presence of hardware divide.
2013-09-08 12:11:56 +00:00
matt
1529b1223b
Set the ACHI port mask since the h/w is broken.
2013-09-08 11:47:50 +00:00
matt
2bf7a125b9
Allow the attachment to override ahci_ports.
...
Keep ACHI_PI cached in the softc.
2013-09-08 11:47:16 +00:00
matt
1efbdaa7a9
If there is only 1 port, don't say "1 ports".
...
Add a debug printf after reading the active ports.
2013-09-08 11:19:47 +00:00
jmcneill
58c506be7c
correct a typo in the reg name polled while waiting for phy calibration
2013-09-08 10:43:51 +00:00
jmcneill
36ad2e17e8
Use correct offset for PLL6 register.
2013-09-08 10:32:56 +00:00
prlw1
dc76b0b003
Add defaults for pkg_info and pkg_admin variables in case pkgpath.conf
...
is not installed.
2013-09-08 08:19:40 +00:00
skrll
c03ab98a67
Add sc->sc_bus.use_polling || to a couple of KASSERTs
...
PR/46826
2013-09-08 06:37:23 +00:00
pooka
15344de734
Fool isatty() into thinking we're a tty.
2013-09-08 04:37:17 +00:00
kiyohara
1730fa1769
Fix size of EHCI register space.
2013-09-08 04:10:23 +00:00
matt
45d2ed72c1
Improve phy_init a little. Still doesn't work.
2013-09-08 04:07:45 +00:00
matt
7ff2146a83
Rename awinfe to awe and awinge to awge.
...
Allow properties in awinio0 to disable devices.
Use such a property to disable probing of gige.
2013-09-08 04:06:44 +00:00
msaitoh
10b245faf0
Remove extra debug message.
2013-09-08 03:17:02 +00:00
matt
40fad00f75
Add more nand #define's
2013-09-08 01:29:42 +00:00
matt
79e6364f42
Move interrupts back to IPL_USB
2013-09-08 01:01:33 +00:00
matt
33ff832239
Make sure to actual push the configuration of the GPIO to its registers.
...
With this change, USB now works.
2013-09-08 00:55:25 +00:00
matt
0e738d35fd
Add mii support and some initialization.
2013-09-08 00:05:27 +00:00
matt
b4057f5a8c
Add some comments
2013-09-08 00:04:33 +00:00
matt
2aea4d4a26
Add mii attr to ethernet devices
2013-09-08 00:03:59 +00:00
matt
febe4991a1
Add rlphy
2013-09-08 00:03:40 +00:00
jmcneill
b3d80f01ed
correct a typo in awin_gpio_pin_ctl that would have prevented configuring output pins
2013-09-07 23:47:33 +00:00
matt
3b639577a4
Add a machdep.hwdiv_present sysctl (cortex A7 and A15 have hwdiv instructions)
2013-09-07 23:10:02 +00:00
matt
21dbc4bb59
Reenable OHCI
2013-09-07 22:52:12 +00:00
matt
5c28d99f8a
Simplify USB initialization.
2013-09-07 22:51:41 +00:00
matt
d34a5755d1
start adding NFC registers
...
fix AWIN_AHB_GATING0_USB_OHCI0
2013-09-07 22:51:03 +00:00
matt
e6c711a47f
add KASSERT to make sure softints are not NULL
2013-09-07 19:53:24 +00:00
matt
5df3d4b64c
Add more initialization code for AHCI and USB.
...
Alas, neither still is coming up.
2013-09-07 19:48:57 +00:00
matt
c5a9cb82c0
Finish off GPIO handler. Add hook for other driver to access a named gpio.
...
Add two input gpio's for usb0.
2013-09-07 19:47:28 +00:00
chs
18ec38ea7c
switch to ELF naming for local labels.
2013-09-07 19:06:29 +00:00
chs
c2a70ce464
apply changes from Robert Sprowson in PR 47765 and PR 47788:
...
- make sure we wait long enough after resetting the chip.
- add the necessary delay after changing the FIFO pointer.
- add a missing interrupt ACK.
- fix padding of short and odd-length packets.
and a few more changes from me:
- do 2-byte writes in most places even if SMC91CXX_NO_BYTE_WRITE
is not defined. the only ones still conditionalized are
writing to the interrupt ack/mask registers.
- the only big-endian front-end of this driver (on mac68k) uses
a bus_space that does all the byte-swapping in that layer,
so remove the explicit byte-swapping in the MI part.
tested on mac68k.
2013-09-07 18:55:29 +00:00
pooka
fbf90abc10
fix -Wuninitialized
2013-09-07 18:17:35 +00:00
pooka
28fc97ca89
Add an initial console device and open fd's 0/1/2 for initproc. This is
...
again useful in standalone-type environments such as Xen, where all
printf/etc calls go through the rump kernel.
2013-09-07 17:58:00 +00:00
rkujawa
45d149c466
Add forgotten xsh device.
2013-09-07 17:23:55 +00:00
skrll
b8a293f0ef
Some lock comments.
2013-09-07 16:47:23 +00:00
skrll
43ff4efcf0
Typo.
2013-09-07 16:43:48 +00:00
skrll
321324ebc8
Reload the full device descriptor after re-establishing the default pipe
...
with the new address.
Some HCDs, e.g. dwc2, need wMaxPacketSize to be the value returned from
the device to complete transfers after the set address. Opening the pipe
again gives the HCD access to the correct value.
2013-09-07 16:39:15 +00:00
skrll
823b4b5f3b
Deal with control transfers better by
...
- removing the UHCI_PTR_VF flag for the setup and status stages
which means they are scheduled less aggressively. Some devices
appear to require this (blymn@ has one). The flag was
introduced as a performance improvement for bulk transfers.
- Checking for short reads and making sure the status stage runs
if they're encountered.
PR/47522 Enumeration of LUFA/Atmel devices on UHCI fails
Thanks to jak@ and blymn@ for testing and mlelstv@ for comments.
2013-09-07 16:17:12 +00:00
tsutsui
8f3d6d39ad
Whitespace cleanup.
2013-09-07 15:56:11 +00:00
jmcneill
209e8daf3b
ECHI -> EHCI in printf
2013-09-07 10:46:18 +00:00
jmcneill
ce02c0de21
usb irq handler should be IPL_SCHED
2013-09-07 10:45:53 +00:00
skrll
53914b01fc
Disable USE_ARM_SIMD for now. It crashes Xorg.
2013-09-07 09:22:37 +00:00
matt
25fcead210
Change two KASSERTs to KASSERTMSG
2013-09-07 03:34:59 +00:00
matt
b880990f59
Fix comment.
2013-09-07 03:34:20 +00:00