summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-02-05Add SiliconMotion Voyager GX, reportedly found in Gdium Liberty.Miod Vallat
2010-02-05Add a set of functions to access PCI configuration space before bonito(4)Miod Vallat
attaches, and use it to walk the PCI bus to figure out where the onboard frame buffer device lies, if any; and get the frame buffer memory address from reading the proper PCI BAR instead of hardcoding it; this should allow the Gdium Liberty to configure its console correctly.
2010-02-05Blind support for the EMTEC Gdium Liberty netbook. Per-platform configurationMiod Vallat
is moved to specific files, and a pointer to the key configuration structure is now kept in struct sys_config. bonito(4) interrupt handling is split, to allow PCI+Legacy interrupt systems (Lemote Yeelong) and PCI-only Legacy-free systems (Gdium) to coexist peacefully.
2010-02-05Compute and pass resource extents to the MI pci code when attaching pci@bonito.Miod Vallat
2010-02-05When setting up memory regions on Loongson 2F-based machines, make sure weMiod Vallat
reprogram the existing windows to our needs, in case the PCI->DDR window does not span the whole memory size. While there, introduce a function to reprogram a window for code clarity.
2010-02-05When faking the glxpcib(4) BARs, do not mask the low 12 bits, but only asMiod Vallat
many bits as necessary to match the alignment requirements. This prevents all the I/O BARs to end up using the same address.
2010-02-05regenJasper Lievisse Adriaanse
2010-02-05- fix doublesJasper Lievisse Adriaanse
2010-02-05Use correct format specifiers for 'show bcstats'.Joel Sing
ok beck@ krw@
2010-02-05regenJasper Lievisse Adriaanse
2010-02-05- add few new devices found in dmesglogJasper Lievisse Adriaanse
2010-02-04basic bootpath -> bootdev translation; ok miod@Otto Moerbeek
2010-02-04add a few USB devices known to work; ok miod@Otto Moerbeek
2010-02-04pf_get_sport() picks a random port from the port range specified in aStuart Henderson
nat rule. It should check to see if it's in-use (i.e. matches an existing PF state), if it is, it cycles sequentially through other ports until it finds a free one. However the check was being done with the state keys the wrong way round so it was never actually finding the state to be in-use. - switch the keys to correct this, avoiding random state collisions with nat. Fixes PR 6300 and problems reported by robert@ and viq. - check pf_get_sport() return code in pf_test(); if port allocation fails the packet should be dropped rather than sent out untranslated. Help/ok claudio@.
2010-02-04Added optimization for XY reads, requires only one temp bufferJordan Hargrave
2010-02-04Optimized failure handing for Read with X/P failuresJordan Hargrave
Does not require additional temporary buffer
2010-02-03Remove memory limitation to the low 256MB. With the -mfix-loongson2f-btbMiod Vallat
workaround in place, the kernel can make use of the whole memory without freezing.
2010-02-03There is no need to compile this code with .set noat, really.Miod Vallat
2010-02-03Build the kernel with -mfix-loongson2f-btb. Requires up-to-date binutils.Miod Vallat
2010-02-03Provide a value for MACHINE_CPU, to let the build machinery reuse the existingMiod Vallat
mips64 (big endian) code. Endian-specific differences are handled within mips64 code with proper cpp tests.
2010-02-03init ofdm sensitivity with min value (which depends on the chip)Damien Bergamini
instead of hardcoding it to 90.
2010-02-03Enable the next page bit for IP1001, otherwise the PHY failsStuart Henderson
to re-establish 1000baseT link after downgrading to 10/100. Fixes problems for Andreas Bartelt with ipgphy at VT6130. From FreeBSD via Brad, ok naddy@
2010-02-03Use nitems.Joel Sing
2010-02-03typo. CPU_ID_ARM1022EJS -> CPU_ID_ARM1026EJSKevin Lo
ok drahn@
2010-02-02Attach athn(4) to the AR2427 which is a castrated (no 11n) AR928X.Damien Bergamini
The Asus Eee PC 1005P has such a device. This makes things even more confusing since athn now also supports some non-802.11n devices! Please let me know if you have such a device.
2010-02-02regenDamien Bergamini
2010-02-02add AR2427 pci idDamien Bergamini
2010-02-02Fix for the Intel WiFi Link 1000.Damien Bergamini
The EEPROM image is in the OTPROM block before the last block, not in the last block itself. Intel WiFi Link 1000 parts should work now.
2010-02-02Add rcs id'sKevin Lo
ok drahn@
2010-02-02Skip calling smp_rendezvous if it's not necessary.Takuya ASADA
ok miod@
2010-02-02lazy FP saving on uniprocessor, just like macppc.Takuya ASADA
ok miod@
2010-02-01Commit a diff I had sitting around in my tree that 90% matches one sent byDale Rahn
dermist. fixes moko build.
2010-02-01- add and enable puc(4) (only com, i didn't test lpt)Jasper Lievisse Adriaanse
ok miod@
2010-02-01regenDamien Bergamini
2010-02-01change descriptions for WiFi Link 6000 seriesDamien Bergamini
2010-02-01unmute GPIO 0 on IDT 92HD73C1 codecs found in Dell machinesJacob Meuser
2010-02-01Limit memory to 256MB at the moment, (intrusive) part of the branchMiod Vallat
prediction workarounds until something better is devised.
2010-02-01On Loongson 2 processors, clear the branch target buffer on userland->kernelMiod Vallat
transitions, to work around an evil horde of evil bugs in the processor's branch prediction logic. This finally makes the Lemote Yeeloong stable, and I can now spend my time looking for hair implants resellers.
2010-02-01Fix thinko in previous.Miod Vallat
2010-01-31update to get a working bsd.rdOtto Moerbeek
2010-01-31fix ELF64_R_INFO for mips64el to cast to 64 bits before shift; ok miod@Otto Moerbeek
2010-01-31Remove !__LP64__ bits and __LP64__ tests.Miod Vallat
2010-01-31Add hotplug and wsmux.Miod Vallat
2010-01-31According to Linux, some magic programming is necessary to prevent deadlocks,Miod Vallat
so do the same magic ourselves too.
2010-01-31Add option WSCONS_COMPAT_RAWKBD for X. ok miod@.Matthieu Herrb
2010-01-31Return a correct address in smfb_mmap(), allows X to work with wsfb.Miod Vallat
2010-01-31If there is only 256MB of physical memory or less, access it from physicalMiod Vallat
address zero onwards, instead of using the 2GB window. No functional change (except maybe unbreaking never tried 2E support).
2010-01-30Build these firmwares on loongson.Miod Vallat
2010-01-28Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ henning@
2010-01-28The RA stack control bit on the loongson2 diagnostic register is not a clearMiod Vallat
but a disable bit; rename the define and keep the RA stack disabled at all times - I blame the few remaining hard freezes on it.