summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-29ether82563: make link status work for 82567cinap_lenrek
on the 82567, reading any phy register just gives 0 back. however, the card works just fine and no action is required to (re-)start auto negotiation. so we add maclproc() which just reads the speed setting and link status from the mac status register instead of reading the phy registers. we'v probably seen this symptom on other cards (link: 0) like 82566. we should test if we can make link status work on these cards as well by just using the maclproc().
2013-07-27ether82598, etherigbe: remove receive buffer pool optimizationcinap_lenrek
2013-07-27ether82563: fix mistake (missing buffer alignment)cinap_lenrek
2013-07-27ether82563: remove buffer pool optimizationscinap_lenrek
rx pool exhaustion causes the system to deadlock when netbooted. queue management should (etheroq) already makes sure the systen can keep up with the data thowing away buffers.
2013-07-26ether82563, etheriwl, pmmc: fix potential multiprocessor races with wakeupcinap_lenrek
make sure that the wakeup enable conditions are seen by different processors before sleep is called. the problems havnt been observed so far.
2013-07-26ether82563: avoid deadlock due to icansleep() trying to acquire Rbpool.Lockcinap_lenrek
icansleep() violates the lock ordering due to the following cases: rbfree(): ilock(Rbpool.Lock) -> wakeup(): spli(), lock(Rbpool.Rendez) sleep(): splhi(), lock(Rbpool.Rendez) -> icansleep(): ilock(Rbpool.Lock) erik fixed this moving the wakeup() out of the ilock() in rbfree(), but i think it is an error to try acquiering a ilock in sleeps wait condition function in general. so this is what we do: in the icansleep() function, we check for the *real* event we care about; that is, if theres a buffer available in the Rbpool. this is to handle the case when rbfree() makes a buffer available *before* it sees us setting p->starve = 1. p->starve is now just used to gate rbfree() from calling wakeup() as an optimization. this might cause spurious wakeups but they are not a problem. missed wakeups is the thing we have to prevent.
2013-07-24ether82563: work arround for 82579LM on Lenovo X230cinap_lenrek
dont reset the the phy on reset as this causes the link to be stuck at 10mbps.
2013-07-21etherrt2860: add rt3090 support and make style more consistentppatience0
2013-07-21readtif, writetif: remove multiplication in inner loops of predict functionsppatience0
2013-07-21apply erik quanstros tcp-bdp patch (from sources)cinap_lenrek
this patch consists of two bits of work submitted as one patch. the first bit fixed a "pacing" problem, where a tcp connection rate-limited by the reading process would experience 10% of the expected throughput, and could even get into live lock. it was noticed at the time of this initial work that the stack often sent tiny grams. some good bits from nix' original tcp were merged in. the test program /n/sources/contrib/quanstro/tcptest.c will verify that under most conditions, a reader-paced connection now gets the expected throughput. expected arguments would be tcptest -s1 -n 5000 -l the second bit is a first step in preparing tcp to handle modest (1-2MB) bandwidth-delay products. the strategy was to completely implement NewReno. the testing network was a 7/35/70ms by 100Mbit wan emulator with 0/.05/.1% loss. here are the performance comparisons from the changes after the first round "old" to the submitted patch "new". the smallest improvement was 80%, the largest was 11x. loss% rtt old new 0.10 7 4.40 7.85 0.10 35 0.88 1.79 0.10 70 0.47 0.84 0.05 7 4.80 9.38 0.05 35 1.00 2.02 0.05 70 0.52 1.77 0.01 7 5.33 11.87 0.01 35 1.14 10.97 0.01 70 0.54 4.75 0.00 7 4.49 11.92 0.00 35 1.04 11.35 0.00 70 0.58 10.56 since the diff is not very easy to read, i wrote a small paper detailing the changes http://www.quanstro.net/plan9/tcp/tcp.pdf - erik
2013-07-21abaco: use faster resize instead of resample for image scalingcinap_lenrek
2013-07-20readtif: simplify rounding in other placesppatience0
2013-07-20readtif, writetif: simplify roundingppatience0
2013-07-20readtif: if getbit returns less than 0 during eol fill bits, return earlyppatience0
2013-07-20readtif, writetif: prevent buffer overflows in some corner casesppatience0
2013-07-20tojpg, totif: change flags to better match those of the decodersppatience0
2013-07-19readtif: fix many bugsppatience0
totif: add tiff encoder
2013-07-19writejpg: the call to Bflush() is unnecessary; free data before exiting in ↵ppatience0
case of malloc error writeppm: do not print a space after the last pixel
2013-07-18mothra: use pldraw() to put cmd box on screen for alt displaycinap_lenrek
the cmd box is not part of the alt display hirarchy. for command typing to show the box in alt display, we call pldraw() on it in eresized() to initialize its cmd->b image so it knows where to draw itself on typing.
2013-07-18wpa: wait for bss to connectcinap_lenrek
waiting at the auth command is too late because we want to read the brsne first to build the rsne used in the auth message.
2013-07-18wifi: make "auth" command non-blocking, let aux/wpa do the waiting for bss ↵cinap_lenrek
scan to complete.
2013-07-18cwfs: add rtmp flag for check command to remove temporary files after recovercinap_lenrek
2013-07-18mothra: restore usage fix, document -a option in manualcinap_lenrek
2013-07-18mothra: add -a flag to start in alt-display modecinap_lenrek
2013-07-17mothra: fix usagestanley lieber
2013-07-14abaco: remove unused stuff, move pipeline() into util.ccinap_lenrek
2013-07-14abaco: simplify, pipeline html directly thru uhtmlcinap_lenrek
2013-07-14uhtml: honor default charset -c when not found in documentcinap_lenrek
2013-07-14abaco: use uhtml to handle charset conversionscinap_lenrek
2013-07-14pmmc: remove unsued initfreq vairablescinap_lenrek
2013-07-14add ricoh pci sdmmc host controller driver for X230cinap_lenrek
the driver should work for standard sdhc (see http://www.sdcard.org/) controllers, but matches for the ricoh controller only as it was the only one i have for testing.
2013-07-12aml: preserve reference type when indexing into package to prevent implicit ↵cinap_lenrek
type conversion when storing to arg or local if LocalX or ArgX is a package, the store into a element should *not* type convert. so when taking the index reference, we have to carry over the type.
2013-07-12pci: add Intel 82hm67 southbridgecinap_lenrek
2013-07-12rexec: redirect error (fd=2) to network for tcp17009cinap_lenrek
the new listen doesnt redirect stderr for us, so do it in the service script.
2013-07-11mothra: handle empty attributes (for base-tag and others...)cinap_lenrek
empty href="" attribute in base-tag causes the page to break. while at it, handle empty attributes in other parts of the code as well. (mostly stuff like id, name shouldnt be empty)
2013-07-11cc: fix include array overflow handlingcinap_lenrek
2013-07-10mergemveety
2013-07-10fixed the bug that arisawa posted about on 9fans where file(1) would mistake ↵mveety
386 intermediates for HTML files.
2013-07-09increase MaxEther to 64 avoiding "too many ether cards" paniccinap_lenrek
2013-07-09add erik quanstros yukon2 ethernet drivercinap_lenrek
2013-07-09Add rt2860 to plan9.ini(8)Alexander Polakov
2013-07-09Add Ralink RT2860 wireless driverAlexander Polakov
2013-07-09wifi: make wifihdrlen() publicAlexander Polakov
Required for upcoming RT2860 driver
2013-07-08mergecinap_lenrek
2013-07-08page: handle combination or -w and -R flags (thanks BurnZeZ)cinap_lenrek
2013-07-08dc(1): typoppatience0
2013-07-07vesa: fix blank/unblank wakeupscinap_lenrek
it could happen that we unblanked while vesaproc was currently blanking (when manually blanking using vgactl for example). the wakeup of the unblank is lost.
2013-07-07acpi: skip disabled LAPIC entriescinap_lenrek
disabled LAPIC entries overwrote the bootstrap processor apic causing the machine panic with: "no bootstrap processor". (problem with lenovo X230) just ignore entries that are disabled or collide with entries already found. (should not happen)
2013-07-06pci: add intel panter point lpc south bridgecinap_lenrek
2013-07-06audiohda: x230 pci magiccinap_lenrek