summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2023-06-03adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}lukem
Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} which works for both clang and gcc, and remove compiler-specific equivalents.
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-09check for proper error value from OF_finddevice()macallan
should fix PR57394
2023-02-09Adjust _all_ cinclude of *.local filesabs
- Ensure always at end - Use tab rather than spaces - Add consistent comment "Pull in optional local configuration - always at end" The only functional change is that a local file which tried to override an existing setting (eg with "no foo") would have failed in some cases before, but now will work
2023-01-26do some cleanupmacallan
the gm driver has been commented out for 20 years, time to remove it while there, remove ofb and the old ADB code which have been commented out since 2007
2023-01-12don't attach on cascaded mpics for now - we don't really use them for anythingmacallan
yet and apparently setup causes problems elsewhere, which needs investigation
2022-12-28one more skiplist entry...macallan
2022-12-28don't complain about mpic and dart not being configuredmacallan
mpic is handled elsewhere, dart is an iommu we don't use yet
2022-12-28suppress 'not configured' message for mpic on G5smacallan
2022-12-28support cascading:macallan
- attach on both /u3 and /u4 - install IPI handling only if we're primary - link to primary PIC if we're cascaded
2022-12-28first step towards MSI support on G5:macallan
- allow both openpic and u3_ht to attach - make sure openpic comes first, if we have both then u3_ht is cascaded
2022-12-18add comment to explain why we zero SPRG0 heremacallan
NFC
2022-12-18#ifdef DEBUG the previous change, it seems to cause trouble on qemu whichmacallan
needs further investigation
2022-12-14Explicitly zero SPRG0 before doing anything else - it's used to store a pointermacallan
to struct cpuinfo, this way we can catch attempts to use it before it's set up properly
2022-10-31s/interrut/interrupt/ and s/accelelerator/accelerator/ in comments.andvar
2022-09-18Eliminate use of IFF_OACTIVE.thorpej
2022-08-13Do not try to create a fake MBR disklabel from the PMBR of a GPT disk.martin
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2022-07-17std.macppc: Nix trailing whitespace.riastradh
2022-07-14default to apple layout for both adb and usb keyboardsmacallan
2022-07-10Fix order of hi / lo halves in the ofw_address_cells == 2 case.thorpej
2022-06-29Use old limit of 32 + 32 bytes to keep combining buffer on stack.mlelstv
There are no devices on this platform that need more and for larger values, the driver should be better rewritten.
2022-06-26cpu_reboot: use cpu_halt_others() instead of a (simple) open codedmartin
version of it.
2022-06-19we also need WSDISPLAY_COMPAT_PCVT and _SYSCONSmacallan
2022-06-15uncomment WSDISPLAY_COMPAT_USLmacallan
while there, add obiofan
2022-06-02check platform-do-*-mute properties to find out the resp. GPIO's polaritymacallan
now this works properly on pmac7,3
2022-06-01Revert previous, the mask is intented to be like sc_output_mask, a bitmaskmartin
of active ports.
2022-06-01In SNAPPER_OUTPUT_SELECT the "mask" is a bitmap of muted outputs, notmartin
active outputs.
2022-06-01Recognize the OF labels used for line output and headphone output on amartin
G5 powermac 7,3.
2022-05-22Sync pseudo devs crypto and swcrypto with GENERICmartin
2022-04-08fix various typos, mainly in comments, but also log messages, docs, game text.andvar
2022-03-28uhidev(9): Get the device and interface through attach args.riastradh
This way uhidev drivers don't need access to uhidev_softc itself for it.
2022-02-22Incllude POWERMAC_G5.local if it existsmartin
2022-02-16powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.riastradh
Otherwise the compiler may reorder these around loads and stores, which mostly defeats the purpose. `asm volatile' just ensures the instruction isn't _deleted_; it may still move around.
2022-02-16macppc: Support *macppc* GENERIC.local, not evbarm GENERIC64.local.riastradh
Managed to fumble with a copypasta error of local commits, and committed the one that didn't work instead of the one that did.
2022-02-16macppc: Support GENERIC.local.riastradh
2022-02-13PR port-macppc/56091: on G5 macs we currently can not easily makemartin
early serial console work, so keep the OF based "failsafe" console but note that we would like to switch over. Once zs attaches, use the new device mapping and do a belated init of the zs console globals, and then switch over to real zs based serial console.
2022-02-11Remove some #ifdef __OpenBSD__ code that's not complete and thus doesn'tthorpej
serve much point in existing here.
2022-02-09fix various typos in comments.andvar
2022-01-22Change the devhandle_from_*() functions to also take a "super handle",thorpej
from which the newly created handle will inherit it's implementation. The root implementation for a new handle type is used if an invalid "super handle" is passed.
2022-01-21Don't bother with devhandle_from_of() if we're just forwarding alongthorpej
our own node; use device_handle(self) instead.
2021-12-26fix various typos, mainly in comments.andvar
2021-09-26Driver "kqfilter" entry points return an error code, so if an invalidthorpej
filter is requested, return EINVAL rather than 1.
2021-09-26Use seltrue_filtops rather than rolling our own with filt_seltrue.thorpej
2021-09-26Change the kqueue filterops::f_isfd field to filterops::f_flags, andthorpej
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD. This does not constitute a functional or ABI change, as the field location and size, and the value placed in that field, are the same as the previous code, but we're bumping __NetBSD_Version__ so 3rd-party module source code can adapt, as needed. NetBSD 9.99.89
2021-09-11Add missing double p and d for stopped and overriden accordingly.andvar
Fix few more typos along the way, mainly in copy-pasted comments.
2021-09-11fix license copypastamacallan
NFC
2021-09-10this driver allows to read the speeds of fans controlled via mac-io/fans/*macallan
found in some G5, for example my 7,3 based on guesswork and observation
2021-09-03switch smu to common fan control codemacallan
2021-08-17fix multiplei repetitive typos in comments, messages and documentation. ↵andvar
mainly because copy paste code big amount of files are affected.