summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale
AgeCommit message (Collapse)Author
2009-02-26fix tree break with two missing charsTodd T. Fries
please commit miod@
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-23When jumping out of the interrupt handler early, clear conditions we knowMiod Vallat
are likely set but don't need specific handling. This silences the interrupt handler if DIAGNOSTIC in some cases. ok grange@ deraadt@
2009-02-20Let the sdmmc adapters tell the sdmmc layer how much sectors they canMiod Vallat
transfer with one command. Build on this and the recent minphys() changes in the sdmmc layer to crank transfers at the maximum possible size instead of a sad DEV_BSIZE. Depending on your controller, this can speed up sdmmc I/O up to 2.5 times.
2008-11-25rename zaurus_reg.h to machine_reg and rename some of the internal fieldsDale Rahn
so that arm/xscale/... is not referring to zaurus specific defines. ok miod kevlo, with some suggested changes from deraadt@
2008-11-22freq is specific to APM, and it is reaching out to grab the APM variable,Dale Rahn
however this global variable doesn't exist with out apm, ifdef the variable.
2008-11-22scoop is specific to zaurus, it should have some other mechansim toDale Rahn
make this associate, however ifdef zaurus it for now.
2008-07-03Remove clauses 3 and 4 from NetBSD license.Ray Lai
OK deraadt
2008-05-19Change all remaining MD uses of MALLOC and FREE into proper malloc() andMiod Vallat
free() calls; prodded by chl@, ok krw@
2008-05-15Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@ miod@
2008-02-14Some armish machines do not have very accurate clock generators,Dale Rahn
instead of using a fixed number for the time base, measure the "accurate" value based on the rtc. ok kettenis@ mbalmer@
2008-01-03Move zaurus to __HAVE_TIMECOUNTER.Mark Kettenis
ok deraadt@
2007-12-05include files which are used by userland cannot include other files..Theo de Raadt
which are not installed to userland; ok drahn
2007-11-02Use the same cache cleaning address computation as done in cpufunc_asm_xscale,Miod Vallat
for there be dragons in xscale cache and it would not be cleaned correctly, leading to wrong pcb data being restored on resume and eventually causing panics.
2007-10-08Align the suspend saved data to a cache line boundary, apparently preventsMiod Vallat
issues upon resume.
2007-08-22Remove ``#define SDMMC_DEBUG''. Avoids redefinition error when compilingMarcus Glocker
a kernel and setting SDMMC_DEBUG option. ok deraadt@
2007-08-06Fix some "that that"s.Tom Cosgrove
ok miod@ jmc@
2007-06-14unbreak tree after untested timeout.h deletionsTheo de Raadt
2007-06-14Move the inclusion of sys/timeout.h from usb_port.h to the drivers thatMarc Balmer
need it. If a USB driver uses timeout(9) functions, the header file sys/timeout.h must be included. Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus). ok dlg.
2007-06-10Remove the definition and use of the USBDEVNAME macro.Marc Balmer
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
2007-06-10Remove definitions and usage of usb_callout and related macros. These macrosMarc Balmer
were used as a layer of confusion^Wabstraction around the timeout(9) API. No binary change. ok jsg.
2007-05-27implement WSDISPLAYIO_GETSUPPORTEDDEPTHS. ok miod@ uwe@Matthieu Herrb
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-21timecounters for armish.Dale Rahn
2007-05-19Implement splassert for armish and zaurus.Miod Vallat
2007-05-15Dummy mutex code for arm platforms. ok drahn@ deraadt@Miod Vallat
2007-05-09diable -> disableMiod Vallat
2007-03-29Add power hook to scoop(4), replacing the Zaurus-specific scoop_* calls inUwe Stuehler
pxa2x0_apm.c. Set a flag to indicate that scoop is currently suspended. Test this flag in scoop_timeout() (and maybe later in other places) to avoid manipulating scoop registers while the driver is suspended. The scoop_checkdisk timeout is intentionally not stopped, as it should be safe to have timeouts running accross suspend/resume. Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an atomic operation. Result of prodding and diffs from Robert and Theo.
2007-03-24Call the new ohci_checkrev function on xscale, otherwise the USB versionChristopher Pascoe
is not set correctly and the USB bus does not attach. Tested ckuethe@
2007-03-18typoTheo de Raadt
2007-03-18Support the PXA27x SD/SDIO/MMC controller on ZaurusUwe Stuehler
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz.
2007-02-25add missing USBD_FORCE_SHORT_XFER checks, put back some code I had for aDale Rahn
while but removed incorrectly, some minor cleanup.
2007-02-25Defines to make isr status more useable. Bit patterns for debug prints.Dale Rahn
2007-02-24move debug print into debug block.Dale Rahn
2007-02-24Add my copyright, since I took the skeleton driver and made it complete.Dale Rahn
More polishing, appears to be working fine without back-to-back transmits.
2007-02-23Use the maxpacket len from the pipe, not hardcoded. properly dealDale Rahn
with end of frame when it happens to be at end of usb packet.
2007-02-15TX is working fine, turn off debug.Dale Rahn
2007-02-15Add a mapping for logical to physical endpoints, otherwise data tries toDale Rahn
go out the wrong endpoint. Some debug massage.
2007-02-15Fix transmit packet termination. odd length and 64 byte multiple packetsDale Rahn
were not sending the last data correctly before.
2007-02-13Add a delay for ep0 handling. Dunno why, but without debug prints it wouldDale Rahn
not attach properly until a delay was added. Also some debug quieting.
2007-02-13USB client mode with cdce function driver is coming along, RX and TX kinda work.Dale Rahn
Limitations include failing to recieve packets that are a multiple of 64 bytes and sending packets longer than 128 bytes appears to be messed up. Work in progress.
2007-02-12Reduce debug.Dale Rahn
2007-02-12If SMAC is set in the correct register, it works much better, also setDale Rahn
the direction bit correctly. More cleanup.
2007-02-07Several improvements to the usb client code. Still not working.Dale Rahn
2007-01-11do not report the clock frequencies on arm becuase there is noRobert Nagy
real need to be verbose here; discussed with drahn@ ok kettenis@, miod@, deraadt@ and others
2006-12-20Enable recursive interrupts on armish. nudge by deraadt@Dale Rahn
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-14- enable nested interrupts on zaurus. most obvious side-effect of this isNiall O'Higgins
likely that interrupts are properly counted in kern.cp_time sysctl. so top(1) et al will show a value for time spent in interrupts. tested by many, ok drahn@
2006-12-12Complete gwk's previous patch to stop setperf methods from returningDimitry Andric
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
2006-11-28add needs-flag to allow pxaudc to compile without usbf (to get theUwe Stuehler
previous behaviour of just disabling the USB device controller)