summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
AgeCommit message (Collapse)Author
2007-02-06Get memory size from SH-IPL+g whenever possible, before relying upon theMiod Vallat
hardcoded 64MB. No functional change since we have not encountered non-64MB systems yet.
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur Grabowski
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok
2007-02-03Don't spoof an msdosfs partition if it claims to start after the endKenneth R Westerback
of the disk. Fixes the creation of spurious 'i' partitions on new iPod Shuffle. And other devices with no MBR, just a FAT32 filesystem. Pointed out most recently by Stephan A. Rickauer for his sixth generation, clip-on iPod shuffle. Fix tested by Stephan. ok pedro@ tom@ miod@ 'nice' deraadt@
2007-02-03There is no good reason to disable half of the 7751 cache, so don't.Miod Vallat
2007-01-15power(4) driver for the power switch on many landisk models, hookedMartin Reindl
up to machdep.kbdreset; modelled after the sparc64 power(4) driver discussed with miod@ and jsg@
2006-12-18fix device names and typos in commentsMartin Reindl
2006-12-18force wd at pciide down to PIO mode 4 (yuck) until some DMA issues areMartin Reindl
sorted out. makes the px-ehs much more happier. ok jsg@
2006-11-21Define IPL_SCHED.Miod Vallat
2006-11-21splassert support.Miod Vallat
2006-11-21Don't bother using _cpu_intr_raise() for splhigh(), use _cpu_intr_suspend().Miod Vallat
2006-11-21Use _cpu_intr_resume() instead of splx() for consistency. No functional change.Miod Vallat
2006-11-20Enable support for audio on landisk.Dale Rahn
2006-11-20goodbye splserial, hello splaudio.Dale Rahn
2006-11-16crank versionTheo de Raadt
2006-11-16use teeny little delays as we clock the rtc, makes the boot code noticeTheo de Raadt
that time is ticking, so it can timeout properly
2006-11-16initialize tick timerTheo de Raadt
2006-11-16add a few more PHY necessary for the USB Ethernet interfaces.Brad Smith
ok deraadt@
2006-11-12$OBJCOPY is not defined by sys.mk yetTheo de Raadt
2006-11-11reloc.h is included via machine/reloc.h so it should be accessable here.Dale Rahn
2006-11-10Remove unnecessary failure printf. That's what nonzero return codes are for.Miod Vallat
2006-11-09add a solid compliment of usb devicesTheo de Raadt
2006-11-09tweaks;Jason McIntyre
2006-11-09no newline at end of cpu_modelTheo de Raadt
2006-11-08Implement interrupt counters (better)Dale Rahn
2006-11-08OBJCOPY should default to objcopy.Dale Rahn
2006-11-08fix LINKSTheo de Raadt
2006-11-08this is actually a primary bootblock (xxboot) not a secondary bootblockTheo de Raadt
(bootxx) thus disklabel -B will automatically pick it up now; ok drahn
2006-11-07remove wdc debugDale Rahn
2006-11-06root on wd0a for now.Miod Vallat
2006-11-06Don't ask for root device if boot device is not known but root configurationMiod Vallat
has been specified in the kernel configuration file.
2006-11-06No bootinfo stuff. We'll use something different to pass device informationMiod Vallat
from the boot blocks to the kernel.
2006-11-06Root device machinery. Boot device is still not known yet.Miod Vallat
2006-11-03cleanup some devicesMichael Shalayeff
2006-11-03add scifMichael Shalayeff
2006-11-03need an entry for scifMichael Shalayeff
2006-10-31Do not map obio mappings twice.Miod Vallat
2006-10-29These printfs appear unnecessary now that the cache is disabled.Dale Rahn
2006-10-29Disable cache before jumping into the kernel, makes bootloader more reliable.Dale Rahn
ok miod@
2006-10-29Remove redundant if (msg) {} block around invocations ofKenneth R Westerback
iso_disklabelspoof() and udf_disklabelspoof(). Use (msg && iso_disklabelspoof()) instead. Makes more arch's textually consistant. No functional change.
2006-10-28We don't currently write a disklabel into an OpenBSD ('A6') DOS MBRKenneth R Westerback
extended partition except on alpha, hppa, hppa64 and mips64. So don't spoof extended partitions as 'a' and try to read a disklabel from them. Make all archs consistant. When we can boot from extended partitions we can change to reading and writing disklabels from them. This means the first OpenBSD ('A6') extended partition will now be ignored during spoofing, just as subsequent ones have always been. Feedback from tom@, weingart@ and deraadt@.
2006-10-28Make this work.Mark Kettenis
With help from drahn@ and mickey@.
2006-10-25Add ramdisk hooks portion.Dale Rahn
2006-10-25Ramdisk kernel generated from GENERICDale Rahn
2006-10-25make majors reflect reality.Dale Rahn
2006-10-23Move towards winter.Miod Vallat
2006-10-23Correctly invoke sh_clock_init() [merge error]Miod Vallat
2006-10-23Attach shb before shpcic, to get us a clock earlier.Miod Vallat
2006-10-21Don't try to spoof 0 length DOS MBR/EBR partitions. By skippingKenneth R Westerback
partitions with 0 in the length field we don't need to test for and skip partitions that are all zeros. Eliminating that code allows elimination of a local pointer. "0 length partitions are definately dead" deraadt@
2006-10-21Some KNF cleanup.Kenneth R Westerback
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change.
2006-10-21Do not pass down IOBASEUNK/MADDRUNK/IRQUNK.Mark Kettenis
ok miod@, drahn@