summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-03-16Set rx_ndescs to zero when initializing the rx ring. Otherwise we'llMark Kettenis
effectively lose receive descriptors each time we reset the interface, until we run out of descriptors and panic. Should fix the "em_rxeof: NULL mbuf in slot 0 (nrx 256, filled 255)" panic on em(4). ok jsing@ (for the em(4) bits), jsg@
2010-03-16PCXS processors (really, all PA-RISC processors with separate I and D tlbMiod Vallat
entries) may use the DTLB to resolve an address in ficache(), so make sure pdtlb() always happens after ficache(), not before. This problem was exposed with revision 1.145 of pmap.c. ok kettenis@
2010-03-16eek! negative array offsets are bad. don't allow them.Jacob Meuser
ok kettenis@
2010-03-15Add support for 82801HBM RAID. 'that diff can go in' kettenis@Dale Rahn
2010-03-15Do not leak mbuf in the TX path when a TX error occurs; found the hard wayMiod Vallat
by syuu@; ok kettenis@
2010-03-15Correct return from attach on error, add splx() and urndis_stop().Fabien Romano
This fix a crash on detach.
2010-03-15Add id for Intel 82801JI RAID. Lets HP GL360 G6 see internal SATAKenneth R Westerback
drives. Reported on misc@ by 'a b <rclocal () yahoo ! co ! uk', who also tested the diff from Brad. ok kettenis@ for 4.7.
2010-03-14Rewrite urndis_match() logic for the HTC Hero to match on vendor andMichael Knudsen
product ID. The former code was a bit promiscuous and would attempt to attach urndis(4) to e.g. E71 (as noticed by jmc) and then fail. ok fabien armani deraadt
2010-03-14syncMichael Knudsen
2010-03-14Add product ID for HTC Hero.Michael Knudsen
ok deraadt
2010-03-14Quieten ahc a bit, same as ahd is. Put some messages emitted duringKenneth R Westerback
an i/o restart inside AHC_DEBUG. Spotted by jsing@ during sgi probe. Should be cosmetic only. Tested by jsing@. ok beck@ ok deraadt@ for 4.7.
2010-03-14when closing, remove commands from the right queues as we iterate overDavid Gwynne
them, rather than the next queue. ok deraadt@
2010-03-13Make sure non-console impact_screen struct gets zeroed upon allocation,Miod Vallat
otherwise backing store may not get allocated for it; "go ahead" kettenis@
2010-03-13Octane PROM picks highest graphics widget as console, not lowest;Miod Vallat
"go ahead" kettenis@
2010-03-11Correct a wrong printf and move a check than should be before the debug.Jonathan Armani
Found when looking at ckuethe problem. with and ok fabien@, "definitivly" mk@, "that diff can go in" kettenis
2010-03-11unbreak the build with a custom kernel config including "pseudo-deviceStuart Henderson
faith 1", noticed by Andris Kadar. ok kettenis@ beck@
2010-03-10fix the option that sets the image operating system.Igor Sobrado
ok jmc@
2010-03-09- push replies back to the free queue when done processing eventsMarco Peereboom
so that we won't accidentally run out of replies; - tell ioc our reply post host index right away in the mpii_complete; - don't try to call ccb_done of the unqueued ccb; - decrease poll timeouts in req_cfg_header and req_cfg_page by the factor of 10 (5 seconds is pretty much enough); - add facility to calculate event masks and get rid of the Task Set Full event; - alter openings as we have (request_depth - 1) ccbs actually; - promote printfs in the mpii_bio_volstate to the MISC debug level; - rototil some more disabled and experimetal code. from Mike Belopuhov <mkb@crypt.org.ru> specific ok from deraadt
2010-03-09Use correct routing domain when doing address lookups.Joel Sing
ok claudio@ "approved" deraadt@
2010-03-08argh, in del too, simultaneously spotted by kettenis and meHenning Brauer
2010-03-08When sensor update fails, set SENSOR_FINVALID in sensor->flags;Miod Vallat
from cnst, thanks! ok otto@
2010-03-08Correctly initialize all members of struct wsemuldisplaydev_attach_argsMiod Vallat
before attaching wsdisplay; it was turning out harmless but using more cpu time for nothing than necessary. ok deraadt@
2010-03-08aye, broadcast addr too. spotted by kettenisHenning Brauer
2010-03-08don't call ifa_item_add/del in ifa_add/del, so the ifa RB tree doesn'tHenning Brauer
get used at all. turns out this needs more work - after release.
2010-03-08Use properly initialised sockaddr_in/sockaddr_in6 struct when performingJoel Sing
address lookups. Found whilst investigating address lookup failures. ok michele@
2010-03-08fix a miod typo (it has to be a typo; miod makes no real mistakes)Theo de Raadt
2010-03-08fix compiling without ACPI, ok marco@ deraadt@ krw@ mlarkin@Jolan Luff
2010-03-07Minimalistic driver for the ImpactSR (Mardigras) video option found on olderMiod Vallat
Octane systems, as well as some Onyxes. With special permission to change a systemwide .h file and add a manpage from deraadt@ Magic numbers and operation sequencing borrowed from Linux; tested on Octane + ESI. ok deraadt@
2010-03-07Don't stop DMA in envy_halt_intput() and/or envy_halt_output().Alexandre Ratchov
Instead wait for the next interrupt and stop DMA in the interrupt handler. This prevents the chip from entering a unstable state in which DMA doesn't start cleanly.
2010-03-07Garbage collect a softc member that we don't use because we don't doMichael Knudsen
multipacket tx. ok fabien "if you commit over urndis" armani
2010-03-07Update my address, while there update armani's too per his request.Fabien Romano
ok armani, mk.
2010-03-07Rename RNDIS_DEBUG to match device name.Fabien Romano
Now option to debug is URNDIS_DEBUG. ok mk, armani.
2010-03-07Some cleanup and dead code removal to bring us in line with otherMichael Knudsen
usb ethernet drivers. ok armani
2010-03-07We're only sending one packet at a time, so garbage collect sc_lim_pktcntMichael Knudsen
that shows how many packets the device will accept in one transfer. ok armani fabien
2010-03-07Make NO_CCB do its thing and by proxy mpii gets a much funner number ofMarco Peereboom
openings. Delete some dead and experimental code. From: Mike Belopuhov <mkb@crypt.org.ru>
2010-03-07Allow iockbc(4) and odysseey(4) to act as console devices and attach early;Miod Vallat
this gives us working glass console on Fuel, as well as on Octane systems with Odyssey graphics. Joint work with jsing@
2010-03-07On Origin-like systems, get glass console information (if any) from theMiod Vallat
fake ARCBios component structures associated to the KL configuration. The ARCBios data tells us if the device is the output console, and the KL component data tells us its node and widget numbers.
2010-03-07Add an MD interface for PCI drivers to be able to retrieve the node and widgetMiod Vallat
number the PCI bus they are on is connected to. Will be used shortly to help the console device selection logic.
2010-03-07Correct layout of arc_config{,64} and order of items in enum arc_config_type.Miod Vallat
ok deraadt@
2010-03-07Better battery % computation; ok otto@Miod Vallat
2010-03-07Remove unused DPRINTF() macro.Michael Knudsen
ok grange
2010-03-07Garbage collect some struct members that we don't use.Michael Knudsen
ok armani
2010-03-07back out strict splassert semantics from 1.103; it breaks some thingsTheo de Raadt
like bigmem (disabled by default), sppp (ask wilfried about "splassert: if_up/down: want 5 have 7")
2010-03-07we disable POOL_DEBUG for releases. Reminded by mpfTheo de Raadt
After release, someone please remind us to turn it on again. It helps find bugs. We just don't want people to get hosed too much during release.
2010-03-06Forgot this one, sorry, reported by maja@.Jonathan Armani
2010-03-06Allow code to compile.Joel Sing
2010-03-06In cdce_detach(), add usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, ...)Michael Knudsen
like other drivers do. Tested and ok mpf.
2010-03-06Fix typos.Joel Sing
2010-03-06remove the (now inaccurate) note about not being able to runJason McIntyre
installboot on a mounted partition; from J.C. Roberts
2010-03-06Add a flag to know if the interface successfully attached likeJonathan Armani
other drivers do otherwise we panic trying to remove an unexistent ifp during detach. looks good to fabien@, with comments from mk@, ok mk