ru
5038154904
Mention the -F in the usage().
...
PR: 24586
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
2001-01-24 08:27:59 +00:00
sobomax
2eeecc3240
Make `-y' option actually work.
...
Submitted by: reg
2001-01-24 08:22:53 +00:00
jhb
85f26795ce
Add missing include.
2001-01-24 06:54:24 +00:00
mckusick
28dc76bebe
Never reuse AUTO_OID values.
...
Approved by: Alfred Perlstein <bright@wintelcom.net>
2001-01-24 04:35:13 +00:00
jhb
810630fa41
The lock being destroyed was misnamed, not unused. Add the lockdestroy()
...
back in but with the proper name so that this compiles.
Submitted by: jasone
2001-01-24 02:18:54 +00:00
jhb
4fe63e40a8
#ifdef a local variable only used in debugging code.
...
Reviewed by: -scsi
2001-01-24 01:46:57 +00:00
jhb
c7124acea7
Const'ify cam_sim.sim_name to quiet warnings.
...
Reviewed by: -scsi
2001-01-24 01:46:18 +00:00
cg
2565bf6979
don't grope around inside snd_dbuf structures as they will change in future
2001-01-24 01:36:15 +00:00
cg
99127615ba
fix certain cards failing to attach
...
Submitted by: Russell Cattelan <cattelan@thebarn.com>
2001-01-24 01:27:31 +00:00
cg
456c0fc978
fix blocksizing for playback, implement blocksizing for record
2001-01-24 01:22:53 +00:00
cg
9de50bdcce
some cosmetics, changed channel setup and revamped irq handling - ignore
...
repeated interrupts
2001-01-24 01:20:04 +00:00
cg
2cc907a0c7
prevent excessively small buffer sizes resulting in hundreds of irqs per
...
second
2001-01-24 01:15:50 +00:00
jhb
fa0d2b97b0
Don't grab Giant when calling kmem_alloc/kmem_free as this is just
...
encouraging other people to follow the same practice. If this is going
to be done, then it should be done inside of those two functions instead.
2001-01-24 00:36:03 +00:00
jhb
7c01c0a2c2
Proc locking.
2001-01-24 00:35:12 +00:00
jhb
1046fa2a8d
- Proc locking.
...
- Protect calcru() with sched_lock.
2001-01-24 00:33:44 +00:00
jhb
065a35fbb6
- Proc locking.
...
- Protect calcru() with sched_lock.
2001-01-24 00:28:07 +00:00
jhb
a294d4e362
Proc locking.
2001-01-24 00:27:28 +00:00
jhb
f540aca984
Proc locking to protect p_ucred while we obtain additional references.
2001-01-24 00:26:19 +00:00
jhb
733f2050f9
- Proc locking.
...
- Use FreeBSD stackgap_init() semantics.
- Adjust some #ifdef's to hide unused variables.
2001-01-24 00:24:57 +00:00
jhb
370523c244
- Proc locking.
...
- Use NULL instead of 0.
2001-01-24 00:23:30 +00:00
mjacob
3403eb045d
"Rejected with status" is better than "Rejected for status".
2001-01-24 00:14:37 +00:00
jhb
0717c33b64
Use selrecord() instead of doing the work ourselves.
2001-01-24 00:06:26 +00:00
jhb
b5d0418fc1
Make the device name in an isa_device a const char * instead of a char *
...
to silence cast-qual warnings.
2001-01-24 00:05:13 +00:00
jhb
a98f3e67f7
Use queue macros.
2001-01-24 00:01:42 +00:00
jhb
80649f2bc1
Proc locking.
2001-01-23 23:59:38 +00:00
jhb
f5fbc62142
- Use 'p' instead of 'curproc' for the namei lookup as this is what
...
other image activators use.
- Proc locking.
2001-01-23 23:59:30 +00:00
jhb
08fe94fb94
Proc locking.
2001-01-23 23:51:56 +00:00
mjacob
3952515137
Hmm. This must be a first. The man page was updated *before* the source.
...
Correct some slight inaccuracies in the man page.
2001-01-23 23:24:48 +00:00
mjacob
6811103a87
Allow fxp to configure in I/O space if the user wants it and specifies
...
an override as a loader settable variable (fxp_iomap). fxp_iomap is
a bitmap of fxp units that should be configured to use PCI I/O space
in stead of PCI Memory space.
Reviewed by: Kees Jan Koster <dutchman@tccn.cs.kun.nl>, dg@freebsd.org
2001-01-23 23:22:17 +00:00
jhb
45daa2e3ce
Proc locking, mostly protecting p_ucred while obtaining additional
...
references.
2001-01-23 22:41:15 +00:00
jhb
24fda4f13e
- Remove unused header include.
...
- Use queue macros.
2001-01-23 22:38:38 +00:00
jhb
e7cd4ee729
Proc locking to protect p_ucred while we obtain an additional reference.
2001-01-23 22:38:15 +00:00
jhb
c55210afc5
- FreeBSD doesn't have an abortop vnop as far as I can tell, so #ifdef
...
references to the hpf op out.
- Remove a lockdestroy() on a non-existent variable.
2001-01-23 22:37:30 +00:00
jhb
fe7d8cee8f
Tag unused functions with __unused.
2001-01-23 22:24:26 +00:00
jhb
b4eb86c28d
Proc locking to protect p_ucred while we obtain another reference to it.
2001-01-23 22:23:25 +00:00
jhb
600bbce055
Use suser(9) instead of checking p->p_ucred->cr_uid directly.
2001-01-23 22:22:25 +00:00
jhb
dede119c77
Remove a prototype for an unused and undefined debugging function.
2001-01-23 22:21:14 +00:00
jhb
4799f0d266
Tag unused functions with __unused.
2001-01-23 22:18:41 +00:00
jhb
e01b490c7e
- Move stg_card_intr()'s prototype and definition inside appropriate
...
#ifdef's as it is is only used on older versions of FreeBSD.
- #ifdef a local variable only used on older versions of FreeBSD.
2001-01-23 22:18:07 +00:00
gibbs
f2a4379534
When flipping the first entry in the qinfifo with the "next queued SCB",
...
we must also inform the card of this change. Otherwise the sequencer
will traverse a corrupt list of SCBS. The side effects of this problem
were unknown SCBs completing in the qoutfifo or worse yet, panics due
to sequencer interrupts that referenced what, to the kernel, were invalid
SCB ids.
2001-01-23 22:17:03 +00:00
jhb
2207837a49
Relocate the 'hwfuncs' functions below the inlined functions they attempt
...
to call so that the other functions can actually be inlined.
2001-01-23 22:16:18 +00:00
jhb
ce468ee38d
- Proc locking.
...
- Use queue macros.
- Use NULL instead of 0 for pointers.
Reviewed by: des
2001-01-23 22:13:07 +00:00
jhb
1442e82d08
Move nsp_card_intr()'s prototype and definition inside the appropriate
...
#ifdef's as it is only used in older versions of FreeBSD.
2001-01-23 22:09:04 +00:00
jhb
3ed8c05491
Move the definition of nsp_start_timer() earlier in the file before it is
...
called so that it can be inlined.
2001-01-23 22:08:21 +00:00
jhb
d56ddb5579
The ncv_card_intr function is only used in older versions of FreeBSD, so
...
move its prototype and definition inside the appropriate #ifdef's.
2001-01-23 22:06:10 +00:00
jhb
a24eb2156c
Use the 'slp' local variable that was otherwise unused instead of casting
...
the driver softc under the assumption that the first part of it was a
struct scsi_low_softc.
2001-01-23 22:05:07 +00:00
jhb
42f3c7594b
#if 0 out local variables only used in #if 0'd code and remove unused
...
local variables.
2001-01-23 22:02:08 +00:00
jhb
74ab965b0d
Add curly braces ({}) around each struct speedtab to quiet warnings.
2001-01-23 22:00:05 +00:00
jhb
191c7b388b
Proc locking in the form of using the proc lock to protect p_ucred while
...
we obtain another reference to it for vnode operations.
2001-01-23 21:58:44 +00:00
jhb
9f36704413
Axe unused local variable.
2001-01-23 21:53:44 +00:00