summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/bs
Commit message (Collapse)AuthorAgeFilesLines
* Fixed to compile bs driver with gcc 2.95.2.nyan1999-11-161-4/+7
|
* Add $FreeBSD$.phk1999-10-061-7/+6
| | | | Remove some minphys related cruft.
* Removal of sys/device.hn_hibma1999-10-051-1/+1
| | | | | | | | | | | | | - Move intrhook stuff into kernel.h - Remove all occurrences of #device <device.h> - Add kernel.h were necessary (nowhere) - delete device.h This file contained the structures for cfdata (old style config) and is no longer used. It was included by most drivers. It confuses the remote debugger as the definition of 'struct device' in device.h is found before the one in bus_private.h.
* Merge the cons.c and cons.h to the best of my ability. alpha may orphk1999-08-091-1/+1
| | | | may not compile, I can't test it.
* Add a number of interrelated CAM feature enhancements and bug fixes.ken1999-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: These changes will require recompilation of any userland applications, like cdrecord, xmcd, etc., that use the CAM passthrough interface. A make world is recommended. camcontrol.[c8]: - We now support two new commands, "tags" and "negotiate". - The tags commands allows users to view the number of tagged openings for a device as well as a number of other related parameters, and it allows users to set tagged openings for a device. - The negotiate command allows users to enable and disable disconnection and tagged queueing, set sync rates, offsets and bus width. Note that not all of those features are available for all controllers. Only the adv, ahc, and ncr drivers fully support all of the features at this point. Some cards do not allow the setting of sync rates, offsets and the like, and some of the drivers don't have any facilities to do so. Some drivers, like the adw driver, only support enabling or disabling sync negotiation, but do not support setting sync rates. - new description in the camcontrol man page of how to format a disk - cleanup of the camcontrol inquiry command - add support in the 'devlist' command for skipping unconfigured devices if -v was not specified on the command line. - make use of the new base_transfer_speed in the path inquiry CCB. - fix CCB bzero cases cam_xpt.c, cam_sim.[ch], cam_ccb.h: - new flags on many CCB function codes to designate whether they're non-immediate, use a user-supplied CCB, and can only be passed from userland programs via the xpt device. Use these flags in the transport layer and pass driver to categorize CCBs. - new flag in the transport layer device matching code for device nodes that indicates whether a device is unconfigured - bump the CAM version from 0x10 to 0x11 - Change the CAM ioctls to use the version as their group code, so we can force users to recompile code even when the CCB size doesn't change. - add + fill in a new value in the path inquiry CCB, base_transfer_speed. Remove a corresponding field from the cam_sim structure, and add code to every SIM to set this field to the proper value. - Fix the set transfer settings code in the transport layer. scsi_cd.c: - make some variables volatile instead of just casting them in various places - fix a race condition in the changer code - attach unless we get a "logical unit not supported" error. This should fix all of the cases where people have devices that return weird errors when they don't have media in the drive. scsi_da.c: - attach unless we get a "logical unit not supported" error scsi_pass.c: - for immediate CCBs, just malloc a CCB to send the user request in. This gets rid of the 'held' count problem in camcontrol tags. scsi_pass.h: - change the CAM ioctls to use the CAM version as their group code. adv driver: - Allow changing the sync rate and offset separately. adw driver - Allow changing the sync rate and offset separately. aha driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. ahc driver: - Allow setting offset and sync rate separately bt driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. NCR driver: - Fix the ultra/ultra 2 negotiation bug - allow setting both the sync rate and offset separately Other HBA drivers: - Put code in to set the base_transfer_speed field for XPT_GET_TRAN_SETTINGS CCBs. Reviewed by: gibbs, mjacob (isp), imp (aha)
* CAM support.kato1998-12-289-287/+359
| | | | | Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp> and Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-042-2/+3
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-221-1/+3
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* Support compiling with `gcc -ansi'.kato1998-04-182-2/+6
|
* Make EPSON_BOUNCEDMA a new-style option.kato1998-03-172-0/+2
|
* Make pc98 options new-style.kato1998-02-211-0/+1
|
* Staticize.kato1998-02-101-1/+1
|
* Synchronize with NetBSD/pc98 based on NetBSD/i386 version 1.3G patchkato1998-01-1612-206/+253
| | | | | | level 117. Reviewed by: Naofumi Honda <honda@Kururu.math.sci.hokudai.ac.jp>
* Update for changes in the callout interface.kato1997-09-223-1/+11
|
* Moved include files which are independent of bs driver.kato1997-08-284-252/+5
|
* Made PEND_INTS default.fsmp1997-08-211-0/+10
| | | | | | | | | | Made NEW_STRATEGY default. Removed misc. old cruft. Centralized simple locks into mp_machdep.c Centralized simple lock macros into param.h More cleanup in the direction of making splxx()/cpl MP-safe.
* Include <sys/conf.h>kato1997-06-031-0/+1
|
* Include file update: <machine/spl.h> --> <machine/ipl.h>.kato1997-05-311-0/+1
|
* Improved CPU identification and initialization routines. Thiskato1997-03-222-6/+5
| | | | | | | | | | | | | supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD) Nx586 CPU, and initialize special registers of Cyrix CPU and msr of IBM Blue Lightning CPU. If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in write-through mode. This can be disabled by kernel configuration options. Reviewed by: Bruce Evans <bde@freebsd.org> and Jordan K. Hubbard <jkh@freebsd.org>
* Change `#ifdef FreeBSD' to `#ifdef __FreeBSD__'.kato1997-03-131-3/+3
| | | | Submitted by: H. Nokubi <h-nokubi@nmit.mt.nec.co.jp>
* Synchronize with NetBSD/pc98 patch level 81.kato1997-02-286-46/+62
| | | | | Submitted by: Naofumi Honda <honda@Kururu.math.hokudai.ac.jp> Obtained from: NetBSD/pc98 patch level 81
* Undo RCS keyword change to keep the original `$NetBSD$'.kato1997-01-0514-14/+14
| | | | Pointed out by: j@uriah.heep.sax.de (J Wunsch)
* Delete $NetBSD$, and add $Id$.kato1996-12-0914-14/+14
| | | | 2.2 candidate.
* Obtained from: NetBSD/pc98 based on NetBSD 1.2kato1996-12-071-0/+54
| | | | Add a missing file of bs driver. It's a 2.2 candidate.
* Replace sbic driver (WD33C93 SCSI card driver) with new bs driver.asami1996-12-0415-0/+5928
Submitted by: The FreeBSD(98) Development Team Obtained from: NetBSD/pc98 based on NetBSD 1.2
OpenPOWER on IntegriCloud