sos
c17460afb5
Only allow root to attach/detach/etc ATA/ATAPI devices.
2001-03-19 11:55:13 +00:00
sos
892b1c2c27
Add sysctls for reading the tunables as suggested by des.
...
Minor cleanups plus checks of the ->active state.
Cosmetics.
2001-03-19 08:04:54 +00:00
sos
58cfc0f780
Cleanup the alloc/release code a bit.
...
Fix length error on the bmio resource.
Fix the irq release code, zero out free'd irq.
2001-03-19 08:02:42 +00:00
sos
8dfcbabba9
Cosmetic changes.
2001-03-19 07:48:19 +00:00
sos
23f582a09c
Provide the interface to atacontrol and associated logic.
...
see atacontrol(8) for more.
Also the ATA_ENABLE_ATAPI_DMA, ATA_ENABLE_WC and ATA_ENABLE_TAGS
options are gone, use the tuneables listed in ata.4 instead from
the loader (this makes it possible to switch off DMA before the
driver has to touch the devices on broken hardware).
2001-03-15 15:36:25 +00:00
sos
f410564811
Minor cleanup to the previous commit:
...
Print what devices went away and which arrived.
Avoid timeout loop on missing status.
2001-03-14 14:00:09 +00:00
sos
86f8ee8055
Add support for the IOMEGA Clik!
...
IOMEGA deserves a medal for making the most nonstandard ATAPI
devices, if they are ignorant or just not smart enough I don't
know, but somebody should help them out of their misery...
2001-03-14 12:12:46 +00:00
sos
4659caa469
Refine the detach/attach code.
...
Proberly fail outstanding bio requests on devices that are detached.
This makes it possible to change between disk/cdrom/dvd/whathaveyou
in a notebook, just by suspending it, changing the device in the
bay (or what you model calls it), unsuspend and the ATA driver
will figure out what disappeared and properly fail those, and attach
any new devices found.
2001-03-14 12:05:44 +00:00
sos
295e425b3c
Split out the ata probes in seperate files for each bus type.
2001-03-06 21:43:46 +00:00
sos
a0c9a8a692
Cosmetic change to the probe printf's
2001-03-06 09:42:46 +00:00
markm
899b5e1ead
Set the interrupt-harvesting bit for those hardware items that I
...
can actually test.
Nothing will happen until the sysadmin turns on intr-harvesting
on her computer.
2001-02-18 18:02:15 +00:00
sos
a806d6f3e2
Oops, its no longer NISA its DEV_ISA, sigh....
2001-02-12 14:29:13 +00:00
sos
2fbc9d3d24
Dont rely on isa includes to get at the std port adresses.
2001-02-12 10:18:59 +00:00
sos
0f5dd9a952
Print out sensekey specifik values if set on error
2001-02-12 08:34:07 +00:00
sos
797f0747f1
Properly report the VIA '586 type.
2001-02-12 08:33:28 +00:00
sos
3260df3778
Fix a memory leak.
...
Pointed out by: Asmodai
2001-02-08 21:59:27 +00:00
sos
4793d374a0
Introduce busspace instead of the good old in/out instructions.
...
Not pretty but it works (I hope)...
2001-02-06 16:44:25 +00:00
sos
29e0bb6e63
Damn! that was the wrong patch! get it right this time....
2001-02-06 12:49:33 +00:00
sos
00a84250a0
Fix the clone functionality in atapi-cd, it didn't work for
...
devs other than the first, and allowed to clone a nonexistent
device..
2001-02-06 12:41:53 +00:00
sos
ab7cbc336e
Add option ATA_ENABLE_WC for enabling write caching (now off by default).
2001-01-29 18:00:35 +00:00
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