215694 Commits

Author SHA1 Message Date
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
jmcneill
3ccf78bfe7 add genfb glue 2013-01-08 23:52:48 +00:00
jmcneill
6ed7299e5c add fb and dotg devices 2013-01-08 23:51:33 +00:00
jmcneill
4a8b1bee78 add WSDISPLAY_TYPE_VC4 and WSDISPLAYIO_BUS_SOC 2013-01-08 23:49:56 +00:00
skrll
a9b146de5a Fix BCM2835_USB_SIZE. 2013-01-08 21:58:40 +00:00
matt
d8854cd184 Add a simplier version of memset which is less than 1/2 the size of the
current one.  On a Cortex-A9, this is about 15%-30% faster than the current
libc version.  This is not a trivial implementation since that was an order
magnitude slower than the existing libc version.
2013-01-08 20:15:00 +00:00
wiz
b1a47481aa Remove trailing whitespace. 2013-01-08 19:55:43 +00:00
jakllsch
2942f91989 If the command protocol calls for a trailing busy signal,
wait (up to 10 seconds) for it to be released.
2013-01-08 19:36:38 +00:00
dholland
2f4276ca8c Rework the description of the const issue to improve the wording,
avoid saying "we", fix typos, etc.

XXX: groff and mandoc handle the URLs in here differently but both
XXX: mangle them, apparently because they're wider than one line.
XXX: Does anyone know how to fix this or do we need an URL shortener
XXX: on www.NetBSD.org?
2013-01-08 19:19:24 +00:00
macallan
a33b98edb0 add a simple driver for OMAP3's built-in DMA controller 2013-01-08 19:03:16 +00:00
pgoyette
640316503e Add missing quote - fix build 2013-01-08 16:58:59 +00:00
skrll
532112e5fd Use the VC power manager mailbox channel to power up the devices we have
support for.
2013-01-08 16:49:43 +00:00
jakllsch
1ff5a06d78 Add bcmspi(4) and bsciic(4) and subordinate busses. 2013-01-08 16:39:28 +00:00
skrll
167a48ec70 Sprinkle needs-flag 2013-01-08 16:24:23 +00:00
jmcneill
255b70658f add vc fb alpha and screen blanking tags 2013-01-08 15:07:32 +00:00
pooka
d2e20983e2 Update a bit. yay, this file isn't completely append-only! 2013-01-08 13:45:28 +00:00
matt
8eef9c1e44 Depending on _STANDALONE include the "naive" version or the normal arm version. 2013-01-08 13:21:05 +00:00