summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-05-16Make netboot generate a BTINFO_NET bootinfo node for the Synology sk(4) NIC.phx
It will pass the MAC address, which is read from Flash ROM, into the kernel. The kernel creates a "mac-address" device-property, which is used by sk(4), when given, before reading the MAC from its EEPROM.
2010-05-15Add register information for the EHCI 1.0 Appendix C Debug Port.jakllsch
2010-05-15Add Debug Descriptor structures and constants,jakllsch
as well as symbolic identifiers for USB packet IDs.
2010-05-15Regen.jakllsch
2010-05-15Add NetChip (now PLX) vendor ID, as well as NET228[02] device IDs.jakllsch
2010-05-15Add mutex.h.kiyohara
2010-05-15Clear RI_NO_AUTO in actual attach functions during autoconf(9)tsutsui
for console devices that set the flag during consinit().
2010-05-15Set RI_NO_AUTO in ri_flg if *fb_common_init() is invoked from cnattach.tsutsui
Untested.
2010-05-15Set RI_NO_AUTO in rip->ri_flg if tga_init() is invoked from cnattach.tsutsui
2010-05-15Set RI_NO_AUTO in ri->ri_flg if hpcfb_init() is invoked from cnattach.tsutsui
Fixes silent hang on hpcsh and hpcmips. XXX: all other rasops based console devices need to set this flag??
2010-05-14update DPRINTF to reflect actual function nameplunky
2010-05-14May be easy to understand 'pay_len > 0' more than 'paylaod != NULL'.kiyohara
2010-05-14Use kmem(9) instead of malloc(9).kiyohara
2010-05-12set RI_NO_AUTO then attaching early, clear it otherwisemacallan
2010-05-12hid_get_data() does not work if the size of data is less thanplunky
a byte and crosses a byte boundary, and it always returns a sign-extended value. fix this by using the algorithm from libusbhid to read bytes, and provide a hid_get_udata() function to return unsigned data values. while here, const args
2010-05-12Print a warning if AcpiOsSleep() is called with a value larger than twojruoho
seconds. It is known that there are systems in the field that pass bogus AML values to the Sleep() operation code, possibly requesting delays that could be measured in days. Discussed with jmcneill@. XXX: While the used mstohz(9) is documented to round to one second if the passed value is larger than 131072 ms, we may still need to force a sensible upper limit if this warning starts to appear.
2010-05-12When scanning the device "capabilities" (power, wake-up, etc.),jruoho
include all device nodes, regardless of the status of the device. XXX: It is known that some systems implement the _STA method incorrectly. If needed in the future, attachment based on the values from this method may need revisiting. Same goes for ACPI_ACTIVATE_DEV.
2010-05-12Initial pass for issues observed by dyoung@ on HP Pavilion N3270. In thisjruoho
laptop there is a PNP0C0B ("ACPI fan") with the following properties: _PSC : Power state for D3 (alone). _PR0 : Power resources for D0. _PSx : Power state switch for D0 and D3. Thus, it is impossible to get or set the D3 power state via power resources alone; there is only a single PowerResource() and it is for D0. To tackle this: 1. Evaluate the direct _PSC control method if and only if there is no given _PRx. The order is important; it is known that some other systems implement the _PSC method (like _STA) incorrectly. 2. If no _PRx is available (and thus no _ON or _OFF), do not error out. Instead, if we have AE_NOT_FOUND, continue to evaluate the power state switch method, _PSx, which (on this laptop) should alone suffice for the D0 -> D3 transition.
2010-05-12regenchristos
2010-05-12Use device names from the OpenBSD iwn driver, adding and modifying devicechristos
names as needed. From Sverre Froyen
2010-05-12Use callout_halt() instead of callout_stop() - otherwise gem_detach() mightmartin
be too fast and run callout_destroy() while another cpu is still busy in the callout.
2010-05-11Cosmetic: remove superfluous parentheses from return statements. Don'tdyoung
test truth of pointers, or compare with 0, but compare with NULL, instead. The compiler generated the same assembly language before & after this change.
2010-05-11Fix some typos in comments.njoly
2010-05-10Make this compile on sparc64.tsutsui
2010-05-10Use kmem(9) instead of malloc(9).kiyohara
2010-05-10Regen.matt
2010-05-10Add MARVELL 88SB2211 PCIe-PCI bridgematt
2010-05-09The interrupt handler uses the softc, so it's probably a good idea tohans
initialize it before causing interrupts. Prevents a panic on VAXstation 4000/9x with SPX console.
2010-05-08PCI-ISA Bridge paired with M5229 UDMA IDE Controller rev. 0xC3 isnakayama
M1533. Follow the fix in rev 1.1004 of pcidevs.
2010-05-08Recognize additional SMBus controllers. From FreeBSD.pgoyette
2010-05-08Regenpgoyette
2010-05-08Add a couple more SMBus controllers. From FreeBSD.pgoyette
2010-05-08Move "opt_slhci.h" from .h to .cisaki
to avoid link error (multiple definition of _KERNEL_OPT_foo).
2010-05-07Enable gtidmac.kiyohara
2010-05-07Use macro PCI_PRODUCT_MARVELL_MV64[34]60.kiyohara
2010-05-07Regen.kiyohara
2010-05-07Add Marvell MV64460.kiyohara
Rename Marvell GT64360 to MV64360.
2010-05-07SUN X4140's version of this board. From FreeBSD.is
2010-05-06Introduce a new flag for rasops_info to keep rasops_reconfig() from tryingmacallan
to allocate memory. Use this when calling rasops_reconfig() before it is safe to call kmem_alloc().
2010-05-04add a bunch of small utility functions to pick video modes based on thingsmacallan
like dot clock, resolution etc.
2010-05-04remove now redundant ri = ... lines in putchar() methodsmacallan
Looks like none of my usual test builds used rasops2.c
2010-05-04Make local functions static.tsutsui
2010-05-04fix compile failure.nonaka
2010-05-04use box drawing font if neededmacallan
2010-05-04add some PLL-specific register definitionsmacallan
2010-05-04this has been sitting in my tree too long:macallan
- device_t-ify - sanitize debugging #ifdefs - deal with firmwares setting up modes using other clocks than #0 - get rid of sparc and macppc-specific code, use device properties instead - while there, use alternate box drawing font if needed
2010-05-04use alternate font if available ( for autogenerated box drawing characters )macallan
2010-05-04autogenerate box drawing characters for fonts that don't have them, put themmacallan
into an alternate font pointed at by the recently added mappings in wsfont, adapt all putchar() methods except the rotated ones to use them XXX no attempt has been made to make this work with rotation
2010-05-04add translation tables for ISO fonts in order to map unicode box drawingmacallan
characters to something else than whitespaces
2010-05-03Fix error introduced with timecounters - RTC clock register only usesmhitch
the last 2 digits of the year. Fixes setting the clock and keeps the DECstation PROM happy and stops it from setting the date to Jan 1, 1972.