summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-24Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out.Kenneth R Westerback
"I'm all for it." marco@ "Yeah" deraadt@
2008-11-24syncDale Rahn
2008-11-24device id for OpenMoko, ok oga@Dale Rahn
2008-11-24styled code is happy codeTed Unangst
2008-11-23fancy new ext2fs can have big inodes. we can possibly still read themTed Unangst
though if no new features are in play. diff from Wouter Godefroy
2008-11-23softraid support for ata over ethernet (aoe). this includes a client andTed Unangst
part of a server. there's no configuration yet, and several other drawbacks, but it can be hammered into shape. i haven't moved the code forward in a year, and marco wants it in the tree to hack on.
2008-11-23pass in the dmat when we attach the drm driver. reduces pci dependancy.Owain Ainsworth
2008-11-23missing newline in printf; Thomas PfaffTheo de Raadt
2008-11-23#define away unused arguments for the drm_alloc functions. to save someOwain Ainsworth
size. kill (empty) drm_mem_{un,}init() while here.
2008-11-23Include the GEM interface in i915_drm.h.Owain Ainsworth
While we don't have code for this (yet!), mean I will be able to update libdrm, and consequently the xf86-video-intel driver to 2.5.x. Add PARAM_HAS_GEM to the getparam ioctl, and return no support.
2008-11-23umsmdebug should be 0.Felix Kronlage
ok yuo@
2008-11-23Map device interrupts in the attach routine. and remove more need forOwain Ainsworth
dev->pa by doing the pci_intr_establish/disestablish dance in the driver function, not in drm. This removes the need for interrupt_{pre,post}install callbacks, instead just provide a interrupt_install() callback.
2008-11-23Move vblank data allocation to happening at attach, not at irq enable.Owain Ainsworth
just put a vblank_pipes argument to the driver structure which tells us how many to set up this means that intel doesn't lose all vblank count on vtswitch (it disables the interrupt there), i've heard of a few uvm_faults where this happens as well as things just going wrong. This was suggested by Keith Packard who provided a different diff for drm.git.
2008-11-23This is a "dummy" GPIO driver used for development and testing only.Marc Balmer
Not enabled in any kernel (and will not be). ok drahn, uwe
2008-11-23no more need to cope with pccomTheo de Raadt
2008-11-23pccom can finally die; ok kettenis dlg drahn, tested by okanTheo de Raadt
2008-11-23expand -p to warn about "new sentence, new line" errors;Jason McIntyre
from wiz@netbsd
2008-11-23update ral cardbus list;Jason McIntyre
2008-11-23enable bioMarco Peereboom
ok dlg
2008-11-23rename struct m_ext to be struct mbuf_ext.David Gwynne
ok deraadt@ claudio@
2008-11-23list the Option Globetrotter GT MaxFelix Kronlage
2008-11-23move another Option modem from ubsa(4) to umsm(4), as umsm(4) supportsFelix Kronlage
this much better. ok yuo@
2008-11-23move the caveat for the Globetrotter Fusion GT to the umsm(4) page, asFelix Kronlage
the device has been moved to this driver.
2008-11-23correct some typos in the commentsFelix Kronlage
2008-11-23Use the new and shiny nitems().Marc Balmer
2008-11-23When accessing cached routes make sure the route is actually still valid.Claudio Jeker
Before accessing a ro_rt make sure the route is either freshly allocated or RTF_UP is set. If not ro_rt should be freed and reallocated or at least no info from the ro_rt should be considered valid. This seems to solve the crashes seen by Felipe Alfaro Solana. some sort of OK dlg@
2008-11-23Fix two error messages.Michele Marchetto
2008-11-23sizeofa -> nitemsDavid Gwynne
2008-11-23sizeofa -> nitemsDavid Gwynne
2008-11-23sizeofa -> nitemsDavid Gwynne
2008-11-23sizeofa is now nitems in param.h, so dont declare my own in mpi.c it wasDavid Gwynne
unused there anyway. use nitems in mpi_pci_match.
2008-11-23this adds:Theo de Raadt
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) in the kernel, you can now use this instead of torturing yourself. ok dlg, well, really i just finally gave in to his arguments and we choose a better name than sizeofa().
2008-11-23Use file input parameter as default device output and file output parametersAlexandre Ratchov
as default device input. That's what the man page says
2008-11-23Don't use ifp->if_xname if you can use the sc_dev.dv_xname instead.Claudio Jeker
Removes some unneeded ifp pointers from the stack and don't assign ifp->if_softc twice in the same function.
2008-11-23syncTheo de Raadt
2008-11-23newTheo de Raadt
2008-11-23Remove some whitespace.Brad Smith
2008-11-23Create a new bpfN device whenever a dhclient is started. MultipleKenneth R Westerback
interfaces can now be configured with dhcp during install and upgrades. Problem most forcibly pointed out by Luis and Pedro at h2k8. "go for it" deraadt@
2008-11-22using ``wait queues' for sleep is a linuxism. Kill them and just sleepOwain Ainsworth
on the softc.
2008-11-22Make all drm drivers map their mmio register space on attach instead ofOwain Ainsworth
using the drm_maps interface (this was done for inteldrm a few days ago). All drivers now ignore the mmio_offset argument that the init ioctl takes. This clears up the code and makes sure that drm_ioremap_core() doesn't need the vga_pci_map inteface anymore, so we don't have to pass in the vga softc anymore. We also get to kill the drm_resource_{start,length} linux-alike functions since we just calculate all the requisite offsets at startup and cache those we need. This now means that technically the only driver that needs the vga_pci_map api is inteldrm (due to sharing with intagp issues), though this diff doesn't convert them over.
2008-11-22Allow rt_msg1() to get a NULL as struct rt_addrinfo this simplifies a fewClaudio Jeker
callers (plus an upcomming one). OK henning@, dlg@
2008-11-22- do not set nochdir in daemon() call, we want parent and lka to have theirGilles Chehade
wd reset to / rather than current working directory. From Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-11-22drm_device_is_pcie is only needed in one place: radeondrm_attachOwain Ainsworth
so just inline it there. also remove dev->pci_vendor and dev->pci_device, and insert pci_device into the one place any of them are needed (inteldrm's interface can give this info to the X driver. to remove that you'd need to fix X too).
2008-11-22Move the drm drivers over from:Owain Ainsworth
vga1 at pci0 inteldrm0 at vga1 to vga1 at pci0 inteldrm0 at vga1 drm0 at inteldrm0 i.e. a similar scheme to audio(4) where the interface attaches on top of the wildly different drivers. This helps to clean up the code a lot (more is coming) and help me start to move drm to being essentially bus independent, which will help in the future.
2008-11-22Remove the driver->load callback and just do all the initialization inOwain Ainsworth
the attach function. First step towards splitting drm off as it's own (bus independant) device, as it should be.
2008-11-22- allow the optionnal ssmtp keywork in "relay via" rules, while at itGilles Chehade
allow port to become optionnal (implicit 25) or provided by value or name.
2008-11-22add SparkLAN WPCR-501 CardBus adapter.Kevin Steves
ral0 at cardbus0 dev 0 function 0 "Ralink RT2860" rev 0x00: irq 11, address 00:0e:8e:13:cd:1d ral0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (2T3R)
2008-11-22perform bus_dmamap_syncs on the rx mbufs. this is obviously maintained byDavid Gwynne
monkeys. found by toby's bounce buffers. ok krw deraadt uwe fwk matthieu, drahn, mbalmer, robert, yuo, ratchov, claudio, rainer, art.
2008-11-22Allow wired memory to be accounted on i386. This automatically changesMike Belopuhov
the policy for the mlock(2) on this architecture: all users are allowed to call mlock, while the limit is imposed by the current RLIMIT_MEMLOCK value. "makes sense" art, ok hshoexer (who was running with the same change for about 10 months).
2008-11-22The last parts of cpu_unidle. i386, amd64 and sparc64Artur Grabowski
In short, make cpu_unidle do what signotify used to do and make signotify use cpu_unidle. Also, include a cpu_unidle in need_resched, it won't change much right now but will be needed in the future.