| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Add a test against isp->isp_osinfo.islocked prior to trying to see
whether --isp->isp_osinfo.islocked is zero to cause us to unlock
(non-SMPLOCK case).
|
|
|
|
| |
for rate setting/getting printouts.
|
|
|
|
| |
to set ISP_LOGINFO if bootverbose is set.
|
|
|
|
| |
to MALLOC.
|
|
|
|
|
|
|
|
|
|
| |
in the future:
o Remove pcic_softc from pcic_handle and replace it with a void *
o Reduce dependence on accessing softc via a pcic_handle
Minor cleanups:
o Define a macro to count the size of an array and use it.
o Minor whitespace alignment
o make no slots found a printf not a panic.
|
|
|
|
|
|
|
|
| |
spending, which was unused now that all software interrupts have
their own thread. Make the legacy schednetisr use an atomic op
for setting bits in the netisr mask.
Reviewed by: jhb
|
|
|
|
|
|
|
| |
HID passed in as an argument at all; callers are typically going to be
sending us static strings anyway.
Submitted by: Munehiro Matsuda <haro@tk.kubota.co.jp>
|
|
|
|
|
| |
bailing out to the fail: label where we release/destroy the mutex
will work without exploding.
|
|
|
|
|
|
|
|
| |
Also, while here, run up to 32 interrupt sources on APIC systems.
Normalize INTREN/INTRDIS so they are the same on both UP and SMP systems
rather than sometimes a macro, and sometimes a function.
Reviewed by: jhb, jakeb
|
|
|
|
|
|
|
|
|
|
|
|
| |
field in CDB' error when attempting to start a caddy-type CD drive,
since those drives apparently in general refuse to load a medium. Since
we never advertised the feature to load the medium upon calling
cdstartunit() (i. e. upon receipt of a CDIOCSTART ioctl command), nobody
should have relied on it. Besides, nobody noticed so far at all that
this command is failing for caddy-type drives... Only few applications
seem to use it at all (among them is workman, which made me notice it).
Reviewed by: ken
|
|
|
|
|
|
|
|
| |
tweak to enable/disable interrupt sources. Seems to work. It is unclear
how many of the PC164 models actually might needs this, and whether or
not there are other hidden issues.
Obtained from:Bernd Walter <ticso@cicely8.cicely.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MPLOCKED macro
(2) Use decimal 12 rather than hex 0xc in an addl
(3) Implement MTX_ENTER for the I386_CPU case
(4) Use semi-colons between instructions to allow MTX_ENTER
and MTX_ENTER_WITH_RECURSION to be assembled
(5) Use incl instead of incw to increment the recusion count
(6) 10 is not a valid label, use 7, 8 and 9 rather than 8, 9 and 10
(7) Sort numeric labels
Submitted by: bde (2, 4, and 5)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Current now appears to work at least fitfully on one Rawhide.
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: mjacob
|
|
|
|
| |
Inspired by: Oliver Fromme
|
|
|
|
|
|
|
|
| |
on. So stop failing the attach if the IRQ is unassigned. With this
patch, I can now boot with PNP-OS YES in my BIOS no differently than
PNP-OS NO (which is a good thing since Windows hangs with PNP-OS NO).
Obtained from: msmith
|
| |
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: mark_salyzyn@adaptec.com
|
| |
|
|
|
|
|
|
|
| |
- standardise error reporting for commands
- simplify the driver-to-controller bio transfer
- add bio in/out accounting
- correctly preserve the command ID in twe_ioctl (thanks to joel@3ware)
|
|
|
|
| |
instead of { ... }.
|
|
|
|
| |
Spotted by: jake
|
|
|
|
|
|
|
| |
PAGE_SIZE to match the prototype better. The argument is ignored, so this
is just to silence the compile-time warning.
Pointed out by: jhb
|
| |
|
| |
|
|
|
|
|
| |
to each individual proc.
- Initialize the lock during fork1(), and destroy it in wait1().
|
|
|
|
|
|
|
| |
pushl that of the new process, rather than doing a movl (%esp) and
assuming that the stack has been setup right. This make the initial
stack setup slightly more sane, and will make it easier to stick
an interrupted process onto the run queue without its knowing.
|
|
|
|
|
|
|
|
| |
for archiving purposes only; auto-generation is going to
be reverted.
requested by: obrien
submitted: gallatin
|
|
|
|
|
|
|
|
|
|
|
| |
and numvnodes are longs in the kernel. They should remain longs in systat,
what really needs to change is that they should be using SYSCTL_LONG rather
than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I
happened to notice it.
I wish there was a way to find all of these automatically..
Pointed out by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no more TAILQ fifo to harvest the entropy; instead, there
is a circular buffer of constant size (changeable by macro) that
pretty dramatically improves the speed and fixes potential slowdowns-
by-locking.
Also gone are a slew of malloc(9) and free(9) calls; all harvesting
buffers are static.
All-in-all, this is a good performance improvement.
Thanks-to: msmith for the circular buffer concept-code.
|
|
|
|
| |
ISP_LOCK/ISP_UNLOCK macros.
|
|
|
|
| |
but leave a commented-out macro to change this.
|
|
|
|
|
|
|
|
| |
(specifically, how many entries we've looked at so far). Maintain
interrupt instrumentation. Use USEC_SLEEP instead of USEC_DELAY in
a number of places (this allows us to drop locks and sleep instead
of spin). Track changes to configuration options for topology preference.
Fix botched order of printout for Channel, Target, Lun.
|
|
|
|
|
| |
a set of options that allows specific loop, loop-only, nport, nport-only
topology settings. Define a required macro for all platforms (USEC_SLEEP).
|
|
|
|
|
|
| |
declaration.
Asked for by: bde
|
|
|
|
|
|
|
| |
entropy device is loaded or not.
If the entropy device is NOT loaded, the the quality of perturbations
supplied by this will suffer.
|
|
|
|
|
|
|
|
| |
that shows up when running with ethernet bridging
at high speed.
Submitted by: Chris Csanady <ccsanady@iastate.edu>
(and extended by me)
|
|
|
|
| |
<sys/buf.h>.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
from struct proc, which are now unused (p_nthread already was).
Remove process flag P_KTHREADP which was untested and only set
in vfs_aio.c (it should use kthread_create). Move the yield
system call to kern_synch.c as kern_threads.c has been removed
completely.
moral support from: alfred, jhb
|
|
|
|
| |
COMPAT_OSF1 option
|
|
|
|
|
|
|
|
| |
not return ENOEXEC. This is because image activators should return -1 if they
don't claim an image. They should return ENOEXEC if they do claim it,
but cannot load it due to sime problem with the image. This bug was
preventing static compilation of the osf/1 module. I'm surprised it
did not cause more problems.
|