Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-07-02 | kqueue attach functions should return an errno or 0, not a plain 1. Fix | Nicholas Marriott | |
the obvious cases to return EINVAL and ENXIO. ok tedu deraadt | |||
2011-07-02 | Per recommandation in the the sparc docs, use unlocked reads when | Philip Guenthe | |
spinning on a contended lock. ok kettenis@ | |||
2011-07-02 | Cleanup the softraid boot probe code. Rename the rather poorly named | Joel Sing | |
sr_metadata_list struct to sr_boot_chunk and use a sr_metadata struct rather than an array of u_int8_t when storing the metadata. Also rename some variables to keep the boot volume/boot chunk consistency. This diff also fixes a memory leak where the structures were never freed for key disks. Otherwise there should be no functional change. ok marco@ | |||
2011-07-02 | Use getvnode() instead of implementing our own file descriptor handling | Joel Sing | |
code. This gets us some additional validation and correct reference counting. Issue spotted by matthew@ ok thib@ | |||
2011-07-02 | Getting a disklabel to extract d_secsize to initialize a variable that is then | Kenneth R Westerback | |
re-initialized before use is silly. ffs shouldn't know of or worry about the physical disk sector size. ok thib@ | |||
2011-07-02 | rename VFSDEBUG to VFLCKDEBUG; | Thordur I. Bjornsson | |
prompted by tedu@ | |||
2011-07-02 | gc in_interfaces. doesnt seem to do anything except get incremented. | David Gwynne | |
ok henning@ deraadt@ | |||
2011-07-01 | msi interrupts working on mfi(4) | Theo de Raadt | |
2011-07-01 | The pf_headers union may also contain a mld_hdr or nd_neighbor_solicit | Alexander Bluhm | |
struct. List those types explicitly to make sure that the union contains enough memory. Before we were just lucky. ok henning@ | |||
2011-06-30 | ansi, no binary change | Jonathan Gray | |
2011-06-30 | Refactor some common open/close/detach disk driver code into | Matthew Dempsky | |
subr_disk.c. For now just the MI disk drivers. ok deraadt@, krw@; jsing@ liked the approach too | |||
2011-06-30 | finish ansi in uvm. ok ariane oga | Ted Unangst | |
2011-06-30 | Add DUID support for ext2fs mounts. | Joel Sing | |
Initial diff from and tested by Luca Corti - thanks! | |||
2011-06-30 | remove compat_35 files | Ted Unangst | |
2011-06-30 | sync | Ted Unangst | |
2011-06-30 | compat_35 has not been enabled for sometime, time to remove it | Ted Unangst | |
2011-06-29 | Replace all instances of "scsibus* at hba?" with a single "scsibus* at | Matthew Dempsky | |
scsi?" rule, similar to how ethernet PHY drivers attach at mii. Discussed on icb. | |||
2011-06-29 | mark S8 encoding as emulated; only S16LE and U8 are natively supported | Christian Weisgerber | |
ok ratchov@ | |||
2011-06-29 | iop(4) is not a SCSI controller, so it shouldn't have the scsi | Matthew Dempsky | |
attribute. | |||
2011-06-29 | dmesg@ says pss has never been seen in the wild and the manpage says it | Ted Unangst | |
doesn't work. goodbye. ok miod | |||
2011-06-29 | stop printing in apm, acpi doesn't do this. remove APM_NOPRINT option. | Ted Unangst | |
kind of ok deraadt | |||
2011-06-29 | notyet, notever. delete a bunch of code we won't be using. | Ted Unangst | |
2011-06-29 | ansi with a little knf. ok deraadt jsg | Ted Unangst | |
2011-06-29 | ansi softdep, ok deraadt | Ted Unangst | |
2011-06-29 | always set sppp auth secret, as other code assumes it. | Ted Unangst | |
confirmed to fix paul stoeber's crash. ok deraadt sthen | |||
2011-06-28 | Remove the ega driver which is not referenced by any GENERIC kernel. | Matthieu Herrb | |
ok tedu@, "I won't mourn it" miod@, "no objection" oga@, "I won't cry" todd@, "fine, even happy" nick@ | |||
2011-06-28 | change two function defs with () to (void) | Ted Unangst | |
2011-06-28 | Rename FMARK to FIF_MARK and FDEFER to FIF_DEFER and | Thordur I. Bjornsson | |
move those flags to f_iflags; This makes rooms in the flag member of struct file for some goodies matthew@ as planned. ok matthew@, deraadt@. | |||
2011-06-27 | Unbreak iopool conversion by putting the implicit yet missing important | Miod Vallat | |
initialization statements. Found the hard way by Sebastiaan Indesteege | |||
2011-06-27 | If an shared interrupt handler returns -1, continue running other handlers. | Theo de Raadt | |
If it returns 1, skip calling the handlers further down the list. The interrupt pin will remain asserted, and the handler will be called on the next go-around. This makes sparc64 "similar" to other architectures. ok kettenis jsing | |||
2011-06-27 | When adding interrupt handlers to a chain, install them in priority order. | Joel Sing | |
This results in the higher IPL handlers being run first. ok deraadt@ kettenis@ | |||
2011-06-27 | Mark ARP request broadcasts with M_BCAST in the mbuf flags. | Camiel Dobbelaar | |
Fixes a case in bridge_output() where ARP requests are not broadcast on interfaces without the discovery flag. ok claudio deraadt | |||
2011-06-27 | Fix chrtoblk() and blktochr() prototypes to reflect that they return | Matthew Dempsky | |
dev_t, not int. | |||
2011-06-27 | repair after last commit | Theo de Raadt | |
2011-06-27 | Make KERN_FILE and KERN_FILE2 behavior consistent: when the caller doesn't | Philip Guenthe | |
have the necessary rights, return f_offset=-1 and f_seek=0. ok tedu@, matthew@ | |||
2011-06-27 | compat_vax1k goes to the attic | Ted Unangst | |
2011-06-27 | remove compat_vax1k. no more 4.3bsd reno support. ok deraadt | Ted Unangst | |
2011-06-27 | Ensure we don't re-issue a failed buf without clearing B_ERROR and | Kenneth R Westerback | |
b_error. Otherwise a good i/o will appear to have failed. Fixes problem with dkcsum.c being unable to read data to checksum from subsequent devices after an i/o fails. And thus failing to find correct root in some cases. Introduced at k2k11 with buf flags rectification. Scan of all biowait() calls finds no other obvious re-use of a buf that could have error'ed out. Just re-use of bufs that worked. So quick fix pending closer review of all uses. Problem noted by Jens A. Griepen. ok matthew@ deraadt@ | |||
2011-06-26 | kill mcd dead. ok krw matthew millert thib | Ted Unangst | |
2011-06-26 | There are some problems with ppb msi interrupts. For instance, i386 in | Theo de Raadt | |
some situations can run out of vectors. On amd64, there is at least one machine that fails to resume. Yes, those problems need to be fixed. But other problems should be found, too. If we leave ppb msi off, we won't learn anything new. So use an #ifdef to enable ppb msi for non-i386, temporarily. Kind of discussed this with kettenis. | |||
2011-06-26 | if_downall() cannot be done MI in sys_reboot() because vfs_shutdown() | Theo de Raadt | |
might need network (ie. nfs). Move the call to the MD boot() routines. This cause for boot hangs diagnosed by kettenis. | |||
2011-06-26 | First stab at MSI support for vpci(4). Still a few rough edges, but seems | Mark Kettenis | |
to work fine on a t1k and a t5120, so let's enable this right from the start. | |||
2011-06-26 | 1.500 was a good revision, let's stay there a little longer. (revert ↵ | Ted Unangst | |
accidental commit) | |||
2011-06-26 | I see you hiding, scd | Ted Unangst | |
2011-06-26 | remove remnants of scd device, discovered by Frederic Perrin | Ted Unangst | |
2011-06-26 | In the shared interrupt handler, return the pil and ci_handled_intr_level | Theo de Raadt | |
to the level they were at before we started splraise'ing for the various handlers. with jsing, ok kettenis | |||
2011-06-26 | constrain properly which machines get this firmware | Theo de Raadt | |
2011-06-26 | Fix some inconsistencies in how we build 64-bit addresses from OF properties. | Mark Kettenis | |
2011-06-26 | Implement pci_intr_map_msi(). | Mark Kettenis | |
2011-06-26 | Missed a parameter in the pci_msi_setmsiq hypervisor call. | Mark Kettenis | |