Justin T. Gibbs
102d19a473
Implement SCB paging which allows up to 255 active commands on aic7770
...
(Rev E or greater), aic7850, aic7860, aic7870, and aic7880 controllers.
SCB paging is enabled with the option "AHC_SCBPAGING_ENABLE". Full
comments on the algorithm are at the top of i386/scsi/aic7xxx.c.
options "AHC_TAGENABLE" and "AHC_QUEUE_FULL" have been removed. The
default is 4 tags without SCB paging, 8 with.
Clear the SCSIRSTI bit after throwing a bus reset. Some cards seem to get
confused otherwise.
Handle SCSIRSTI interrupts before checking to see if there is a valid
SCB in use since this can happen. (Clears PR# i386/1123)
Clean up the way we determine the number of SCBs on the card
(courtesy of Dan Eischen).
Guard against attempts to negotiate wide to a narrow controller.
Fix some comments.
Update my copyrights.
1996-04-20 21:29:27 +00:00
Justin T. Gibbs
1d7ded8adf
Change the devconf description from "ISA or EISA bus" to "ISA bus" now
...
that we have eisaconf.
1996-04-20 21:22:32 +00:00
Justin T. Gibbs
035de5ccf1
Turn on SCB paging for aic7770 chips rev E or greater.
...
Update my copyrights.
1996-04-20 21:21:50 +00:00
Poul-Henning Kamp
6f1e6c97de
savectx returns through cpu_switch in case of the child, so it must
...
return void just like cpu_switch. Fix prototype and usage from machdep.c
1996-04-19 07:28:04 +00:00
Poul-Henning Kamp
6523110494
Whoops, shouldn't really have been here, but what the heck: remove some
...
stale comments.
1996-04-18 21:37:43 +00:00
Poul-Henning Kamp
7d2392141d
Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax,
...
they shouldn't.
1996-04-18 21:34:53 +00:00
Nate Williams
d94b029324
- Save/restore the FS data segment.
...
Reviewed by: bde
1996-04-18 19:22:59 +00:00
Nate Williams
ff35cfa1f0
- Addition of my name to the APM Copyright
...
- More code cleanups
- #ifdef DEBUG debugging code
- More consistant printfs
- Better handling of the apm_int() assembly code (mostly from Bruce Evans)
Reviewed by: bde
1996-04-18 19:21:47 +00:00
Garrett Wollman
97f588a78b
Add an inline function to compute the common-case IP header checksum.
1996-04-18 15:39:27 +00:00
Nate Williams
6bb76283e0
Added a disabled psm0 (PS/2) mouse device, using the new 'disable'
...
keyword.
1996-04-18 04:02:30 +00:00
Paul Traina
4f789210dc
Support FreeBSD v2.1
1996-04-17 09:37:17 +00:00
Paul Traina
60b0febdbf
Add in linux support for the quickcam driver bottom half and
...
add a new "invasive camera scan" option for folks who have weird
cameras or weird parallel ports.
1996-04-17 09:00:53 +00:00
Poul-Henning Kamp
3fc8f9c5af
Now that I have started to use netboot, I see what is missing...
...
Load symbols and set boot args more nicely.
1996-04-14 09:54:14 +00:00
Bruce Evans
70342cd45a
Fixed handling of device flags. The real flags were never used.
...
Submitted by: Michael Smith <msmith@atrad.adelaide.edu.au>
1996-04-13 18:33:04 +00:00
Bruce Evans
a74080cc94
Oops, include opt_pcvt_hdr.h before the key value in it is used.
1996-04-13 16:59:29 +00:00
Bruce Evans
803dda1724
Fixed `PCVT_FREEBSD=210'.
1996-04-13 16:50:23 +00:00
Bruce Evans
aef18d6ed7
Another try: fixed bogus change of the fifo settings for the non-speed of 0.
...
rev.1.30 incorrectly changed the behaviour from always disabling the fifo
to always enabling it.
1996-04-13 14:55:18 +00:00
Bruce Evans
c9b9c54d1f
Changed _BSD_PID_T_ from long to int. Lite2 changed pid_t from long to
...
int32_t in <sys/types.h> but this change was missed when the Lite2 types
were merged.
1996-04-13 14:25:06 +00:00
Bruce Evans
c5294719c3
Eliminated sloppy common-style declarations. Now there are no duplicated
...
common labels for LINT. There are still some common declarations for the
!KERNEL case in tcp_debug.h and spx_debug.h. trpt depends on the ones in
tcp_debug.h.
1996-04-13 12:45:57 +00:00
Bruce Evans
65a59d4b3f
Declared `unittab' as static. It was bogusly shared between the asc and
...
gsc drivers.
1996-04-13 12:18:45 +00:00
Jordan K. Hubbard
39cef8f8cb
Document how to drop into DDB from a serial console.
1996-04-13 11:57:18 +00:00
Bruce Evans
0513ce7f75
Use PCB_SAVEFPU_SIZE instead of a too-small size in savectx(). This
...
bug only affected FPU emulators. It might have caused bogus FPU states
in core dumps and in the child pcb after a fork. Emulated FPU states
in core dumps don't work for other reasons, and the child FPU state
is reinitialized by exec, so the problem might not have caused any
noticeable affects.
Cleaned up #includes.
1996-04-13 11:24:13 +00:00
Bruce Evans
5b5220556d
Generate #define of PCB_SAVEFPU_SIZE for use in savectx().
1996-04-13 11:22:57 +00:00
John Hay
d80101ee8e
Improve the handling of receive errors. Fix a nasty bug in the receive
...
buffer code.
1996-04-12 19:57:44 +00:00
Poul-Henning Kamp
22a31706dc
Make alltraps a .globl so that DDB doesn't make people belive they have
...
an ALIGNFLT on their hands all the time.
1996-04-12 12:22:14 +00:00
Bruce Evans
3745f80a48
Moved AUTO_EOI_[12] and most sio and pcvt options out of the makefile.
1996-04-11 21:18:49 +00:00
Sujal Patel
e04401bad1
Added a note about OPTi 82C929 based cards.
...
Clarified GUS DMA Settings.
Other misc. changes.
This should hold us over until I can finish cleaning up TASD, and finish
reintegrating all of the FreeBSD changes to the sound driver. At that time
this document will be removed, and it's information moved to the handbook.
1996-04-11 15:34:22 +00:00
Marc G. Fournier
97bc0f09cf
Added documentation for "options PAS_JOYSTICK_ENABLE"
1996-04-11 06:23:18 +00:00
Marc G. Fournier
77959e8ea4
mentioned support for enabling gameport on ProAudio Spectrum with
...
appropriately commented out "options" line for PAS_JOYSTICK_ENABLE
(PR#i386/960 - partial closer)
1996-04-11 06:19:44 +00:00
Jordan K. Hubbard
7506b46e07
Disable sio3 in GENERIC - it messes with ATI cards.
1996-04-10 23:03:36 +00:00
Marc G. Fournier
6d4bca5b8a
removed RS_IBUFSIZE #ifndef - have been informed it was a bad idea
1996-04-10 18:09:58 +00:00
Nate Williams
9368fc2012
hp300 -> i386
1996-04-10 05:27:11 +00:00
Marc G. Fournier
f4f119017f
Placed an #ifndef around RS_IBUFSIZE so that it can be changed in the
...
config file ... PR#528 is reportly fixed by adding 'options RS_IBUFSIZE=1024'
to the config file
1996-04-10 04:18:36 +00:00
Jordan K. Hubbard
dbb315cb8e
Gag! Somebody removed the bus mouse from GENERIC for reasons unknown.
...
That certainly explains why I noticed it suddenly missing from the
2.2 SNAPSHOT! :-)
1996-04-09 09:00:41 +00:00
Sujal Patel
c755a8837c
Added isa_dmadone() to fix the errors the sound driver has been complaining
...
about.
Update driver to use isa_dma_acquire() and isa_dma_release()
1996-04-08 19:42:07 +00:00
Sujal Patel
100f78bbe0
Update drivers to use isa_dma_acquire() and isa_dma_release()
...
Reviewed by: bde
1996-04-08 19:40:57 +00:00
Sujal Patel
1dce4e5d60
Add a lock for DMA Channels to prevent two devices from using the same DMA
...
channel at the same time. The functions isa_dma_acquire() and
isa_dma_release() should be used in all ISA drivers which call isa_dmastart().
This can be used more generally to register the usage of DMA channels in
any driver, but it is required for drivers using isa_dmastart() and friends.
Clean up sanity checks, error messages, etc.
Remove isa_dmadone_nobounce(), it is no longer needed
Reviewed by: bde
1996-04-08 19:38:57 +00:00
Garrett Wollman
dadd5f3a95
Added a $Id$ keyword. Bruce still needs to put a copyright notice
...
on this file.
1996-04-08 16:41:06 +00:00
Poul-Henning Kamp
a925b654ee
Replace usage of buf->b_actf with queue.3 and buf->b_act.
1996-04-08 07:56:42 +00:00
David Greenman
d40802692e
Killed sections 3 and 4 of my copyright as I think it is unnecessarily
...
restrictive.
1996-04-08 01:25:22 +00:00
Bruce Evans
3fd674e22b
Use breakpoint() function instead of inline assembler.
1996-04-07 18:34:59 +00:00
Bruce Evans
5dbd168e2e
Changed bdb() to breakpoint() and always enable it.
...
Made the style more consistent, especially for the new Pentium functions.
1996-04-07 18:30:56 +00:00
Bruce Evans
bc4750691c
Use rdtsc() function instead of inline essembler.
1996-04-07 18:16:26 +00:00
Bruce Evans
4165cacd4f
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:56:53 +00:00
Bruce Evans
5670f8fbd7
Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
1996-04-07 17:50:10 +00:00
Bruce Evans
6ffde942bf
Removed never-used #includes of <machine/cpu.h>. Many were apparently
...
copied from bad examples.
1996-04-07 17:39:28 +00:00
Bruce Evans
3157adc8af
Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose
...
being declared in the wrong place.
1996-04-07 17:32:42 +00:00
Bruce Evans
c1263076e3
Removed unused declaration of bootverbose.
1996-04-07 17:03:12 +00:00
Bruce Evans
860ff32995
Moved declaration of bootverbose to a better place. Externs should
...
only be declared in headers.
1996-04-07 16:45:36 +00:00
Bruce Evans
73dc05d67c
Moved declaration of bootverbose to a better place. It isn't
...
machine-dependent.
Moved declaration of cpu_fork() to a better place. Only its
implementation is machine-dependent.
1996-04-07 16:44:28 +00:00