diff options
author | Brandon Bergren <bdragon@FreeBSD.org> | 2020-06-14 16:47:16 +0000 |
---|---|---|
committer | Brandon Bergren <bdragon@FreeBSD.org> | 2020-06-14 16:47:16 +0000 |
commit | a4ec123c569adc860c69827bc54c306b333c924b (patch) | |
tree | fc4051a3b089119af8f0ae19db0403625b009a84 /sys/dev/scc/scc_bfe.h | |
parent | b231bff8b263f40dee4018677afdd4c766a8e0aa (diff) | |
download | src-a4ec123c569adc860c69827bc54c306b333c924b.tar.gz src-a4ec123c569adc860c69827bc54c306b333c924b.zip |
[PowerPC] Fix scc z8530 driver
Parts of the z8530 driver were still using the SUN channel spacing.
This was invalid on PowerMac and QEMU, where the attachment was to escc,
not escc-legacy. This means the driver has apparently NEVER worked properly
on Macintosh hardware.
Add documentation for the channel spacing details, and change to using
driver-specific initialization instead of hardcoded spacing so either
spacing can be used.
Fixes boot hang in QEMU when using the serial console, and fixes use on
Xserve serial (and presumably PowerMacs that have a Stealth Serial port
or similar)
Reviewed by: jhibbits
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D24661
Notes
Notes:
svn path=/head/; revision=362179
Diffstat (limited to 'sys/dev/scc/scc_bfe.h')
-rw-r--r-- | sys/dev/scc/scc_bfe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/scc/scc_bfe.h b/sys/dev/scc/scc_bfe.h index d6ddd6775a3c..0b7f91f83f99 100644 --- a/sys/dev/scc/scc_bfe.h +++ b/sys/dev/scc/scc_bfe.h @@ -114,7 +114,8 @@ struct scc_class { extern struct scc_class scc_quicc_class; extern struct scc_class scc_sab82532_class; -extern struct scc_class scc_z8530_class; +extern struct scc_class scc_z8530_escc_class; +extern struct scc_class scc_z8530_legacy_class; struct scc_softc { KOBJ_FIELDS; |