summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
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
2006-07-06Make sure we alter ddb variables as ints, not longs; only matters on 64 bitMiod Vallat
platforms.
2006-07-06Make dummy $g0 in ddb the right size.Miod Vallat
2006-07-04disable alipm until someone can find this spurious bug, which happens mostTheo de Raadt
often on the x1, and is really bizzare: data error type 32 sfsr=0 sfva=43caa000 afsr=84000000 afva=1fe02004000 tf=0x18e999c0 data fault: pc=1314578 addr=43caa000 sfsr=0 alipm_smb_exec(2389200, 1, 18, 0, 1, 18e99d4e) at alipm_smb_exec+0x258
2006-07-02get rid of an unused variable.David Gwynne
ok deraadt@
2006-07-01Cleanup dmesg printing.Mark Kettenis
2006-07-01one more dmesg tweakTheo de Raadt
2006-07-01clean dmesg output for iommu more; tested miod dlgTheo de Raadt
2006-07-01Make probeget() and related code in trap.c #ifdef DDBMiod Vallat
2006-07-01Add PMAP_LITTLE to the list of forbidden pa bits in pmap_kenter_pa().Miod Vallat
2006-07-01Provide our own alloc_attr() routine for sun frame buffer, since the computationMiod Vallat
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white).
2006-07-01Make sure we don't accidentally match one of the unused PCI error interruptsMark Kettenis
instead the interrupt for PCI slot 0. ok dlg@
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Some machines lack the virtual-dma property. In that case, go backTheo de Raadt
to the 128KB assumption, until we find out another way to determine the space. Damn.
2006-06-29Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breakingMark Kettenis
it again. ok miod@, jason@
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29try prom mapping first, then memory mapping, then io mapping.. this worksTheo de Raadt
on v210 and on netra t1 105, good sign it will work on others. mechanism pointed out by miod, tested by dlg and djm and I
2006-06-28cleanup dmesg logging for iommu goo, make it follow the standard formTheo de Raadt
2006-06-28look at "virtual-dma" property to decide where the iommu address spaceTheo de Raadt
is, instead of having iommu_init() decide
2006-06-28keep track of what is a schizo and what is tomatilloTheo de Raadt
2006-06-27Fix interrupt mapping. This now seems to work on all machines, even withMark Kettenis
pci cards that have a pci-pci bridge and lack fcode. tested by many, ok jason@, dlg@
2006-06-27pull in files.gpio in case we want itTheo de Raadt