summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-04-19Dead stores in subr_hibernate.cMike Larkin
2014-04-19bye byeHenning Brauer
2014-04-19disgusting altq compat hack goes awayHenning Brauer
2014-04-19now that if_snd is a proper ifqueue, this cast diesHenning Brauer
2014-04-19ifnet's if_snd becomes a regular ifqueue instead of ifaltq, the need toHenning Brauer
keep ifqueue and ifaltq in sync is gone and thus the comment obsolete, and finally there is no more need to include if_altq.h either
2014-04-19minus altq tentacles, plus missing IF_DROP here as wellHenning Brauer
2014-04-19sigh, another driver fiddling with altq outside #ifdef ALTQHenning Brauer
2014-04-19kill altq bits here as wellHenning Brauer
2014-04-19shrink pf by 445 lines.Henning Brauer
while there, get rid of the altq ioctls and assciated now obsolete code
2014-04-19remove the altq enable/attach and disable/detach bitsHenning Brauer
2014-04-19bye bye altq bitsHenning Brauer
2014-04-19another questionable "optimization": de used tulip_ifstart_one insteadHenning Brauer
of tulip_ifstart if the sendqueue was empty, but only if altq wasn't compiled in (i. e., that's a _compile time_ decision and not based on wether altq was actually used). just use tulip_ifstart all the time, as before in our regular kernels. kill tulip_ifstart_one completely. makes sense to sthen
2014-04-19remove very questionable altq "optimization" - claudio and I can'tHenning Brauer
convince ourselves that that was right to begin with. anyway, begone.
2014-04-19all I wanted to do is removing the altq special casing, but then it turnedHenning Brauer
out the entire codepath is unreachable. glad I'm not our ppp maintainer, he has work to do. kill that unreachable code, with & ok claudio
2014-04-19remove altq special casing.Henning Brauer
big WTF regarding the fastq use there while verifying w/ claudio, but that's for the ppp maintainer and unrelated
2014-04-19Don't panic if we're trying to disestablish an MSI but the hardware is gone.Mark Kettenis
tested by & ok mlarkin@
2014-04-19the altq versions of the IFQ_* macros can finally go. chances of thisHenning Brauer
file becoming readable increase.
2014-04-19 /*Henning Brauer
* altq for loop is just for debugging. * only used when called for loop interface (not for * a simplex interface). */ bye bye!
2014-04-19-option ALTQHenning Brauer
ALTQ has served us well for years and was extremely important not just for us, but for the entire bandwidth management arena. Back when we got altq, the subject was not yet well researched and understood, which is why altq is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an amazing job there. Now, more than 10 years later, we do have a good understanding and can use a simpler framework with just one priority queueing and one bandwidth shaping mechanism each - the new queueing subsystem. Last not least because it is incredibly painful to maintain both in parallel, it is time for altq to depart. Farewell, thanks for many years of good service. Everybody using any form of "not just fifo" queueing owes Kenjiro a lot. At least buy him a beer when you meet him. And, allow me this personal note, thanks Kenjiro, working with you on the topic has always been a great pleasure and I learned a lot from you. Thanks!
2014-04-19move scsi_xs_put after checks that use fields in the xsJonathan Matthew
ok dlg@
2014-04-19implement emc_mpath_checksense() according to what my cx500 throws.David Gwynne
tested by jmatthew@
2014-04-18There is no need to initialize globals to 0.Claudio Jeker
2014-04-18rename wd33c93 to wd33c93ctrl (but keep the filenames as is) so we canJasper Lievisse Adriaanse
add attributes to it later; as wd33c93 is not a valid device name. ok miod@
2014-04-18For the WSDISPLAY_COMPAT_USL protocol, send the synchronizing signals toPhilip Guenther
the process, not just the thread. ok kettenis@
2014-04-18Remove the dead KAME code that dealt with IPv4-mapped IPv6 addresses.Jeremie Courreges-Anglas
Add a check for IPv4-mapped IPv6 destination addresses, like in the most recent KAME code, for non-connected sockets. This prevents packets from reaching the wire through the default route, if a reject route for ::ffff:0.0.0.0/96 isn't present. ok claudio@
2014-04-18This remnant comment doesn't belong here. ok claudio@Jeremie Courreges-Anglas
2014-04-18reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudioHenning Brauer
2014-04-18tcp_respond: let the stack worry about the cksum instead of doing itHenning Brauer
manually, ok naddy (in january)
2014-04-18pf_send_tcp: ask the stack to do the cksum instead of doing it manuallyHenning Brauer
ok benno lteo naddy (back in january)
2014-04-18reaching into altq unconditionally (and w/o ifdef ALTQ) is bad, mmkay?Henning Brauer
2014-04-18If somebody else is already processing the RPC requests on a stream socket,Mark Kettenis
don't panic, but just return. tested by nicm@ ok tedu@
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
to avoid possible use-after-free references when swapping ids in threaded processes. "Do I have the right creds?" checks are always made with the threads creds. Inspired by FreeBSD and NetBSD "right time" deraadt@
2014-04-18Invert the signature logic of in{,6}_selectsrc, make them return theJeremie Courreges-Anglas
error code and pass the resulting source address back to the caller through a pointer, as suggested by chrisz. This gives us more readable code, and eases the deletion of useless checks in the callers' error path. Add a bunch of "0 -> NULL" conversions, while here. ok chrisz@ mpi@
2014-04-18Also match RTS5227 in rtsx(4). Works for me on the THinkPad X240.Claudio Jeker
This will give us basic support there are a few extra bits in the linux driver we ignore for now. Something to look at in the future. OK stsp@ mlarkin@ kettenis@
2014-04-18Implement qle_fabric_plogo and let qle_fabric_plogi look at the response thatJonathan Matthew
comes back, so later on we can work out what to do when logins fail
2014-04-18Rework the command polling loop so it can handle multiple responses in a singleJonathan Matthew
interrupt, as done in qla(4).
2014-04-17When iterating through fabric ports, start at our own port ID, so we canJonathan Matthew
reliably tell when we've been through the whole list.
2014-04-17Copy out all mbox registers after a mailbox operation completes.Jonathan Matthew
Simplifies things a bit and makes pre- and post- attach operations work the same.
2014-04-17Make sure the original thread is blocked until any other threads arePhilip Guenther
completely detached from the process before letting it exit, so that sleeping in systrace_exit() doesn't reorder them and lead to a panic. Panic reported by Fabian Raetz (fabian.raetz (at) gmail.com) ok tedu@
2014-04-17In debug output, print loop ids as decimals and port ids as 24bit hex.Jonathan Matthew
Fix some parameters and wording too.
2014-04-17rework this to implement the active path checks when mpath asks forDavid Gwynne
it rather than on attach. just need to implement a sense handler to detect failover and this is done. thanks to jmatthew@ for plugging this together again for me.
2014-04-16Add ufs2 support and get one step closer to making ffs2 bootable. This work ↵Brandon Mercer
was done by Pedro Martelletto for bitrig. One small tweak to make it buildable with -Werror. "Please commit" miod@
2014-04-16Merge in_fixaddr() into in_selectsrc() in order to prepare forMartin Pieuchot
IP_SENDSRCADDR support. This reduces the differences with the IPv6 version and kill some comments that are no longer true. ok jca@, chrisz@, mikeb@
2014-04-16Add generic driver for "NEC PC-9801(*) extension board slot" onKenji Aoyama
LUNA-88K. LUNA-88K{,2} has one or two slot(s) that can attach the extension board designed for PC-9801. This driver provides dedicated mmap(2) and capability for waiting specified interrupt on that slot so that we can use the extension board from userland program. (*)PC-9801 is a Japanese popular personal computer, mainly used in 1980-90's. (see http://en.wikipedia.org/wiki/NEC_PC-9801) ok miod@, and man pages jmc@
2014-04-16set ourselves up to respect the max data transfer size.David Gwynne
2014-04-16print the board name and firmware revision like we do on mpii andDavid Gwynne
nvme and other stuff.
2014-04-16have nvme_poll return the status bigs from the completion ringDavid Gwynne
entry. if i ever implement timeouts ill use high bits in the int or the phase bit to indicate non chip related errors. a successful chip status conveniently maps to 0. how handy. this lets me move the completion handling for the controller identification commands back into the caller. at the moment im just printing out controller and firmware details like we do on mfi/mpii/mfii.
2014-04-15i wanted to work on this in the tree so i could commit lots of smallDavid Gwynne
steps, but unfortunately the next step after "talk to the chips registers" was "get command queues working" which ended up being a huge amount of plumbing. anyway, this lets me successfully run an identify controller command against the chip and should be cut up the right way to be usable for io command submissions. will need to think about how to avoid overflowing rings though.
2014-04-15Modify the uhidev_*_report() methods to always take a report ID argumentMartin Pieuchot
instead of using the default, per-driver, one. This is a step to move away from the 1 report ID <-> 1 driver design which is no longer true since the addition of upd(4). ok andre@
2014-04-14fix potential race where an allocated inode could fail to get added,Bob Beck
noticed by pedro@ in bitrig. ok philip@ millert@