peter
10126ce00c
Convert ata and atapi #if NATA* > 0 to options instead. Stop config
...
trying to count the number of ata* devs since they were not used anyway.
2001-01-29 10:01:11 +00:00
peter
b7edc4f4e3
Send "#if NISA > 0" to the bit-bucket and replace it with an option.
...
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.
2001-01-29 09:38:39 +00:00
sos
4df68a4783
Correct botchup in last commit that made older VIA chips fail...
2001-01-21 16:13:03 +00:00
peter
f733c06260
Zap #include "apm.h" - it was not used.
2001-01-19 13:53:54 +00:00
sos
c33caa8ae0
When blocksize is set to 2352, alwas read 2352 bytes.
...
This means it might read more than just data, but that is exactly
what we want here (for reading VCD's fx)
2001-01-18 15:20:18 +00:00
sos
70f7bdb079
Add first cut support for the ATA100 capable VIA82c686b.
2001-01-17 09:22:13 +00:00
sos
0feaf5cc8a
Use prober atomic operations when test&set'ing ->active.
...
This turns some of my lockups under SMP into spontanious reboots...
2001-01-14 19:36:20 +00:00
sos
71db843991
Add session argument to *close_disk, allowing to set session type on fixate.
...
Add support for different blank/erase types.
Update headers.
2001-01-10 19:19:47 +00:00
sos
74fb2ac9f3
Back out the "close tray on open" feature, its not clear what
...
color it should have...
2001-01-08 21:34:25 +00:00
sos
6efbd08cc6
Try better this time at a patch that properly backspeeds on the Acer chips.
2001-01-07 17:00:09 +00:00
sos
d30bf90c25
On open try to close the drivetray and wait for drive ready.
...
Idea from PR24109 but implemented differently
2001-01-07 16:48:56 +00:00
sos
446e8349b4
Oops the test in the Acer code should be >= not >.
2001-01-05 15:23:06 +00:00
sos
a0dfbca3a8
Add support for using BurnProff(tm) on drives that support it.
...
This is experimental as I dont have such a drive, reports welcome!!
2001-01-04 12:43:39 +00:00
sos
9e93a7456b
Proberly calculate the RAID structure on the Promise Fasttrak.
2001-01-04 09:11:00 +00:00
sos
1b1f7bb479
Use M_ZERO flag on malloc when approbiate.
2000-12-26 12:05:49 +00:00
sos
d65168d03e
Update the burncd interface a bit, dont block the ATA channel on
...
blank & fixate commands and provide a progress interface for the
blank command (for now)
2000-12-26 11:55:44 +00:00
sos
8db92e907c
Use diskerr for printing disk hard/soft errors.
2000-12-26 11:49:57 +00:00
sos
787bf26011
Proberly back down DMA modes on the Acer Aladdin.
2000-12-19 10:37:03 +00:00
phk
c3f2ee9700
Staticize some malloc M_ instances.
2000-12-08 20:09:00 +00:00
sos
dd1e6b9d4b
Fix a braino ..
2000-11-18 12:14:35 +00:00
sos
a21e334aaa
Put the probe verboseness behind bootverbose
2000-11-16 10:52:00 +00:00
sos
615c8b9aa9
Only offset raid disks > 1 on the HPT, this should solve the
...
boot problems..
However this demands that dangerously dedicated disks use an
offset of at least 10 from the start to not overwrite the
raid config sector on the HPT...
2000-11-12 20:45:14 +00:00
sos
c2971789cc
Better handling of immediate commands, mainly to solve timeouts
...
in the atapi-tape code...
2000-11-12 20:41:24 +00:00
sos
d17388a5b2
Hopefully fix the probing problems that caused lost slaves etc..
2000-11-12 20:40:05 +00:00
sos
1831e285db
Rearrange the timeouts in the reset code a bit, some ATAPI devices
...
are picky about this.
2000-11-08 21:25:43 +00:00
sos
e9a27b9db9
Hopefully solve the lost slave problem.
2000-11-08 19:31:39 +00:00
sos
4db8e6376f
Fix breakage on some ATA chips that dont have busmastering set.
...
Tidy up the probe a bit..
2000-11-03 17:09:34 +00:00
sos
2fb0de9467
Update the config gathering code for both Promise & HPT
2000-11-01 17:35:44 +00:00
sos
0b40116611
Try a bit harder to test for ATA/ATAPI HW to probe, this is to avoid
...
some of the false comrades some devices fakes...
2000-10-30 20:45:24 +00:00
sos
32aa560075
Update the Promise RAID code, there are differences between BIOS
...
version unfortunately...
2000-10-30 17:11:40 +00:00
sos
cc816837b4
Fix the PCCARD ATA breakage..
...
This is due to a bug that has been in there since Warneer did the
PCCARD stuff, the altioaddr is not offset 8 its offset 14 from
the base address.
Also only probe the master device, no known PCCARD ATA thingies
has a slave AFAIK..
2000-10-30 09:36:40 +00:00
phk
ff5cdfae2d
Move suser() and suser_xxx() prototypes and a related #define from
...
<sys/proc.h> to <sys/systm.h>.
Correctly document the #includes needed in the manpage.
Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
2000-10-29 16:06:56 +00:00
sos
4e93b6013f
Fix the problem with DMA mode not working on Aladdin chips.
...
Amasing in how many ways Acer has screwed up that chip.
2000-10-24 13:50:22 +00:00
sos
d294d0c2a8
Clean up the raid code a bit, also allow disks on HPT controllers to
...
be swapped around and still be put in the correct order in a raid.
2000-10-22 12:17:57 +00:00
sos
fe368878b6
Fix warning in the ISA only case.
2000-10-22 12:17:38 +00:00
sos
9e0e3d034b
Get the prober error code instead of relying on scp->error to contain
...
the lastest greatest.
2000-10-22 12:16:51 +00:00
sos
f1b24f9541
Up the reset pulse to 100ms in ata_reset, some drives especially
...
DVD drives need this to reset proberly.
Remove some verboseness..
2000-10-22 12:16:00 +00:00
jhb
8ce5db22ac
Quiet a silly warning.
...
Pointy-hat to: ps
2000-10-19 18:52:20 +00:00
sos
0a266a7e9b
Minor changes to the ATA RAID support code, remove some verbosity
...
and put some under bootverbose..
2000-10-18 18:49:42 +00:00
ps
c71ac689e0
Implement write combining for crashdumps. This is useful when
...
write caching is disabled on both SCSI and IDE disks where large
memory dumps could take up to an hour to complete.
Taking an i386 scsi based system with 512MB of ram and timing (in
seconds) how long it took to complete a dump, the following results
were obtained:
Before: After:
WCE TIME WCE TIME
------------------ ------------------
1 141.820972 1 15.600111
0 797.265072 0 65.480465
Obtained from: Yahoo!
Reviewed by: peter
2000-10-17 10:05:49 +00:00
phk
beadbd4365
Remove unneeded #include <machine/clock.h>
2000-10-15 14:19:01 +00:00
ps
c099ba410d
Do not allocate a callout for all crashdumps, not just when you panic.
2000-10-13 21:49:19 +00:00
sos
3fbb5f4f82
Add support for ATA "pseudo" RAID controllers as the Promise Fasttrak
...
and HighPoint HPT370 controllers.
Use by defining the RAID in the BIOS and the "ar driver will pick it up
automagically...
2000-10-13 13:04:45 +00:00
sos
c864b99df0
Fix ISA only systems.
2000-10-13 12:09:23 +00:00
sos
2a6f83dcd6
Get rid of the ivars entirely.
2000-10-13 11:21:27 +00:00
sos
8997c36cbc
Only allow UDMA2 mode on SiS rev > 0xc1
...
Minor cosmetics
2000-10-13 10:54:47 +00:00
jhb
71938e9fcd
- Heavyweight interrupt threads on the alpha for device I/O interrupts.
...
- Make softinterrupts (SWI's) almost completely MI, and divorce them
completely from the x86 hardware interrupt code.
- The ihandlers array is now gone. Instead, there is a MI shandlers array
that just contains SWI handlers.
- Most of the former machine/ipl.h files have moved to a new sys/ipl.h.
- Stub out all the spl*() functions on all architectures.
Submitted by: dfr
2000-10-05 23:09:57 +00:00
sos
de97df0285
Cleanup the chipset specific interrupt code a bit.
2000-10-05 08:28:06 +00:00
sos
97127e8974
Fix the MASTERDEV breakage the caused the PIIX controllers to get
...
missed in the probe. This might break the CMD chips again, more
testing is needed on that, but we need the mainstream chips to
work again ...
2000-10-04 08:28:37 +00:00
sos
98f1b14aba
Add support for ServerWorks ROSB4 ATA33 chipset.
...
Add support for CMD 648 ATA66 & CMD 649 ATA100 chipsets.
Fix the "resource already allocated" panic with the CMD and other
braindead controllers.
Add options ATA_ENABLE_TAGS, without this option tagged queuing will
not be attempted.
2000-10-03 13:12:36 +00:00