summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2008-11-22same change as for amd64. Move bus_space_* functions from inlines andOwain Ainsworth
defines into real functions. since machdep.c is cluttered as it is move them into bus_space.c (like amd64). a later commit will move the stuff from machdep across too. since machdep.c is cluttered as it is move them into bus_space.c (like amd64). a later commit will move the stuff from machdep across too. some shrinkage stats: GENERIC.MP 209.66kb RAMDISK 50.84kb RAMDISKB 50.04kb RAMDISC 36.28kb RAMDISK_CD 168.03kb don't fill it up all at once! claudio found no network performance hit. toby thought the code went looked alright. art@ ok.
2008-11-22Do deadbeef-style protection in pools too, by default, even though it itTheo de Raadt
is a lot slower. Before release this should be backed out, but for now we need everyone to run with this and start finding the use-after-free style bugs this exposes. original version from tedu ok everyone in the room
2008-11-22Some nVidia MCP77 AHCI controllers need special handling. There's 12Mike Belopuhov
PCI ID's for MCP77 in our database, but to stay on a safe side, this change affects device 0x0ad4 only. Other ones could be added later. Problem reported and fixed tested by gilles@ on Acer Aspire X3200. ok dlg
2008-11-22freq is specific to APM, and it is reaching out to grab the APM variable,Dale Rahn
however this global variable doesn't exist with out apm, ifdef the variable.
2008-11-22scoop is specific to zaurus, it should have some other mechansim toDale Rahn
make this associate, however ifdef zaurus it for now.
2008-11-22Stop a possible race in hci_enable()Uwe Stuehler
2008-11-22sync with sudo repoTodd C. Miller
2008-11-22Re-enable ACPI PDC support and fetching cpu performance statesGordon Willem Klok
from ACPI for est on amd64. This incorporates a few changes from krw@ to fix minor nits, its unlikely to fix the problems with some machines from acer and dell but lots of machines benefit. ok krw@
2008-11-22Fix a wrong comment.Marc Balmer
2008-11-22reduce the dependancy of drm_pci_alloc upon the drm device softc. JustOwain Ainsworth
pass in the dma tag
2008-11-22cpu_unidle for macppcArtur Grabowski
ok drahn@
2008-11-22cast pointer to correct type before passing it to bus space. Noticed whileOwain Ainsworth
de-inlining i386 bus_space. ok weingart@
2008-11-22syncTheo de Raadt