summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-05-22Add am335x as an omap device.rapha
ok patrick@
2013-05-22BUS_DMA_WAITOK can't be used in the bge_init path since itMike Belopuhov
might be called from a timeout(9); ok kettenis, dlg, deraadt
2013-05-22We're handling L2 there, so use the corresponding define, not the L1 one.Patrick Wildt
ok bmercer@
2013-05-22Split keyboard mapping definitions to new files, luna88k/dev/omkbdmap.[ch].Kenji Aoyama
Also modify RAWKEY_XXX values, to input the right characters on Japanese keyboard. ok miod@
2013-05-22Use SIOCAIFADDR rather than SIOCSIFADDR to set the address.Martin Pieuchot
ok mikeb@, claudio@
2013-05-21Delete unused function.Mark Kettenis
2013-05-21Rewrite ioctl handling bits.Brad Smith
ok sthen@
2013-05-21de-static-ize prototypes as well, which makes these functions not-staticMark Kettenis
for real! Pointed out by Alexey E. Suslikov.
2013-05-21am335x has the mmc registers offset by 0x100, like omap4.rapha
ok patrick@
2013-05-21Rewrite ioctl handling bits.Brad Smith
ok sthen@
2013-05-21remove unused cpu_lock code (where it is truly unused). it is notTed Unangst
part of the future we have planned. middling ok from a few
2013-05-21When mapping a new entry, map it read-only, even though it should bePatrick Wildt
writable. This will cause a pmap fault on first write, so that we can mark the page as modified. Also mask the bits used for the protection settings, so that there aren't any leftovers. ok bmercer@
2013-05-21Simplify the debug output to help diagnose problems without needingMartin Pieuchot
special glasses. No object change if UHUB_DEBUG is not defined.
2013-05-21Small code clean up. Removing noisy printfs.Brandon Mercer
2013-05-21Check for NULL ptr before dereferencing, not after; found the hard way byMiod Vallat
dcoppa@
2013-05-21Remove some unused defines and make the number of interrupt lines variable.rapha
ok bmercer@
2013-05-21Ensure that sc_lock is held when calling sr_meta_native_bootprobe() - theJoel Sing
softraid status functions will complain otherwise. Found the hard way by ajacoutot@
2013-05-21sr_raid_startwu() is no longer called from interrupt context, hence doesJoel Sing
not need to invoke a workq-based callback.
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
simplifies the discipline code, avoids code duplication and moves the scheduling logic into a single location. ok krw@
2013-05-21Add a driver for the am335x timers, to be used by the beaglebone.rapha
Derived from the existing omap3 gptimer. ok patrick@
2013-05-21Make the sr_raid_startwu() function handle deferred work units, instead ofJoel Sing
the caller having to handle the state changes.
2013-05-21Fix missing work unit state initialisations.Joel Sing
2013-05-21Use a state to indicate that a work unit should only be constructed and notJoel Sing
scheduled, rather than trying to imply this from the rebuild flag.
2013-05-20de-static-ize, such that people don't get confused by aesni failures onMark Kettenis
AMD hardware the next time somebody tries to run on a broken KVM hypervisor.
2013-05-20Remove `abort_task' from usb task queue before recycling a `structYASUOKA Masahiko
usbd_xfer object' which includes the `abort_task'. Otherwise usb_abort_task_thread() may try to dequeue the recycled task then it causes panic with page fault. reported by Edd Barrett and Wade, Daniel. ok mpi
2013-05-19Switch mvme68k to MI wdsc(4) driver. Tested on MVME147.Miod Vallat
2013-05-19select(-1, ...) should fail with EINVAL.Philip Guenther
ok matthew@
2013-05-18fix cut'n'paste abuse in "can't happen" error messageMiod Vallat
2013-05-18Add parameters describing the usable part of the GTT and enable the checksMark Kettenis
that use them.
2013-05-18Get rid of the pmap7 header now that we merged it into the pmap one.Patrick Wildt
2013-05-18Bring beagle back to the other pmap header now that it's merged.Patrick Wildt
2013-05-18Modify pmap to work with the pmap header used on armv7. Merge bothPatrick Wildt
headers so that we only need one of them. "Go for it." miod@
2013-05-18Mask out the TEX remap and the Access Flag bits when setting thePatrick Wildt
system control register. Also actually use the mask. ok miod@
2013-05-18Make sure we executed the instruction before continuing. AlsoPatrick Wildt
replace calls to drain the write buffer with the correct ones for armv7. ok miod@
2013-05-18Use the actual armv7 dcache_inv_range function instead of the wbinv one.Patrick Wildt
ok miod@
2013-05-18Sync with Linux. Mostly comment and whitespace changes, but adds some missingMark Kettenis
locking, and enables some #ifdef'ed out code.
2013-05-18Missing bits intended to go with the previous commit but lost in diff splitting:Miod Vallat
Split inittodr/resettodr code from actual tod routines, to allow for multiple tod routines in the near future. Use the mi clock_ymdhms_to_secs and clock_secs_to_ymdhms routines.
2013-05-18enw->new in comment;Jason McIntyre
spotted by krw, missed by jsg, and forwarded From: Alexey Suslikov
2013-05-17Fix 'the right-of-cursor background color is inverted when we doKenji Aoyama
delete-after-cursor' bug on luna88k wscons console, by adding the same operation in om_putchar() to om_erasecols() and om_eraserows(). ok miod@
2013-05-17Preliminary support for MVME180 and MVME181 boards. On-board serial portsMiod Vallat
and VME controller are supported; tod chip isn't supported yet (coming soon). MVME236 memory boards are not supported and won't likely be (unless I get my hands on one). MVME181-1 boots multiuser (slowly) with MVME328 SCSI and MVME376 Ethernet despite only having 8MB of memory onboard. MVME180 untested; might need tweaking to get MVME SCSI and Ethernet boards supported. Many thanks to Matti Nummi for lending me an MVME181 board.
2013-05-17Replace the bunch of md_* function pointers with a `struct board' containingMiod Vallat
function pointers for all the board-specific code. Add a bunch of `struct board' methods to cover most, if not all, of the `per-board' logic. This allows most of the md drivers to be cleaned up and no longer need to embed board-specific knowledge.
2013-05-17Move interrupt-related defines from <machine/cpu.h> to <machine/intr.h>.Miod Vallat
No functional change.
2013-05-17Split inittodr/resettodr code from actual tod routines, to allow forMiod Vallat
multiple tod routines in the near future. Use the mi clock_ymdhms_to_secs and clock_secs_to_ymdhms routines.
2013-05-17Unnecessary includeMiod Vallat
2013-05-17Extend cmmu routines to return the caching mode to use for page tables.Miod Vallat
Alter the 88200-specific code to enforce cache-inhibited page tables for extremely old 88200 versions, and to disable write-back caching on systems where xmem instructions do not behave correctly when applied to write-back cached addresses. No change introduced on 88110 systems, as well as most 88100 systems; the affected systems are 88100 systems with 88100 revision < 10 and/or 88200 revision < 7; that is, only early MVME181 and MVME188 (not 188A) systems.
2013-05-17Fix comments telling that the `serial mode' bit in PSR only applies to 88110,Miod Vallat
it also exists on 88100. While there, do not allow userland to set it.
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-05-17Implement IPL_MPSAFE for pci bus interrupt handlers.Mark Kettenis
2013-05-17wsmoused supportMark Kettenis
2013-05-17Implement wsmoused support based on the new multiple screen support. OnlyMark Kettenis
works if the RI_VCONS flag is specified when initializing a rasops_info descriptor.