Commit Graph

55 Commits

Author SHA1 Message Date
mjacob 74bc9f26d5 Update HBAs to incorporate the new max_lun property. 1998-12-05 19:43:33 +00:00
thorpej 5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
thorpej 29d472f53d Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
1998-10-10 00:28:28 +00:00
scw a84a67440f vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
While I'm here, expunge use of 'register' storage class.
1998-08-22 10:55:33 +00:00
mycroft 6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
drochner 49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
jonathan 3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
jonathan 466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
thorpej 2d53e59a47 Update for changes to config. 1998-01-12 19:51:03 +00:00
mycroft ec5fd4954e Set rr0_dcd.
Don't set DCD_IE and CTS_IE here; let the MI code do it.
Handle MDMBUF.
1997-11-02 08:05:06 +00:00
jtc 4229acf79d Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:37:20 +00:00
thorpej 3b4ad2b60e Copyright assigned to The NetBSD Foundation. 1997-10-05 18:15:51 +00:00
bouyer 6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
jtk d36d6d14ab use locator defines in "locators.h" to index cf_loc[] 1997-07-17 02:01:26 +00:00
gwr b5afc4b28d Change arg two of all the match functions back to struct cfdata
now that __BROKEN_INDIRECT_CONFIG has been removed.
1997-03-19 16:24:38 +00:00
thorpej 1d987a161b #include <net/if_media.h> 1997-03-17 03:17:34 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
gwr 05c4b6759d Apply that fix from Bill Studenmund that keeps us from ignoring DCD.
Also fix the copyright (s/REGENTS/FOUNDATION/).
1997-02-05 14:06:58 +00:00
thorpej 0e3acd811d bootdv -> booted_device 1997-01-31 01:53:06 +00:00
pk 3bbf01bfb7 rename: ramdisk => md 1996-12-28 23:53:10 +00:00
gwr 3da720dfd1 Adapt to the new version of dev/ic/z8530* 1996-12-17 22:30:13 +00:00
thorpej d502e68402 Fill in sc_link.max_target 1996-12-10 21:27:16 +00:00
thorpej 66cbbf68ff Copyright assigned to The NetBSD Foundation. 1996-12-09 17:35:24 +00:00
chuck cabd6ddfa0 - new lpt driver, contributed by Steve Woodford <steve@mctavish.demon.co.uk>
- added 1.1 and 1.2 compat to VME147 config file
1996-11-09 03:52:51 +00:00
christos e37692f04d backout previous kprintf change 1996-10-13 03:29:05 +00:00
christos 9beb92aad7 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:32:59 +00:00
thorpej 583912cbcf Grab the stat clock stuff from the SPARC port, and glue it to the
second timer on the PCC.
1996-09-12 05:10:44 +00:00
thorpej de02bf68b3 Update to use the new badaddr(); simplifies the code that attaches
pcc children somewhat.
1996-09-12 05:04:18 +00:00
thorpej 2a57ba6633 Correct a comment, and add timer priming macros. 1996-09-12 04:54:19 +00:00
cgd 71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej 2d88fe9293 Old-style disk instrumentation is long gone, buster! 1996-08-26 06:47:42 +00:00
thorpej 3eaf7130d9 Update for structure member name changes made in the MI code. 1996-08-26 06:39:03 +00:00
chuck 946f08aa87 note if we are the boot device (for fixing generic boot) 1996-05-29 04:29:46 +00:00
chuck 5258929681 detect if we are the boot device (to fix generic kernel) 1996-05-29 04:27:11 +00:00
chuck 8f19c1d045 fix cngetc() typeo. 1996-05-26 20:42:58 +00:00
chuck d3ca12ac2a import rd_root from sun3 1996-05-20 01:17:31 +00:00
thorpej fe4b70fd58 RCS id police. 1996-05-08 05:55:04 +00:00
thorpej 2dea8dc101 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:10:53 +00:00
chuck e305bdb71c switched to MI driver 1996-04-26 19:55:39 +00:00
chuck 08b3f74e0d nuke old isr structure (no longer use) 1996-04-26 19:44:03 +00:00
chuck 6d3c0d5c50 remove iio files; replaced by jason's new autoconfig scheme 1996-04-26 19:04:28 +00:00
chuck d80422cd46 - zs: switch to MI driver
- clock, le, pcc, wdsc, zs: convert to new autoconfig scheme
 - vme: add vme support

Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:59:58 +00:00
chuck edda199ab0 patch from: Steve Woodford <steve@mctavish.demon.co.uk>
fixes the following problems:
   - Timeout on START/STOP unit command (ie. when spinning up the drive)
     Side effect of this fix is to reduce the busy-wait time in CMD phase.

   - Occasionally, the driver would lose an SBIC interrupt, especially when
     a tape drive was re-selecting on a busy SCSI bus.
1996-04-23 16:32:54 +00:00
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
chuck 442dec5d53 new driver: SCSI for VME147
contributed by: Steve Woodford <steve@mctavish.demon.co.uk>

	this driver is based on the amiga sbic/33C93 driver.   Steve has
	cleaned it up and fixed lots of bugs.    Note that the original driver
	used features which require at least a WD33C93A (the vme147 has the
	original WD33C93 chip <no 'A' suffix>).   Steve has also written
	the DMA routines for the 147 to get things really going.   Hardware
	scatter-gather DMA and sync. SCSI are not supported (yet).   tested
	on several disk drives and a tape drive.   CD-ROM untested, but
	should work.
1996-04-18 18:30:49 +00:00
chuck a574a3a423 add PCC_ICLEAR 1996-04-18 18:07:08 +00:00
cgd d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
cgd 83f9bdc359 update for the fact that config_found() and config_rootfound() now
return pointers.  (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00