Commit Graph

2024 Commits

Author SHA1 Message Date
thorpej
6102bc8ec2 And Yet Another Broken IBM disk (the 664 this time), once again
reported by Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 01:30:30 +00:00
thorpej
f9bc642a6d Add Yet Another Broken IBM disk to the SDEV_AUTOSAVE list. This one
doesn't report a vendor string (yuck)!.  Problem reported by
Hubert Feyrer <feyrer@grizu.fh-regensburg.de>.
1997-04-20 00:55:05 +00:00
pk
f2c53e4c3d Two more quirks:
Python 28454-XXX tape drive: NOLUNS
	1588-15MBSUN0669 disk: AUTOSAVE
1997-04-19 21:32:37 +00:00
pk
231a4bfb1f Remove bogus pointer cast.
Accept FIONBIO ioctls.
1997-04-19 21:25:43 +00:00
cgd
5cfcabc2fe compile when __BROKEN_INDIRECT_CONFIG isn't defined. 1997-04-18 00:50:33 +00:00
mikel
7aa8facf27 end line after printing WIDE SCSI status; fixes PR kern 3505. 1997-04-17 07:21:14 +00:00
thorpej
48b6d2a6f3 Update for no __BROKEN_INDIRECT_CONFIG. 1997-04-16 23:41:53 +00:00
thorpej
8338396bf4 - Update for no __BROKEN_INDIRECT_CONFIG.
- Fix BPF hooks.
1997-04-16 23:41:19 +00:00
thorpej
2747d6c890 - Update for no __BROKEN_INDIRECT_CONFIG.
- Determine and remember if we are a floppy.
- Workaround for what is apparently a firmware bug - ignore the sector
  size returned by the device.  On my Firepower's floppy, block-size
  is the same as max-transfer, which causes Lossage.
- Don't read the disklabel on a floppy; do what the ISA floppy driver
  does, which is assign the entire disk to each "partition", although
  we do not deal with the density stuff.
- FIREPOWERBUGS -> FIRMWORKSBUGS
- Some general cleanup.
1997-04-16 23:39:28 +00:00
thorpej
991fede269 Update for no __BROKEN_INDIRECT_CONFIG. 1997-04-16 23:32:04 +00:00
cgd
78b378b2bc create pci_mapreg_info() which simply gets mapping register information.
It's used by pci_mapreg_map() and can be used directly by drivers
with special needs (e.g. those being attached as console devices).
1997-04-13 22:05:10 +00:00
cgd
36949596f0 rename pci_map_register to pci_mapreg_map. The latter name is more
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.
1997-04-13 20:14:20 +00:00
cgd
dcd9b58489 don't bother keeping around the i/o tag. It's useless by itself, and
without other significant changes to this driver wouldn't be particularly
useful to keep around permanently anyway.
1997-04-13 20:02:11 +00:00
cgd
04e7505aaa clean up an autoconfiguration printf. Much more should be done 1997-04-13 20:00:29 +00:00
cgd
4c2cff7209 use pci_map_register(). map both mem and I/O spaces, preferring mem space
by default if it's usable, but falling back to I/O space if mem isn't usable.
If NCR_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.  Also, clean up the various memory consistency checks
so that they can deal with run-time determination of whether or not the
device is to be memory- or I/O-mapped.
1997-04-13 19:58:17 +00:00
cgd
32836b0710 use pci_map_register(). map both mem and I/O spaces, preferring mem space
by default if it's usable, but falling back to I/O space if mem isn't usable.
If TULIP_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.
1997-04-13 19:56:14 +00:00
cgd
8593458137 use pci_map_register(). Also, almost a complete rewrite/cleanup of this
code.  (It still needs more!)
1997-04-13 19:55:09 +00:00
cgd
41a0ca7403 clean up space/tag comments 1997-04-13 19:48:50 +00:00
cgd
cf2d73f749 use pci_map_register(). map both mem and I/O spaces, preferring mem
space if it's usable, but falling back to I/O space if mem isn't usable.
1997-04-13 19:48:16 +00:00
cgd
02ca6f929d use pci_map_register(). 1997-04-13 19:47:06 +00:00
cgd
2eae910210 implement pci_map_register(), which gets information about a device's
mapping register, maps it, and returns all of the relevant information.
deprecate use of pci_{io,mem}_find(), but leave them around (for a while)
for backward compatibility with third-party drivers.
1997-04-13 19:46:01 +00:00
cgd
ade89d0da0 add a missing newline 1997-04-11 20:28:08 +00:00
cgd
db11467340 clean up some constants ([A-F]->[a-f] in hex constants 1997-04-11 05:24:40 +00:00
thorpej
c0c810cbe0 Initialize the scsi_link before calling bha_init(), since that is how
we check for "wide controller" now.
1997-04-11 01:34:25 +00:00
cgd
cc93b2c4eb pass memory- and i/o-enabled flags down via the PCI bus and device attach
arguments, so that a device can tell if its memory and I/O spaces are
enabled.  The flags are cleared, depending on the contents of devices CSR
registers, in the machine-independent PCI bus code.
1997-04-10 23:12:16 +00:00
mikel
cff564f651 fix off-by-one error in fixed I/O resource interpreter
fix address alignment errors in memory resource interpreter
clean up debug output a bit
1997-04-10 07:02:53 +00:00
mikel
27d98ef0db add support for AD181[56] SBPro emulation 1997-04-10 06:33:16 +00:00
cgd
db0f072019 clean these up (mostly rename bus_space_{tag,handle}_t variables) so that
this code makes equal sense for memory and I/O space, prefer to map
the PCI front end via memory space (conditionalized on a patchable kernel
variable), and do a bit of other random NetBSD-specific cleanup.  (These
changes were sent to Justin Gibbs on March 28.)
1997-04-10 02:48:38 +00:00
mycroft
f2746e9620 Update for new com driver. 1997-04-09 16:44:21 +00:00
jonathan
5725025bdc typo in cfattach. 1997-04-09 02:10:48 +00:00
scottr
63d11b7577 Add another IBM disk that needs SDEV_AUTOSAVE. 1997-04-08 17:35:06 +00:00
jonathan
f11d74c508 Remove IFF_LINK[01] "connector" support.
Add if_media support.   Still missing a software autosense FSM.
1997-04-07 23:49:47 +00:00
cgd
90789b53dd by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory.  (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
scottr
d7a6762ae8 Fix a debugging printf() format. 1997-04-07 16:28:26 +00:00
jonathan
7fcfe9e0f5 Print explanatory message before each panic, or "goto abort" (which panics). 1997-04-07 03:21:14 +00:00
cgd
aa2b0a7f9f clean up NetBSD RCS ID strings, include machine/options.h 1997-04-07 00:19:11 +00:00
cgd
2677cb7ed8 clean up NetBSD RCS ID strings 1997-04-07 00:18:51 +00:00
cgd
059aaedd65 clean up NetBSD RCS ID strings, include machine/options.h 1997-04-06 22:31:45 +00:00
jtk
73cfcd9f66 fix compile error if AUDIO_DEBUG 1997-04-06 17:21:45 +00:00
jonathan
2f1aae7d37 Commit message for previous revision (lost due to Ultrix-compat bug):
* Don't print DMA_OUT message in the `normal' case of a 16-byte residual.
* ioasic-connected 53c94 devices are always clocked  at 25MHz even on
  machines with 12.5MHz TurboChannel.
1997-04-06 10:07:54 +00:00
jonathan
055fff0581 *** empty log message *** 1997-04-06 09:58:30 +00:00
augustss
7dcb9bed4c Make sure the bus tag is set where we need it. 1997-04-06 00:54:22 +00:00
augustss
29e9c34ad3 Add RCS id. 1997-04-06 00:35:19 +00:00
augustss
0a999294f5 Add support for MAD16 based audio cards.
XXX Change the way we determine to probe for it when
    multiple I/O ranges are available.
1997-04-06 00:33:07 +00:00
augustss
7dedd37033 Busify the WSS driver. 1997-04-05 23:50:23 +00:00
mjacob
6d4d1f8852 Okay, Charles convinced me that XS_DRIVER_STUFFUP is better than XS_SELTIMEOUT. 1997-04-05 22:36:56 +00:00
mjacob
0d321a7e29 Add 60 (MHz) value for PCI clock frequency value. Also enable DMA bursting. 1997-04-05 02:55:28 +00:00
mjacob
ddc693c299 A) Attempt to get clock rate from ISP chip prior to bashing it over the head
in reset. If none there, try and get from the bus/platform specific code.
If a nonzero value for either, set the clock rate. This is why the PCI
card versions weren't working- they need to be set at 60MHZ, rather than
the default 40MHZ (which worked fine for the internal ISP chips on the
Alpha 8X00).

B) If a isp_poll returns failure (command never completed) to the caller
and no error is set in the xs struct, set XS_SELTIMEOUT. And then call...

C) Added isp_lostcmd function to try and ask the ISP chip about it's current
state as well as the state of commands for a particular target/lun. This is
going along to try and figure out why the very first command to the ISP always
seems to get swallowed up.
1997-04-05 02:53:22 +00:00
mjacob
8f28eaab67 Need a bus/platform specific clock speed variable. 1997-04-05 02:48:36 +00:00
pk
c59dd873f4 Remove alignment requirement of ether_cmp(): turn it into a series of
byte comparisons. Compare the ethernet addresses backwards on the
assumption that address number byte 6 has the most random distribution,
so packets not for us spend the least time in here.
1997-04-04 22:35:36 +00:00