Commit Graph
2191 Commits
Author SHA1 Message Date
Greg Lehey 4911007aae MFC: Don't forget the 'stripe' and 'mirror' keywords when we turn
debugging off.

Reminded-by: "Matthew N. Dodd" <[email protected]>
2000-01-02 23:23:05 +00:00
cvs2svn a4b31aaa27 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-12-30 06:19:11 +00:00
Justin T. Gibbs cc12ebd9f3 MFC: Rev 1.39 - Fix argument reversal bug. 1999-12-20 21:38:48 +00:00
Luoqi Chen 6dcdee9d65 MFC: Adjust data pointers for untransmitted bytes in fifos when there's
a phase change during data transfer.

Approved by:	jkh
1999-12-16 23:23:56 +00:00
Justin T. Gibbs 5476c04745 MFC: Update license, fig message-in parsing bug.
Approved by:	jkh
1999-12-12 05:02:32 +00:00
Kazutaka YOKOTA d2884a4f1f Fix CONS_FINDMODE and xxx_query_mode() in the vga and vesa drivers.
Submitted by: jmg

(This fix is slightly different from his original patch, but has
the same effect.)

Approved by: jkh
1999-12-09 10:58:41 +00:00
Kazutaka YOKOTA 47e4484151 Fix mouse cursor update logic. This bug is only in -STABLE.
Discoverd by: Cy Schubert <[email protected]>
Approved by: jkh
1999-12-08 09:52:26 +00:00
Kazutaka YOKOTA 1c4cc9f5ca MFC from rev 1.328: Fix cursor position calculation.
Approved by: jkh
1999-12-08 09:48:34 +00:00
Luoqi Chen 3067e3a7b1 MFC: Disconnect and tagged queueing now really work. Also fix a bug that's
causing problems to slow devices.
1999-12-04 22:49:48 +00:00
Matt Jacob 74ef9f5937 MFC: we don't need asm_sbus until we have an SBUS to run on. 1999-12-03 07:42:26 +00:00
Matt Jacob 7e9d0acbbd MFC: cleanup request/response queue size u_int8_t to u_int16_t change.
Change the usage of 'used' to 'touched'. Change some messages to be
CFGPRINTF instead of PRINTF. Clean up f/w download. If we're a 2100
less than rev 5, turn off loop fairness. Fix some random botches.
Use the isp_getrqentry inline to get the next request queue entry.
1999-12-03 07:40:31 +00:00
Matt Jacob bfbc761774 MFC: remove some target mode stuff. Roll minor version. Change func
declarations to follow that request/response queue indices now
are u_int16_t. Clean up some of the softc a bit.
1999-12-03 07:36:55 +00:00
Matt Jacob 723cde126f MFC: clean up isp_prtstst function and make sure it has a buffer big enough.
Add in isp_getrqentry inline function.
1999-12-03 07:34:27 +00:00
Matt Jacob 68d4337d86 MFC: roll platform minor. Remove WWN seed and replace with a default WWN.
Change DEFAULT_WWN macro to point to it. Remove unneeded string.
1999-12-03 07:33:14 +00:00
Matt Jacob fa159da4fc MFC: use new *BSD style licence for f/w. Organize f/w so that various
portions can be compiled in, or not. While we're at it, roll the 2200
f/w revision.
1999-12-03 07:30:43 +00:00
Kazutaka YOKOTA 4e1437db9b MFC: sort of...
- Fix mouse ioctl.  This corresponds to scmouse.c of the following
  revision in -CURRENT.
----------------------------
revision 1.6
date: 1999/11/09 12:35:36;  author: yokota;  state: Exp;  lines: +23 -24
Correctly record the mouse position in the current VTY.
----------------------------
1999-11-29 02:38:39 +00:00
Yoshihiro Takahashi 8344bcc3c9 Supported PC-9801-100 SCSI interface.
Submitted by:	[email protected] (Chiharu Shibata)
1999-11-17 12:34:03 +00:00
Nicolas Souchu 82603e2756 Fix compile error.
Submitted by: "Chris D. Faulhaber" <[email protected]>
1999-11-02 22:29:03 +00:00
Nicolas Souchu 2f8a818f60 Ooops, forgot the EWOULDBLOCK fix to prevent infinite loop when trying
to request the smbus
1999-11-01 23:17:25 +00:00
Nicolas Souchu 375af6b6fc MFC.
Update smbus stack, then add alpm(4) and intpm(4) low level smbus
drivers.

	- intpm: Takanori Watanabe <[email protected]>
1999-11-01 22:48:34 +00:00
Nick Sayer dbca198d27 MFC: 1.17->1.18
This is the difference between a working machine and one that
panics whenever /dev/ums0 is closed (that is, when you reboot
a machine running with the mouse daemon).

Approved by: jkh
1999-10-29 20:28:14 +00:00
Luoqi Chen f9846be12b (MFC) Bug fix: allow reset device command to complete. 1999-10-28 05:31:05 +00:00
Matt Jacob f671ea43d4 MFC: turn back always doing tags for FC 1999-10-28 02:51:34 +00:00
Luoqi Chen e42603fc91 (MFC) Fix a typo which would result in a bad REQUEST SENSE command be sent to
a device at lun != 0. Enable tagged queueing by default.
1999-10-26 22:37:31 +00:00
Matt Jacob ee09fc67ae MFC: nuke a debug printout I thought I had already nuked 1999-10-26 22:27:41 +00:00
Luoqi Chen 58e7810628 Negate return of aic_isa_attach(): isa device's attach method returns 0
for failure and 1 for success.
1999-10-25 19:11:44 +00:00
Matt Jacob b1c1eb785a MFC: remember to initialize mailbox 2 for FC isp bus resets 1999-10-22 17:04:38 +00:00
Luoqi Chen c4d9d4e22c Adaptec 6260/6360 CAM driver. 1999-10-22 01:00:05 +00:00
cvs2svn a42e24b0d8 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-21 21:15:03 +00:00
Matt Jacob af5bcc0336 (last delta had wrong comment)
MFC:Roll core version number. Do some stylistic changes. Ensure that
the result queue length is never less than 64. Move (ick) temp port
database used for post-LIP merging off the kernel stack and put it
into the softc. Remove some target mode stuff which will come back
later in a different file. Change how the list of outstanding commands
are stored (now allocated at mailbox setup time to be just enough for
the max for a specific HBA which can vary). Keep a rotating seed of
the last index for this in the softc. Increase the count of active
commands from 10 to 16 bits.
1999-10-17 19:47:51 +00:00
Matt Jacob 9efb797d8b (last delta had wrong comment)
MFC:add in an INT_PENDING macro
1999-10-17 19:47:17 +00:00
Matt Jacob b53455548e (last delta had wrong comment)
MFC:Remove target mode definitions (they'll come back later in
a different file).
1999-10-17 19:46:23 +00:00
Matt Jacob 7484648ed0 (last delta had wrong comment)
MFC:Roll platform major && minor (major now tracks FreeBSD major release).
Add in null SWIZZLE definitions. Add in CFGPRINTF define. Change default
debug level to refer to an external isp_debug variable. Remove inline
functions as they're now in isp_inline.h and include that file.
1999-10-17 19:45:50 +00:00
Matt Jacob fd527f059b (last delta had wrong comment)
MFC:Add in isp_debug variable. It defaults to zero unless CAMDEBUG is defined
where it defaults to one. Change simq width allocation to the max number
of commands supported by the HBA after f/w fires up- not the constant
MAXISPREQUEST value. Do some stylistic changes.
1999-10-17 19:45:06 +00:00
Matt Jacob eebe97f871 (last delta had wrong comment)
MFC:Remove some target mode stuff. It will get re-introduced in a different
file later. Do some pencil-sharpening types of minor changes. Change
how active commands are remembered (using new inline functions to get
handles, etc..). Now do a GET FIRMWARE STATUS after firing up the f/w as
outgoing mailbox 2 will tell you the f/w's notion of the max commands
that can be supported. Attempt to retrieve loop topology. Add in the
appropriate SWIZZLE/UNSWIZZLE macros calls (this is a no-op on Little
Endian machines but is needed for sparc (on other platforms)). Move
the temp port database we use to find out where things have moved to
after a LIP to the softc and off the kernel stack. Follow Qlogic's
hint and don't bother setting a tag for commands that don't have
this enabled (presumably the f/w will do it's own selection then).
Use an INT_PENDING macro to check for an interrupt. The call to
ISP_DMAFREE now just takes the handle- not the 'handle-1' which was
a layering violation. Use CFGPRINTF in a couple of places to make
things less chatty if not booting verbose, or CAMDEBUG compiles, etc..
1999-10-17 19:44:27 +00:00
Matt Jacob b1d34a3680 MFC:roll 10[24]0 and 1080/12X0 f/w 1999-10-17 19:33:38 +00:00
Matt Jacob 806141529a MFC:Add a file where inline functions for the Qlogic isp cards can go.
This reduces duplication in all the platform specific header files.
1999-10-17 19:27:22 +00:00
cvs2svn 36f28d1a96 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-10-17 18:15:07 +00:00
Roger Hardiman 24fcfd33c8 MFC. Fix missing #include which meant kernel config options were ignored. 1999-10-15 13:38:40 +00:00
Greg Lehey 327d49fb81 MFC (see revision 1.45):
Fix another instance of vinum_scandisk giving a request to the daemon
and then doing it itself, resulting in a panic downed drives.

Sleuth-work-by:         Christopher Masto <[email protected]>

vinum_scandisk: Check that a drive is up before reading from it.  This
is probably excessive paranoia.
1999-10-13 08:39:08 +00:00
Roger Hardiman 1bba44a1f7 MFC. Update to the driver to re-sync with -current.
Adds new Australina channel set fixes, LeadTek Winfast 2000 audio
and bug fixes for FM Radio Muting
1999-10-07 09:46:28 +00:00
Roger Hardiman 20eba4c5a0 MFC:
Sync with the latest driver from -current.

The bktr Bt848/Bt878 driver has been moved to /sys/dev/bktr
and has also been broken down into smaller files
for tuner,audio,card detection,video capture and OS specific parts.
1999-10-01 17:14:12 +00:00
Greg Lehey 374e02238f MFC:
open_drive: Don't call set_drive_state to take a drive down, do it
            ourselves.  This breaks a vicious circle which caused
            vinum to dereference a null vp if device nodes were
            missing.

Reported-by:    Brad Chisholm <[email protected]>
                Alec Wolman <[email protected]>

check_drive: Don't take a drive down if it's only referenced.
1999-09-29 03:44:28 +00:00
cvs2svn 184d11b059 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-09-27 08:04:56 +00:00
Justin T. Gibbs 4d21e40b7d Add a missing comment line.
Submitted by:	Roger Savard <[email protected]>
1999-09-20 23:31:41 +00:00
Justin T. Gibbs 5a087fb62a MFC: Clear SELINGO during selection timeouts so that the busy LED turns off. 1999-09-20 19:11:59 +00:00
Justin T. Gibbs 80ae0001a0 MFC: Fix Ultra2 data corruption under high PCI bus loads. 1999-09-20 19:11:13 +00:00
David E. O'Brien e33526fed2 Fix Id tag spamage. 1999-09-18 19:34:45 +00:00
David E. O'Brien 1a3b683d9c Make RealPort cards work after re-insertions.
Submitted by:	Duncan Barclay <[email protected]>
1999-09-18 19:33:08 +00:00
Justin T. Gibbs eafd6503e6 MFC: Almost everyone using the bus-dma interface copied a bug from my code.
I fixed this in -current a month ago but forgot to MFC them.  I don't
know how the old code ever worked... 8-)

There is also two fixes for detaching devices in here.  One is for
disconnecting a device with bus-dma resources (busdma_machdep.c) and
the other is for cam queue resources.  These two fixes have been in
-current for over a month (Nick Himba found them using USB devices).

And finally, there is a fix for a compile warning in the advansys
driver.

Approved by:	jkh
1999-09-14 04:08:11 +00:00