summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2006-12-18Activate mbg(4).Marc Balmer
ok deraadt
2006-12-17Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.Miod Vallat
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-14Add defines for several SPARC-V9 implementations.Mark Kettenis
2006-12-12Fix typo in comment.Mark Kettenis
2006-12-12Use appropriate macros to decode IGN.Mark Kettenis
2006-12-09Do not make sun terminal emulation selected by the wsemul_sun frame bufferMiod Vallat
attribute anymore; remove it and use option WSEMUL_SUN instead, which gets added to all sparc* kernels. While there, do not compile vt100 emulation on sparc* kernels, this saves 16+ KB of text. ok deraadt@
2006-12-03Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it appliesMiod Vallat
to non-console frame buffers as well.
2006-12-02On frame buffers which endianness differs from the host CPU, we can not affordMiod Vallat
using ovbcopy() in the erasecols emulop, as the ovbcopy implementation might do larger-than-byte loads and store, which will not have the expected result if the source and destination addresses are not similarly aligned. Instead, roll our own byte-only ovbcopy() in this case. This is made dependent on a config(8) attribute to avoid bloating platforms which do not need this, thus frame buffers which may set RI_BSWAP in ri_flg need to depend on this attribute. Problem spotted by matthieu@ using tcsh on sparc64 console.
2006-12-02Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to beMiod Vallat
different for sparc{,64} systems.
2006-12-02Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr.Miod Vallat
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
2006-11-26enable mpiDavid Gwynne
2006-11-25add commented out entries for gem@sbusBrad Smith
2006-11-19In sigreturn, report the correct error if copyin() fails; spotted byMiod Vallat
Alexey Dobriyan, thanks!
2006-11-14fix a comment (wording from mark)Jasper Lievisse Adriaanse
ok kettenis
2006-10-27Add a few UltraSPARC-III ASI's.Mark Kettenis
2006-10-25Make sure we actually flush the I-TLB on UltraSPARC-III by doing it fromMark Kettenis
the primary context instead of the secondary context. ok miod@
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-09-28uath(4) works, kind of, sometimes...Theo de Raadt
2006-09-27Add Maxim/Dallas DS2490 USB 1-Wire adapter driver.Alexander Yurchenko
2006-09-27add pgt(4) and acx(4), work in progress.Brad Smith
2006-09-27Add files.onewire to all our USB archs, it will be used soon.Alexander Yurchenko
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-22Dump memory above 4GB correctly.Miod Vallat
2006-09-01Standardize on EFBIG in bus_dmamap_load* if caller is too greedy; I hadMiod Vallat
done this 4.5 years ago already but regressions happened; reminded by a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
2006-08-31Fix handling of 64-bit quantities in Open Firmware's client interface.Mark Kettenis
Spotted by tsi@, and shamelessly stolen from his diff. Fixes several UltraSPARC-III machines wich have more than one memory bank filled. ok deraadt@
2006-08-30we can fit ehci & pci verbose. Much nicer.Theo de Raadt
2006-08-29XXX when we find vgapci devices on a USIII machine, fail to matchTheo de Raadt
(for now, until the bugs are found. USIII machines remain serial-only for now); ok miod
2006-08-27Enable HORRID_III_HACK, but make sure we only disable the data cache onMark Kettenis
UltraSPARC III and up. That way it isn't really that horrid and doesn't really affect UltraSPARC I & II. This gives us a GENERIC that runs on UltraSPARC III. ok deraadt@
2006-08-27Use the correct IGN for the B side of schizo. Makes interrupts actually workMark Kettenis
in the PCI slot of the v210. ok jason@
2006-08-18add ucycom@uhidev and ucom@ucycom on the usb machines (docs are forthcoming)Jason Wright
2006-08-17enable msk(4) in a few more places.Brad Smith
2006-08-17Check d_secpercyl in all readdisklable() functions, and have all ofKenneth R Westerback
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@
2006-08-17(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).Kenneth R Westerback
Makes all FD_BSIZE() defines the same. No object code change.
2006-08-15Allocate as many iommu page lists as necessary to match the size requestMiod Vallat
in bus_dmamap_create() again, but this time add a few extra pages to cope with fragmented data (such as mbufs). Tested by many.
2006-08-14Enable uslcom(4) and uark(4) on all the USB capable archs.Jonathan Gray
2006-08-14enable arc since it works hereDavid Gwynne
2006-08-12Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)Kenneth R Westerback
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
2006-08-11Use d_secperunit rather than 0x1fffffff as the default value forKenneth R Westerback
RAW_PART's p_size. Since d_secperunit is initialized to 0x1fffffff if not specified there should be no need to use the magic number again. And if d_secperunit was specified then that value should be used instead of the magic number. This was already being done for hp300, luna88k, mac68k, mvme68k, mvme88k. Should be a no-op.
2006-08-11For non-console vgafb, force rasops to initialize it as a monochrome resource,Miod Vallat
since we can't program the colormap anyway.
2006-08-11add rum(4) on arches where ural(4) is enabled.Damien Bergamini
rum(4) has been tested on i386 by niallo@ and me and on sparc64 by Pablo Mendez Hernandez so I assume it is endian safe and 64bit clean.
2006-08-10Hookup hw.vendor and hw.product sysctls on sparc64.Gordon Willem Klok
ok dlg@, "looks good" miod@
2006-07-27remove weird floppyboot garbage; ok miodTheo de Raadt
2006-07-27Compile all kernels with -Wstack-usage-larger-than-2047, now that allMiod Vallat
offending code has been taken out and shot. ok deraadt@
2006-07-10Do not blindly enable pci io/mem space.Mark Kettenis
ok deraadt@
2006-07-09*enty->*ently where applicableMiod Vallat