Commit Graph

215693 Commits

Author SHA1 Message Date
jmcneill
e5c41c01d0 allow ukbd to be the console keyboard if genfb is the console display device 2013-01-11 12:47:38 +00:00
skrll
4e83b7837b Remove unused DOTG_REGSIZE 2013-01-11 12:21:54 +00:00
matt
e29ecd6857 Fix a bug in pmap_modify_pv where we didn't set PVF_WRITE on a page after
changing its mapping to writeable.
Add more KASSERTS
Don't go into DDB by default in pmap_fixup.
2013-01-11 12:04:00 +00:00
tsutsui
2eb326fe75 Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
2013-01-11 12:03:03 +00:00
he
79a8ee95a7 We appear to need files.usb included to get opt_usb.h generated,
to make hid.c build.  The inclusion of hid.c in the build is probably
triggered by some configs including bluetooth support, and hid.c
is apparently both for bluetooth and usb.  I'm not sure what changed
to make the build fail in the first place, though.
2013-01-11 11:00:33 +00:00
he
e2df8d5eb6 With the recent enhancement of omapfb, wsdisplay* devices appear
to now be required, so follow suit to fix the build.
2013-01-11 09:45:53 +00:00
skrll
dc1f8b1a26 Bump SYMTAB_SPACE 2013-01-11 06:41:01 +00:00
skrll
7334eb42fa Improve a panic message slightly 2013-01-11 06:22:23 +00:00
riastradh
9dc19ed03b Nix `-b 1024' from ssh_keygen_flags in /etc/defaults/rc.conf.
No objections on tech-security:

http://mail-index.NetBSD.org/tech-security/2012/09/03/msg000548.html

The security of generating keys at boot remains questionable, but
this change makes that no worse.
2013-01-11 04:32:41 +00:00
christos
d2e2a457fe add the futex PI commands (not implemented yet)
PI = Priotity Inheritance
2013-01-11 02:49:09 +00:00
jmcneill
1a7ffbbda1 clear queued flag when aborting xfer 2013-01-11 02:20:41 +00:00
skrll
90fad558a4 More tidyup 2013-01-10 22:15:04 +00:00
jmcneill
a120f64bf9 enable framebuffer console driver 2013-01-10 22:08:11 +00:00
matt
16b1a4f53d Don't hard code the frequency used for INTRCVLAZY but grab the correct
frequency from the cpu_softc.
2013-01-10 22:07:19 +00:00
jmcneill
cae0b98748 for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont treat it as an error 2013-01-10 22:06:59 +00:00
matt
a3cac63a0e Use the clk_info in cpu_softc. 2013-01-10 22:06:32 +00:00
skrll
c59f8be83c Misc tidyup 2013-01-10 22:02:12 +00:00
jmcneill
4150d24789 basic mmap support, ok skrll 2013-01-10 21:57:38 +00:00
jmcneill
0760b3f3ce also need to update actlen on ack for split transfers 2013-01-10 21:50:56 +00:00
jmcneill
9cf76ac9a8 defer updating td actlen until we get acknowledgement that the tx was successful, fixes umass writes (and probably a lot of other things) 2013-01-10 21:25:53 +00:00
jmcneill
1b9f704790 add missing call to dwc_otg_xfer_end() in dwc_otg_device_bulk_done 2013-01-10 20:31:04 +00:00
pooka
44ba88ce59 .. and make it compile on said platforms. 2013-01-10 19:14:12 +00:00
pooka
a8f9daedd7 Provide an implementation of writewatchfile for platforms without kqueue
or inotify (it's a rather simple implementation ;)
2013-01-10 19:13:04 +00:00
christos
9782767422 The IEEE80211_F_ flag prefix was used for both the flags in ieee80211_var.h
and for the rates in ieee80211_proto.h; rename the rate bits as _R_ to avoid
confusion.
2013-01-10 17:40:10 +00:00
macallan
7f088f1423 don't try to become console if we get is_console=false as device property 2013-01-10 17:38:10 +00:00
macallan
3d8956164d do as RPi does - if console=fb is in bootargs, tell omapfb to become the
console and com not to, otherwise let com be the console
2013-01-10 17:36:35 +00:00
jmcneill
790bc42378 reinstate SDHC_HIGH_SPEED_SUPP capability, and add SDHC_FLAG_NO_HS_BIT flag to workaround bcm2835 sdhc issue with many high speed cards 2013-01-10 17:21:36 +00:00
jmcneill
e3bce41ef4 add SDHC_FLAG_NO_HS_BIT flag to prevent sdhc driver from setting the SDHC_HIGH_SPEED bit in SDHC_HOST_CTL, required to get many high speed cards working on rpi 2013-01-10 17:19:33 +00:00
tsutsui
861825c6cf Make "disklabel" command print correct disklabel info.
- use exact-width interger types to define on-disk format
  (daddr_t could be a different size)
- use proper LABELOFFSET to locate BSD disklabel
  (LABELOFFSET for luna68k is 64 as 4.4BSD-Lite2 while other
   ports that use sun_disklabel use 128)
2013-01-10 16:20:11 +00:00
tsutsui
025f932688 Use proper asm symbol macro. 2013-01-10 16:03:49 +00:00
wiz
ec73a081d2 Add FILES section.
From jmc@OpenBSD.
2013-01-10 16:03:42 +00:00
wiz
56a5e44fef In 2000, .editrc reading from $PWD was removed. Update the man page.
From LEVAI Daniel via jmc@OpenBSD.
2013-01-10 16:03:06 +00:00
tsutsui
e6f39a252a Revert to using elf2aout(1) to build a.out binary.
a.out binary linked by ldscript doesn't work on some uncertain conditions.
2013-01-10 15:51:32 +00:00
jmcneill
dcd951a6c4 Modify fb attachment so genfb still attaches even if it isn't the console
device. Slight change to cmdline.txt to allow for this:

  - console=fb enables fb console, otherwise serial console will be used
  - fb=WxH to select a mode, otherwise EDID will be tried and fallback to
    default mode (1280x720)
  - fb=disable to disable fb completely
2013-01-10 14:15:20 +00:00
jmcneill
5810b6bbe7 only print switching to fb message if genfb is console 2013-01-10 14:12:16 +00:00
skrll
5c014ba1cf Create a plcom0 device node for RaspberryPI 2013-01-10 13:38:37 +00:00
tsutsui
878cadeca4 Link the target boot binary as a.out directly rather than using elf2aout(1).
Confirmed working on LUNA-I.
2013-01-10 13:10:26 +00:00
he
1e3d90c899 Include <machine/cpu.h> for alpha_rpcc declaration. 2013-01-10 10:36:41 +00:00
mlelstv
20911e3ae3 Also report attachment of pseudo-devices to userland. 2013-01-10 10:15:59 +00:00
skrll
b5d16c95bf Simple usmsc(4) man page. 2013-01-10 09:02:53 +00:00
riastradh
014f25f78d After mount_lfs_parseargs, reset getopt for lfs_cleaner_main. 2013-01-10 08:35:26 +00:00
matt
536ad83369 Add hooks to softfloat to support per-lwp exception state. 2013-01-10 08:16:10 +00:00
matt
f77b15e751 Back out workaround. 2013-01-10 06:52:35 +00:00
matt
14365a1730 Fix a typo in strlcpy which caused to not deal with NULs predecing the
string properly.
2013-01-10 04:51:49 +00:00
jmcneill
bcf1f8eea8 Don't set SDHC_HIGH_SPEED_SUPP in host caps as many cards stop responding
after the switch to high speed mode.
2013-01-10 03:59:22 +00:00
jmcneill
e1e890627d bcm2835 watchdog timer support 2013-01-10 02:23:26 +00:00
macallan
8e0ecbc573 implement omapfb_mmap() - now X with wsfb works 2013-01-10 02:18:06 +00:00
matt
eb9a5f19fe Use the naive version of strlcpy until the longer one is fixed (it's still
faster than the C version).
2013-01-10 02:14:42 +00:00
matt
ddfad239b3 use #if defined(xxx) instead of ifdef 2013-01-10 02:13:49 +00:00
matt
01beb558aa Add weak alias for strlcpy 2013-01-10 02:08:22 +00:00