Commit Graph

31051 Commits

Author SHA1 Message Date
martin
666d626222 Remove an unused variable 2014-01-28 19:26:32 +00:00
skrll
9383ba91b4 Support the OHCI in the NS "SUPERIO" chip as found in hppa machines by
twiddling the same bits as Linux.
2014-01-28 17:24:42 +00:00
martin
b0bca94549 Initialize a variable earlier, so it is not used unitialized in an
error path.
2014-01-28 13:43:33 +00:00
martin
8317b16e13 Quell maybe-uninitialized false positives from gcc 4.8 2014-01-28 13:08:13 +00:00
martin
4fbda0199d Remove an unused variable 2014-01-28 12:18:56 +00:00
macallan
b8193831a7 back out 1.35 since it completely breaks the mechanism for wsdisplay drivers
to determine wether to become console or not.
See http://mail-index.netbsd.org/tech-kern/2014/01/15/msg016421.html
for fixing this properly.
2014-01-27 13:22:55 +00:00
bouyer
8dfb7255af Complete WSDISPLAYIO_SMODE/WSDISPLAYIO_GMODE support.
In sisfb_mmap(), allow mapping the framebuffer and mmio and io registers
when in WSDISPLAYIO_MODE_MAPPED mode. This can be used by X11.
2014-01-26 21:22:49 +00:00
msaitoh
e4bf50ce42 PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
   in pucdata.c's table.

 - Add a new option PUC_CNAUTO. If this option is set, consinit() in
   x86/x86/consinit.c checks puc com device to use it as console.
   Without this option, the behavior is the same as before.

 - Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
   If PUC_CNBUS is set, the specified number's bus will be scanned.

 - Rename comcnprobe() to puc_cnprobe() to make it clear.

 - Rename comcninit() to puc_cninit() to make it clear.

 - Add code for a device that a device's com register is MMIO (#if0 ed).
2014-01-26 10:54:24 +00:00
msaitoh
5c387a0674 Add some OXPCIe952 devices. 2014-01-26 10:20:20 +00:00
msaitoh
0c05a8b018 Regen. 2014-01-26 10:19:37 +00:00
msaitoh
94c3cf1ae4 Add some OXPCIe952 devices. 2014-01-26 10:19:07 +00:00
christos
f5fe8e85e2 fix unused 2014-01-25 21:11:20 +00:00
skrll
2d1abfdfec More alignment spellos 2014-01-25 10:14:29 +00:00
mlelstv
80628d62e4 close uhidev only when it was successfully opened. 2014-01-25 00:03:14 +00:00
bouyer
7d0aaf03d2 Snapshot of work in progress:
Add support xorg wsfb driver. Tested on evbmips/loongson
2014-01-24 12:11:40 +00:00
msaitoh
4317f499b1 Add comments and KNF. No functional change. 2014-01-23 17:43:28 +00:00
msaitoh
a11dbb6a11 Add entry for Intel Quark X1000 UART. 2014-01-23 17:21:06 +00:00
skrll
5e6b2c172a Provide a wsdisplay_accessops.pollc
This makes sure that the screen gets painted properly during early boot
input (e.g. boot -a) on the Raspberry PI.
2014-01-22 18:47:11 +00:00
matt
7050a06bc8 swap16 -> bswap16 swap32 -> bswap32 2014-01-22 17:29:29 +00:00
christos
1d09820de1 fix unused variable warnings 2014-01-22 15:21:08 +00:00
macallan
4f788ce7bc implement WSDISPLAYIO_{GET|PUT}CMAP ioctl()s
while there:
- unmap registers and vram only in WSDISPLAYIO_MODE_MAPPED ( so DRM can map
  them ) but not in WSDISPLAYIO_MODE_DUMBFB ( so wsfb can do things that
  require hardware access, like palette and cursor ioctl()s )
- reject ioctl()s that need hardware access if registers are unmapped ( so we
  don't crash instead )
- use the same bit order in cursor sprite images as the other drivers do
with all this, Xorg with wsfb works properly on top of radeonfb

tested on i386 and macppc ( fingers crossed for alpha ;) )
2014-01-22 07:57:33 +00:00
christos
fa70b03959 fix unused variables 2014-01-21 19:50:16 +00:00
mlelstv
685334f079 one more file needed 2014-01-21 15:03:31 +00:00
mlelstv
8c1acc4017 wscons driver for Intel Graphics Media Accelerator.
Initial commit that already works for a couple of Notebooks
based on G35, G45, Sandy Bridge and Ivy Bridge chips.

Despite the word 'Accelerator' there is nothing acclerated yet.
2014-01-21 14:52:07 +00:00
msaitoh
a9a7d73cae Rename 88SE91XX. 2014-01-21 09:26:47 +00:00
msaitoh
b084d18e05 Regen. 2014-01-21 09:26:18 +00:00
msaitoh
edad32d4bb Rename MARVELL2's 0x91a3 entry to 88SE91XX. 2014-01-21 09:25:49 +00:00
mlelstv
5fe0c7679f fix build 2014-01-21 00:36:11 +00:00
mlelstv
4066bef8de keep track of VCONS_DRAW_INTR screen cache also in erasecols/rows and
copycols/rows methods.
2014-01-21 00:10:46 +00:00
mlelstv
0bc28762a3 add function to detach wscons from a console. This allows to
switch the console to a different driver.
2014-01-21 00:08:27 +00:00
jdc
27e697cae2 Remove the check for (cmdlen > 0) when writing. When i2cscan sends a
quick_write, the command length is 0, so we were previously returning
success for every address in this case.
2014-01-20 22:02:32 +00:00
msaitoh
152fffcfb5 Fix a bug that EG20T's UARTs from #1 to #3 never match.
Tested with my MinnowBoard.
2014-01-20 01:10:38 +00:00
bouyer
d59207e222 Request a 80x25 tty emulation, which is more likely to work than 80x30
on a 640x400 VGA.
2014-01-18 19:24:46 +00:00
apb
b29660a1ad + Please also update ACPI_DATE in include/acapps.h. 2014-01-18 09:51:08 +00:00
dsl
5dae941417 Add another XXX comment, I'm not in a postition to fix the code.
The 'cycle' bit of a LINK trb must not be changed until the cycle bit
of the following trb has been set.
2014-01-16 20:55:56 +00:00
jakllsch
edc30bfbd4 Fix PR kern/46376 with Nat Sloss's patch (with slight modification).
Serial console now works on x86 with genfb enabled.
2014-01-16 18:41:10 +00:00
macallan
5357cde09e cap mappable framebuffer size at 64MB before dividing it up for each output
now we can actually access the 2nd fb on boards with more than 64MB VRAM
2014-01-14 09:46:42 +00:00
macallan
2ff97689e1 - move cursor area to the end of each display's chunk of fb RAM
- use memory between display and cursor as glyph cache instead of blindly
  trying to use 8MB
should fix PR 48492
2014-01-14 01:35:13 +00:00
macallan
86e9be6a98 try not to crash when calling glyphcache_wipe() on an uninitialized cache
first step to fix PR 48492
2014-01-13 19:30:33 +00:00
reinoud
0e492f7c8d Regen 2014-01-13 08:24:17 +00:00
reinoud
4e9ecc3794 Add Atmel's SAM-BA programming port as found on Atmel's SAM3E (ARM CortexM3)
boards
2014-01-13 08:23:58 +00:00
reinoud
680415d3af Regen 2014-01-13 08:22:07 +00:00
reinoud
39e8846521 Add Future Bits as vendor code
Add Atmel SAM3E based microcontroller board "4Pi" by Future Bits
2014-01-13 08:21:41 +00:00
jakllsch
e45cb093f5 KASSERT that cmd is non-NULL in more places, and in a place that previously
did not use KASSERT to do the same thing.
2014-01-11 20:29:03 +00:00
jakllsch
056e4dba49 Do not take data from the controller in interrupt handler if we are polling. 2014-01-11 20:17:56 +00:00
msaitoh
5010e7e4fc Sync with pcidev's change. Rename PCI_PRODUCT_MARVELL2_88SE9128 to
PCI_PRODUCT_MARVELL2_88SE912Z. No functional change.
2014-01-10 01:43:52 +00:00
msaitoh
9fecef6533 regen. 2014-01-10 01:42:20 +00:00
msaitoh
4165b90127 Rework for Marvell 88SE9128. Change the description of 0x9123 to
88SE912[38]. For 0x91a3, add '(unclear)' into the description.
FreeBSD, Linux and http://pci-ids.ucw.cz have no such device.
2014-01-10 01:39:48 +00:00
christos
9682229fe5 regen 2014-01-09 22:37:44 +00:00
christos
07a9cab707 revert unintended changes 2014-01-09 22:37:18 +00:00