Reset indentation of this flag. No functional change intended.Found with gcc.sys/dev/ata/chipsets/ata-siliconimage.c: In function 'ata_cmd_ch_attach':sys/dev/ata/chipsets/ata-siliconimage.c:187:5
Reset indentation of this flag. No functional change intended.Found with gcc.sys/dev/ata/chipsets/ata-siliconimage.c: In function 'ata_cmd_ch_attach':sys/dev/ata/chipsets/ata-siliconimage.c:187:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ctlr->chip->cfg2 & SII_INTR) ^~sys/dev/ata/chipsets/ata-siliconimage.c:190:2:note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ch->flags |= ATA_NO_ATAPI_DMA;
show more ...
Add ready polling after PHY reset on VIA SATA controllers.According to PR there are cases of controller hang if soft reset issent before device report ready status after the hard reset.I don't t
Add ready polling after PHY reset on VIA SATA controllers.According to PR there are cases of controller hang if soft reset issent before device report ready status after the hard reset.I don't think this patch is perfect, but it was reported as workingby the submitter, and I have neither the old hardware nor interest totest some improved version, so just done some style cleaning.PR: 183294Submitted by: [email protected]MFC after: 1 month
Fix typoReported by: mjg, [email protected]
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
Use "Ibex Peak" codename for "5 Series/3400 Series" chipsets.This is shorter and unifies naming with later chipsets.MFC after: 1 week
sys/dev: minor spelling fixes.Most affect comments, very few have user-visible effects.
Cleanup unnecessary semicolons from the kernel.Found with devel/coccinelle.
Ternary operator has lower priority than OR.Found by: PVS-Studio
Convert a few more long -> rman_res_t.
Increase reset assertion time from 10 to 100us.On my own tests I see no effect from this change, but I also can'treproduce the reported problem in general.PR: 127391PR: 204554Submitted by: s
Increase reset assertion time from 10 to 100us.On my own tests I see no effect from this change, but I also can'treproduce the reported problem in general.PR: 127391PR: 204554Submitted by: [email protected]MFC after: 2 weeks
Pass proper device to pci_read_config().For some reason JMicron driver was different from others at this point.
Disable 32-bit PIO for 6Gbit/s Intel SATA controllers.For some reason 32-bit PIO writes are not working on 6Gbit/s Intel SATAports, while 16/32-bit PIO reads and 16-bit PIO writes are working fine
Disable 32-bit PIO for 6Gbit/s Intel SATA controllers.For some reason 32-bit PIO writes are not working on 6Gbit/s Intel SATAports, while 16/32-bit PIO reads and 16-bit PIO writes are working fine.3Gbit/s ports on the same controllers have no this problem.Workaround this by disabling 32-bit PIO for all Intel controllers that mayhave 6Gbit/s ports. It halves PIO performance from 6MB/s to 3MB/s, butwho bother about speed of such rare and slow mode, which is also highlydiscouraged by SATA specifications?MFC after: 2 weeks
Remove from legacy ata(4) driver support for hardware, supported by newerand more functional drivers ahci(4), siis(4) and mvs(4).This removes about 3400 lines of code, unused since FreeBSD 9.0 rel
Remove from legacy ata(4) driver support for hardware, supported by newerand more functional drivers ahci(4), siis(4) and mvs(4).This removes about 3400 lines of code, unused since FreeBSD 9.0 release.
Reduce priority of ATA/SATA drivers.Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4),mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_VENDOR leave for vendor drivers.MFC after:
Reduce priority of ATA/SATA drivers.Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4),mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_VENDOR leave for vendor drivers.MFC after: 2 weeks
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.MFC after: 1 week
Add another PCI ID for JMB368 PATA controller.MFC after: 1 week
err set but not used. Eliminate it.
Actually pro AMD chipsets.MFC after: 3 daysSponsored by: Bally Wulff Games & Entertainment GmbH
Add fsl,imx53.
Follow r261352 by updating all drivers which are children of simplebusto check the status property in their probe routines.Simplebus used to only instantiate its children whose status="okay"but t
Follow r261352 by updating all drivers which are children of simplebusto check the status property in their probe routines.Simplebus used to only instantiate its children whose status="okay"but that was improper behavior, fixed in r261352. Now that it doesn'tcheck anymore and probes all its children; the children all have todo the check because really only the children know how to properlyinterpret their status property strings.Right now all existing drivers only understand "okay" versus something-that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
Add some more IDs for Intel ATA, AHCI and USB controllers.
Add missing NULL check after malloc(M_NOWAIT).Submitted by: Dmitry Luhtionov <[email protected]>
Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices.MFC after: 1 week
Add test for SATA registers writability and skip using them if it failed.There are some systems reported, where PCI BAR(5), used for SATA registersaccess, is present, but not functional. Attempt
Add test for SATA registers writability and skip using them if it failed.There are some systems reported, where PCI BAR(5), used for SATA registersaccess, is present, but not functional. Attempt to use it brakes devicesdetection logic. Try to detect those cases on attach by setting and testingsome bits in SControl register. If bits are unsettable, fallback to legacyATA without hot-plug detection, speed control/reporting, etc.MFC after: 2 weeks
Pass proper memory type to free() in ata_ali_chipinit().Submitted by: Dmitry Luhtionov <[email protected]>MFC after: 1 week
1234567