summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-27Mangle neo_power's contents into a neo_activate function, then makeTheo de Raadt
neo_power into a stub which calls it. Tested on an ancient z505r; my first laptop....
2010-08-27Make the powerhook code simply call the activate function (it actually doesTheo de Raadt
all the 7 steps we want done, instead of just 2)
2010-08-27Since the pci-specific activate function does nothing, move it to fxp.c.Theo de Raadt
Then it is possible for fxp_powerhook to use it.
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-08-27Mutilate the powerhook function into an activate function, then createTheo de Raadt
a stub powerhook function to call it.
2010-08-27Delete #if'd out powerhook code which is just unfinished scaffoldingTheo de Raadt
2010-08-27Stop calling xxx_power() from xxx_resume(); instead do it the other way around.Mark Kettenis
Get rid of the sc_power() callback, which isn't used anymore. ok deraadt@
2010-08-27Have the em powerhook call the activate function, which does a way betterTheo de Raadt
job of taking the chip up and down.
2010-08-27Move the xl_pci_activate function into xl_activate so that it is in theTheo de Raadt
sub-driver, and then xl_powerhook can simply be a wrapper around it ok kettenis; discussion about nested structure aliasing with miod
2010-08-27Improve sdhc_activate, and make sdhc_powerhook a simple wrapper aroundTheo de Raadt
it for now ok kettenis
2010-08-27no need for a sc_suspended variableTheo de Raadt
2010-08-27screen blanking code for SM502, and some smfb code cleanup.Miod Vallat
2010-08-27Fix format string that was not changed after the log_fec introduction.Claudio Jeker
2010-08-27In revision 1.14 of ftpd.c the ident variable was removed from its only ↵lum
meaningful usage when a snprintf call was removed, rendering ident useless. Time to remove remaining code. ok tobias@
2010-08-27These do not need powerhook functions.Theo de Raadt
ok jsg
2010-08-27gem never had any powerhook supportTheo de Raadt
2010-08-27put .Os in the correct place;Jason McIntyre
2010-08-27Delete comments about these drivers needing powerhook support; they don't.Theo de Raadt
2010-08-27get some format strings and variables right in debug outputDavid Gwynne
2010-08-27More killing of PWR_STANDBY. cvs skipped these filesTheo de Raadt
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberTheo de Raadt
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
2010-08-26If hppa doesn't need a fakecdrom disktab entry, neither does hppa64.Kenneth R Westerback
ok deraadt@
2010-08-26better TSIG key exampleJakob Schlyter
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-08-26remove a silly comment that duplicates the usage string at the start ofJonathan Gray
the file. spotted by jmc@
2010-08-26document kern.consdev;Jason McIntyre
2010-08-26- fdisk(8), not fdisk(1)Jason McIntyre
- zap trailing whitespace
2010-08-26Allow multiple interfaces to be specified instead of all or one.Jonathan Gray
ok krw@ claudio@
2010-08-26make the comment explaining the kernel submaps a bit better.Thordur I. Bjornsson
ok art@, oga@
2010-08-26Try to be a bit more specific about what happens when link0 is used.Claudio Jeker
link0 will reset the interface and all configuration is lost (e.g. -inet6 or rdomain settings) so use link0 as first command without any other arguments to get a deterministic behaviour. With a lot of help by jmc@ (actually commiting his version because it is much nicer, as ususal).
2010-08-26Link local multicast requires a scope (either from the src or dst address)Claudio Jeker
be more explicit and force it in dst. OK deraadt@, mcbride@
2010-08-26stray spaces, no binary changeMarco Peereboom
2010-08-26regenJonathan Gray
2010-08-26Add HP iLO3 devices and another PLX bridge.Jonathan Gray
2010-08-26Fix a memory leak in an error path. Found and diff by Igor Zinovik.Claudio Jeker
OK michele@
2010-08-26sys/param.h is for kernel interface programs.Theo de Raadt
sys/types.h is the file you want to include.
2010-08-26Since Aug 2008, the kernel can successfully read the 1 block (512Kenneth R Westerback
byte) disklabels even in the midst of a larger sector. E.g. in bytes 512 - 1023 of the first 2048 byte sector on a CD. On hppa we plopped down such a disklabel on cdXX.iso and installXX.iso. Once accessible it took precedence over the spoofed label of the CD. Chaos ensued. Since there is currently no reason for this label on hppa cd's, eradicate it and its disktab entry. cdXX.iso/installXX.iso can now be mounted on hppa again. Also remove a commented out label plopping on Alpha, which references a non-existant disktab entry. Problem noted and exact diff creating problem discovered by marco@. ok deraadt@
2010-08-25Make CardBus ral(4) suspend and resume properly on machines that keep theMark Kettenis
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@
2010-08-25don't free proxyurl and cookie twice in the location code; with halex@Martynas Venckus
2010-08-25syncTheo de Raadt
2010-08-25get rid of the nawk hard linkTheo de Raadt
ok millert guenther
2010-08-25When destroying a pane, reset any mode (which reenables paneNicholas Marriott
bufferevent) before freeing the bufferevent.
2010-08-25fix potential use of uninitialized variable.Charles Longeau
reported by gcc. ok jasper@
2010-08-25Let rtable_add() return usefull errnos so that the ioctl handler and theClaudio Jeker
rtsock code can return a more reasonable error to the user. OK henning
2010-08-25Move the iface specific ioctl call for SIOCSIFRDOMAIN further down so thatClaudio Jeker
all the magic cleanup happens before. This is needed because mpe(4) needs to add a route which would be removed by the cleanup code. OK henning
2010-08-25When setting a rdomain also force -inet6 aka IFXF_NOINET6 on the interfaceClaudio Jeker
since IPv6 is not rdomain aware and freaks out about it. OK henning
2010-08-25Remove the SPARC_BOOT_ELF define and associated machinery since it doesJoel Sing
not make sense to compile ofwboot without support for ELF. Whilst here, nuke the unused SPARC_BOOT_NFS define and compile elf64_exec.c as an object rather than including it in boot.c. ok miod@
2010-08-25sync the list of gcc4 archs with bsd.own.mkJonathan Gray
ok miod@
2010-08-25try giving all devices on ami access to all the ccbs. iopools will shareDavid Gwynne
them out safely.
2010-08-25add scsi_iopool_destroy and scsi_link_shutdown. when a link orDavid Gwynne
device are going away, this will walk the pool and link queues and wake up processes that are sleeping while waiting for an io or xs. they will return NULL to the scsi_{xs,io}_get callers, which should then check if they device is still alive. all other handlers that are registered on the queues should be removed by their owners before the destroy/shutdown funcs are called. lots of help and discussion with matthew@ ok matthew@