Commit Graph

215660 Commits

Author SHA1 Message Date
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
jmcneill
5681b93d0e If genfb.type=<int> is passed on cmdline, override the wsdisplay type
returned by WSDISPLAYIO_GTYPE ioctl.
2013-01-09 23:58:40 +00:00
skrll
9f30d8c8c0 Note a couple of drivers I added. 2013-01-09 23:50:59 +00:00
skrll
826abf648c Enable COMPAT_60 2013-01-09 23:19:13 +00:00
skrll
c60bdcc8a0 Add ukphy 2013-01-09 23:04:27 +00:00
skrll
3c74e11937 Provide the mac address for usmsc(4) as read from the firmware. 2013-01-09 23:04:10 +00:00
skrll
f9005c4809 Add usmsc(4) - a driver for the SMSC95XX USB ethernet devices.
This is a port of the OpenBSD driver which itself was a port of the
FreeBSD driver.

sorry mrg. jared made me do it.
2013-01-09 23:02:59 +00:00
skrll
1fe9e05251 Remove unused length member of ctrl xfer in struct ehci_pipe 2013-01-09 23:02:58 +00:00
skrll
80f4c233cb Add usmsc(4) - a driver for the SMSC95XX USB ethernet devices.
This is a port of the OpenBSD driver which itself was a port of the
FreeBSD driver.

sorry mrg. jared made me do it.
2013-01-09 23:02:58 +00:00
skrll
8d36eb6c6c Add/enable USB 2013-01-09 22:49:39 +00:00
jmcneill
cd3cfc2d66 framebuffer only seems to support BGR mode, so request it and set is_bgr property on device when in BGR mode 2013-01-09 22:36:07 +00:00
skrll
0b453b8d4b Provide dotg(4) - a driver for the Synposys DesignWare OTG USB IP found
in the RaspberryPI. The driver supports host mode and control, interrupt,
and bulk transfers only at this point.

Heavily based on the FreeBSD driver by Hans Petter Selasky.

Thanks to all who helped. Jared McNeill, Michael van Elst and other.
2013-01-09 22:23:44 +00:00
riastradh
bc01998d73 Initialize b_resid before biodone in wdioctlstrategy error branch.
Otherwise we may panic when physio's biodone callback kasserts
something about b_resid, since nothing will have initialized it.
2013-01-09 22:03:49 +00:00
riastradh
50ce00ea5e Add some ATA SECURITY commands to atactl(8). 2013-01-09 21:58:23 +00:00
matt
737b720dde Don't rely on PKTTYPE in the rxsts since it becomes unreliable. 2013-01-09 18:19:09 +00:00
riastradh
6eb4026e2b Name the ATA SECURITY commands. 2013-01-09 17:55:04 +00:00
matt
b36e44e7ce Handle BUS_SPACE_MAP_PREFETCHABLE like BUS_SPACE_MAP_CACHEABLE. 2013-01-09 17:45:13 +00:00
tsutsui
25290fa604 Make sure to print proper bootprog name in banner. 2013-01-09 16:28:41 +00:00
christos
02e805c272 Back out my last change, which was a partial fix for hash code computation problems.
Apply Darren's more complete reworking of hash code computation.
Ensure that the struct containing the red-black tree head is properly initialized.
From Geoff Adams
2013-01-09 13:23:20 +00:00
he
9f83d21ca2 Include <machine/alpha_cpu.h> for alpha_mb() definition. 2013-01-09 08:49:44 +00:00
he
901982a3e4 The pmap_prefer() function grew an additional argument with the introduction
of top-down VM; fix the prototype accordingly.
2013-01-09 08:11:09 +00:00
macallan
ec14d8bfde remove debug cruft 2013-01-09 04:52:47 +00:00
macallan
0b95bee04c omapdma needs-flag now 2013-01-09 04:49:05 +00:00
macallan
14a01d8467 add omapdma, also re-enable omapfb since it no longer unconditionally hogs
the console
2013-01-09 04:44:54 +00:00
macallan
0926576008 if omapdma is present, (ab)use channel 0 for basic graphics acceleration
idea from RISC OS
2013-01-09 04:40:46 +00:00
macallan
a99e9d499e do some more setup, while there fix a bunch of typos 2013-01-09 04:38:14 +00:00
macallan
b4f7590656 omapdma* -> omap3_sdma* 2013-01-09 03:35:11 +00:00
jmcneill
ae12efd804 add scsibus at umass and sd at scsibus 2013-01-09 02:05:12 +00:00
jmcneill
1f7593441b aprint_verbose -> aprint_debug 2013-01-09 01:57:59 +00:00
jmcneill
1cb4b44ff4 USTIR_DEBUG_IOCTLS doesnt compile, and depends on a missing member in struct irframe_methods, so remove it 2013-01-09 01:44:46 +00:00
jmcneill
c906327f5e pull in RPI.local if it exists 2013-01-09 01:39:44 +00:00
jmcneill
808df3ac34 add genfb, disabled for now 2013-01-09 00:28:54 +00:00
jmcneill
180616cfd8 genfb support for rpi 2013-01-09 00:24:54 +00:00
matt
0e293547ab Use movw on armv7 to fill uppper halfword. 2013-01-09 00:01:07 +00:00