summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
AgeCommit message (Collapse)Author
2010-12-26Kill pmap_phys_address(), and force every driver's mmap() routine to returnMiod Vallat
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
2010-12-21Convert netisr to a normal soft interrupt instead of hanving MD codeClaudio Jeker
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
2010-12-14use the dying flag in struct usbd_bus instead of a private dying flagMiod Vallat
in *hci_softc
2010-12-12rsu(4) works on the sparc64, so add it everywhere where urtwn(4) is.Damien Bergamini
2010-12-06- drop NENTS(), which was yet another copy of nitems().Jasper Lievisse Adriaanse
no binary change ok deraadt@
2010-12-04Introduce a new pci routine, pci_conf_size(), which returns the size of aMiod Vallat
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
2010-12-02After the most recent change, make it possible to make -j again. TheTheo de Raadt
early MD and late MI files must be split up so that vers.o can sneak between. Issue spotted by bluhm, repair discussed with miod
2010-12-02move vers.o to before the other objects, so that it is not linked last.Theo de Raadt
having it linked last is bad (on at least i386 and amd64) because the lapic is mapped over the start of the data segment -- savecore(8) then reads the version string for a fixed buffer space, and reads into the lapic area causing unintended side-effects (at least on Intel X5570 and X5680) found by pedro, discussed with kettenis and mpf and miod
2010-11-28Allow mips64-based ports to override the default mips64 VM_PHYSSEG_STRATMiod Vallat
strategy value (BSEARCH); use BIGFIRST on loongson since there are only up to two memory segments.
2010-11-26Disable uscanner(4) by default on all kernels which configure it. First stepMiod Vallat
until possible removal, if indeed this causes no regression for scanner users.
2010-11-23removed slot argument of function pckbc_cnattachAlexandr Shadchin
because it is always PCKBC_KBD_SLOT ok krw@, miod@
2010-11-22Remove old comment about constab[] being eventually generated by config(8).Miod Vallat
This has never happened and this wouldn't make much sense on anything but hp300, if at all, nowadays.
2010-11-19Sync MAKEDEV against conf.c, and both against GENERIC.Miod Vallat
2010-11-19Add urio and uscanner.Miod Vallat
2010-11-15add urtwn(4) to more USB 2.0 capable architectures, since it worksDamien Bergamini
on sparc64 and macppc. prodded by jsg@
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt
2010-10-24Move build_trampoline() and setregs() to a common location for all mips ports.Miod Vallat
2010-10-14Move glxpcib(4) to MI land unifying the two MD drivers.Paul Irofti
Specific features of the companion chip will be handled in MD land. Okay deraadt@.
2010-09-28Implement a per-cpu held mutex counter if DIAGNOSTIC on all non-x86 platforms,Miod Vallat
to complete matthew@'s commit of a few days ago, and drop __HAVE_CPU_MUTEX_LEVEL define. With help from, and ok deraadt@.
2010-09-26No need for ums either; from BradMiod Vallat
2010-09-26No need for pms on the installation media; from BradMiod Vallat
2010-09-26Merge pmsi(4) into pms(4). From Alexandr Shadchin on tech@.Miod Vallat
2010-09-24Fix bus space mapping bugs for GPIO's and MFGPT's and while at it add properPaul Irofti
defines for the constants used while mapping. Okay miod@, deraadt@.
2010-09-23enable utwitch(4) (formely uyurex(4)) by defaultYojiro Uo
ok deraadt@
2010-09-23Move clock attachment later in the game. This is needed for cpu scaling.Paul Irofti
Okay miod@.
2010-09-23Add pppx(4) to the cdevs of the remaining archs.Claudio Jeker
OK dlg@
2010-09-21Watchdog suspend/resume logic.Paul Irofti
Okay miod@, deraadt@.
2010-09-21gpio at glxpcib was forgotten; tested by piroftiTheo de Raadt
2010-09-20Get rid of evcount's support for arranging counters in a treeMatthew Dempsky
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
2010-09-20Must travese deeper for DVACT_QUIESCE; ok miodTheo de Raadt
2010-09-17FPU control/status register defines, and upcoming userland functionMiod Vallat
prototypes to allow control of the FPU c/sr FS field.
2010-09-09Sync suspend logic with current practice, and try to handle failureMiod Vallat
consistently; discussed with pirofti and deraadt.
2010-09-08No need for vfs_syncwait() in a bufq_quiesce() worldTheo de Raadt
ok thib kettenis
2010-09-07rename function parameter to be more like all the others in the treeTheo de Raadt
2010-09-07Restore msr unconditionnaly, why bother checking if they have changed; deraadtMiod Vallat
2010-09-07Join the cf_activate() crowd and preserve a few msr around suspend.Miod Vallat
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
traversal code to suspend/resume ok oga kettenis blambert
2010-09-01Clean-up the spl dance around suspend/resume. Okay miod@.Paul Irofti
2010-09-01Let non-ykbec kernels link again.Miod Vallat
2010-08-31Do wsdisplay suspend/resume and also the bufq dance.Paul Irofti
Reminded by oga@, okay deraadt@.
2010-08-31Correctly enable wakeup interrupts after splhigh().Miod Vallat
2010-08-31WIP suspend/resume support for loongson lemote. Okay miod@.Paul Irofti
2010-08-30Change powerhooks into activate functions, and provide stub powerhookTheo de Raadt
functions ok kettenis
2010-08-28Correctly compute memory size if less than 256MB.Miod Vallat
2010-08-27screen blanking code for SM502, and some smfb code cleanup.Miod Vallat
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-07-31Factorization of the bluetooth and usb hid input driver logic, to reduce codeMiod Vallat
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
2010-07-28Add a dummy kqueue filter similar to seltrue and use it for anythingNicholas Marriott
using seltrue for poll. Based on code from NetBSD. Also remove a stray duplicate lpt entry from loongson, from deraadt. ok tedu deraadt
2010-07-21Fix more cdev initializations which were using enodev for poll; ok kettenisTheo de Raadt