summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Align memory access of 24-bit pixel renderer to word boundary.jkim2010-03-241-2/+7
|
* Teach VGA framebuffer about 8-bit palette format for VESA.jkim2010-03-242-12/+16
|
* Add my copyright here. It seems I have contributed enough code. :-)jkim2010-03-231-0/+1
|
* Be extremely careful when we determine bytes per scan line information.jkim2010-03-231-11/+54
| | | | | | | First, we compare mode table data against minimum value. If the mode table does not make sense, we set the minimum in the mode info. When we actually set the mode, we try VESA BIOS function and compare it against the previous value. If it makes more sense, update the information.
* Fall back to VGA palette functions if VESA function failed and DAC is stilljkim2010-03-231-11/+10
| | | | | in 6-bit mode. Although we have to check non-VGA compatibility bit here, it seems there are too many broken VESA BIOSes out to rely on it.
* Map entire video memory again. This is a partial backout of r203535.jkim2010-03-231-3/+4
| | | | | Although we do not use them all directly, it seems VGA render may access unmapped memory region and cause kernel panic.
* Separate 24-bit pixel draw from 32-bit case. Although it is slower, we dojkim2010-03-231-1/+4
| | | | not want to write a useless zero to inaccessible memory region.
* Add PCI ID for MCS9901's parallel port.delphij2010-03-231-0/+1
| | | | | | PR: kern/144713 Submitted by: gcooper MFC after: 2 weeks
* Do not declare the various OFW command buffers static. It does notnwhitehorn2010-03-231-24/+24
| | | | | | | appear to be necessary on either sparc64 or powerpc, and is a concurrency nightmare. Reviewed by: marius
* - Spec tells that CCC interrupt is edge triggered. Acknowledge it as such.mav2010-03-211-2/+19
| | | | - Do not try to enable CCC if it is not supported.
* Add some more codec IDs.mav2010-03-211-1/+15
|
* Enable MSI by default for SiI3124.mav2010-03-201-6/+7
|
* Add support for the Samsung S3C2xx0 family of ARM SoCs written byimp2010-03-201-0/+219
| | | | | | | | Andrew Turner. The kernel supports the LN2410SBC evaluation board, and likely others. These parts (or similar ones) are in some open hardware designs for phones. Submitted by: Andrew Turner
* - Added support for 5709S/5716S PHYs.davidch2010-03-183-389/+288
| | | | | | | | - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various debug functions. MFC after: 2 weeks
* - Added support for 5709S/5716S PHYs.davidch2010-03-183-23/+158
| | | | | Submitted by: pyunyh MFC after: 2 weeks
* Remove an unneeded variable.ed2010-03-181-1/+0
| | | | Reported by: tinderbox
* Remove two instances of the evil hack to get the ifnet. mii_ifp isimp2010-03-171-12/+2
| | | | set early enough that we don't need to do these hacks anymore.
* Set the device capabilities to include dynamic link-state forqingli2010-03-171-0/+2
| | | | | | | those modern drivers. Reviewed by: imp (and suggested by imp) MFC after: 3 days
* Fix 2 bugs in mxge_attach()gallatin2010-03-171-3/+3
| | | | | | | | | | | - Don't leak slice resources when mxge_alloc_rings() fails - Start taskq threads only after we know attach will succeed. At boot time, taskqueue_terminate() will loop infinately, waiting for the threads to exit, and hang the system. Submitted by: Panasas MFC After: 3 days
* Put gone device timer into a structure tag that can hold more than 32 ↵mjacob2010-03-174-17/+24
| | | | | | | | | | seconds. Oops. Untangle some of the confusion about what role means when it's in the FCPARAM/SDPARAM or isp_fc/isp_spi structures. This fixed a problem about seeing targets appear if you've turned off autologin and find them, or rather don't, via camcontrol rescan. MFC after: 1 month
* Revert r205090.yongari2010-03-161-16/+16
| | | | | | | It's hard to know when the mail box register write will get flushed to the hardware and it may take longer. Pointed out by: scottl
* Make the code more readable and compiling on 64-bits arch differentattilio2010-03-151-5/+1
| | | | | | | | | than amd64. Sponsored by: Sandvine Incorporated Submitted by: emaste MFC: 2 weeks X-MFC: r205160
* It seems PCI_OUR_REG_[1-5] registers are not mapped on PCIyongari2010-03-141-10/+10
| | | | | | | | | | | | configuration space on Yukon Ultra(88E8056) such that accesses to these registers were NOPs which in turn make msk(4) instable on this controller. Use indirect access method to access PCI_OUR_REG_[1-5] registers. This should fix a long standing instability bug which prevented msk(4) working on Yukon Ultra. Special thanks to koitsu who gave me remote access to his system. PR: kern/114631, kern/116853 MFC after: 1 week
* Checkin a facility for specifying a passthrough FIB from userland.attilio2010-03-141-1/+141
| | | | | | | | | | | | | | arcconf tool by Adaptec already seems to use for identifying the Serial Number of the devices. Some simple things (like FIB setup and bound checks) are retrieved from the Adaptec's driver, but this implementation is quite different because it does use the normal buffer dmat area for loading segments and not a special one (like the Adaptec's one does). Sponsored by: Sandvine Incorporated Discussed with: emaste, scottl Reviewed by: emaste, scottl MFC: 2 weeks
* enables S/W beacon miss handler.weongyo2010-03-141-0/+2
| | | | Reported by: imp
* Fix build after typo.rnoland2010-03-131-1/+1
| | | | | Reported by: Sergey V. Dyatko <sergey.dyatko@gmail.com> MFC after: 3 days
* Add support for Intel Pineview chips, aka IGDrnoland2010-03-133-3/+15
| | | | | | | | Slightly modified version of the submitted patch. PR: 143427 Submitted by: Mamoru Sumida <msumida@mvc.biglobe.ne.jp> MFC after: 3 days
* The proper fix for the delayed SCTP checksum is torrs2010-03-121-1/+1
| | | | | | | | | | have the delayed function take an argument as to the offset to the SCTP header. This allows it to work for V4 and V6. This of course means changing all callers of the function to either pass the header len, if they have it, or create it (ip_hl << 2 or sizeof(ip6_hdr)). PR: 144529 MFC after: 2 weeks
* Add support of Intel Pineview chips, aka IGD.rnoland2010-03-121-4/+20
| | | | MFC after: 3 days
* Add pci ids for Intel Ironlake chipsets.rnoland2010-03-121-0/+4
| | | | | | | | These behave just like g45 for agp. Tested by: Torfinn Ingolfsen MFC after: 3 days
* Implement Rx checksum offloading for Yukon EC, Yukon Ultra,yongari2010-03-122-47/+204
| | | | | | | | | | | | | | | | | | | | Yukon FE and Yukon Ultra2. These controllers provide very simple checksum computation mechanism and it requires additional pseudo header checksum computation in upper stack. Even though I couldn't see much performance difference with/without Rx checksum offloading it may help notebook based controllers. Actually controller can compute two checksum value by giving different starting position of checksum computation on received frame. However, for long time, Marvell's checksum offloading engine have been known to have several silicon bugs so don't blindly trust computed partial checksum value. Instead, compute partial checksum twice by giving the same checksum computation position and compare the result. If the value is different it's clear indication of hardware bug. This configuration lose IP checksum offloading capability but I think it's better to take safe route. Note, Rx checksum offloading for Yukon XL was still disabled due to known silicon bug.
* Reorder interrupt handler a bit such that producer/consumeryongari2010-03-121-16/+16
| | | | | | | | index of status block is read first before acknowledging the interrupts. Otherwise bge(4) may get stale status block as acknowledging an interrupt may yield another status block update. Reviewed by: marius
* Mask disk_idx to avoid panic because of extra bits set.mav2010-03-121-6/+8
| | | | | PR: kern/102211 Submitted by: yoichi
* Add device ID for the NATURAL4000 keyboardthompsa2010-03-111-0/+1
|
* - Integrate latest driver code from OpenBSDthompsa2010-03-114-131/+652
| | | | | | | - Drain our tasks from the ieee80211 taskqueue - Add more IDs Submitted by: Akinori Furukoshi
* extend search for Apple Function Key.thompsa2010-03-111-13/+18
| | | | | PR: usb/144414 Submitted by: Hans Petter Selasky
* Add new device ID for the SMC 2514HUBthompsa2010-03-111-0/+1
| | | | Submitted by: Alexander Best
* add new vendor ID for APACERthompsa2010-03-111-0/+1
| | | | Submitted by: Paul B Mahol
* Implement USB kernel driver detach from userland.thompsa2010-03-113-6/+21
| | | | Submitted by: Hans Petter Selasky
* Make sure there is a way to reset the endpoint FIFO on transfer errors forthompsa2010-03-111-4/+18
| | | | | | ISOCHRONOUS transfers Submitted by: Hans Petter Selasky
* For USS820 driver we need to manually reset TX FIFO at each SETUP transactionthompsa2010-03-111-0/+8
| | | | | | because the chip doesn't do this by itself. Submitted by: Hans Petter Selasky
* isochronous endpoint descriptors should have two more bytes which are zero bythompsa2010-03-111-7/+16
| | | | | | default. Submitted by: Hans Petter Selasky
* Add new uvisor(4) device ID.thompsa2010-03-112-0/+6
| | | | PR: usb/144201
* It appears that some UVISOR devices do not handle when the clear stall commandthompsa2010-03-111-5/+0
| | | | | | | | | is issued at the beginning of the initial IN/OUT data transfers. Reason unknown, probably firmware fault. Now the stall is only cleared on data transfer errors. PR: usb/144199 Submitted by: Hans Petter Selasky
* - make the usb_temp_setup() and usb_temp_unsetup() functions public so thatthompsa2010-03-113-21/+17
| | | | | | | | | other modules can generate USB descriptors. - extend the vendor specific request function by one length pointer argument, because not all descriptors store the length in the first byte. For example HID descriptors. Submitted by: Hans Petter Selasky
* Use wMaxPacketSize for the uftdi input buffer size.thompsa2010-03-111-3/+1
| | | | Submitted by: Hans Petter Selasky
* Reapply r185998 which was overwritten at some point.thompsa2010-03-111-3/+0
|
* Small whitespace fixes.jhb2010-03-111-2/+1
|
* Wrap the proc wakeup special case for ddb in ifdef DDB.thompsa2010-03-111-0/+6
| | | | Submitted by: Giovanni Trematerra
* Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug andthompsa2010-03-111-4/+6
| | | | non-debug cases.
OpenPOWER on IntegriCloud