Commit Graph

220921 Commits

Author SHA1 Message Date
tron 1ad2891b6d Don't scrub the environment unless we are going to change it. This should
prevent crashes in applications which carefully and manually construct
a temporary environment and later restore the original environment
like Emacs 24.

Problem reported by Thomas Klausner on "pkgsrc-users" mailing list.
2013-09-09 10:21:28 +00:00
wiz be79f6c038 Improvements from jmc@openbsd. 2013-09-09 09:02:25 +00:00
wiz f743a71b8d Whitespace. 2013-09-09 08:23:54 +00:00
matt 47c1ea4ca3 Remove movw/movt due to linker problems.
Check for 0 divisor and __aeabi_idiv0 if needed (EABI && _LIBC only).
2013-09-09 07:33:54 +00:00
matt 4e222a409b s/__libc/_libc/ 2013-09-09 00:34:10 +00:00
jakllsch 6c1cfa38a7 use IPv6 Documentation Prefix (2001:db8::/32) instead of unallocated
d000🅰️:/32 prefix
2013-09-08 19:12:18 +00:00
matt a50628ca37 Add CUBIEBOARD 2013-09-08 16:34:06 +00:00
rkujawa 8017a004f0 Note the new driver for MPL115A2. 2013-09-08 16:04:21 +00:00
rkujawa 3b7f8b823b Add mpl115a(4) man page to dist list. 2013-09-08 16:01:47 +00:00
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