summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2006-10-12Since we no longer look in FreeBSD or NetBSD partitions for theKenneth R Westerback
disklabel, we shouldn't write the disklabel in such partitions either. Brings amd64, arm, i386, landisk, macppc, mvmeppc (which roll their own MBR search in writedisklabel()) into line with alpha, hppa, hppa64, mips64 (which use readdoslabel() in both reading and writing the disklabel). If all goes well, soon everyone will be using readdoslabel().
2006-10-10Don't spoof a Free/NetBSD MBR partition as the 'a' partition in aKenneth R Westerback
disklabel. Fixes 'double spoofing' of these partitions as both 'a' and something in the 'i' to 'p' range. OpenBSD changed its MBR partition type to 'A6' eight years ago. As a backward compatibility measure NetBSD and FreeBSD MBR partitions were still spoofed as 'a' partitions when no OpenBSD partition could be found. This bit of backward compatibility is no longer required. 'we can get rid of it' deraadt@
2006-10-04Try to nail elusive arm/include/disklabel.h at third attempt.Kenneth R Westerback
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-10-02One <arm/exec.h> to bind them all.Miod Vallat
2006-09-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
r1.54 of i386/disksubr.c). The check incorrectly handled extended partitions. Possibly a symptom of a deeper problem with extended partition offsets that will be addressed post-4.0. Problem reported/fix tested by A. Velichinsky, cause diagnosed by otto@. ok pedro@ mickey@ miod@ deraadt@
2006-08-24missing newline in a printfTheo de Raadt
2006-08-20When spoofing an MSDOS disklabel, don't create partitions with a finalKenneth R Westerback
block past d_secperunit. Fixes devices where bogus partitions with a starting offset > d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS. ok pedro@
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-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-07-28Make option USER_PCICONF work.Mark Kettenis
ok drahn@
2006-07-20Get rid of the 'nextevent out of bounds' error message, if interruptsDale Rahn
are held off for too long, allow the system to continue running, even if time is lost.
2006-07-16Contrary to where this was stolen from, arm does indeed needDale Rahn
BUS_DMASYNC_POSTREAD implemented otherwise the old device state may still be present in the cache. Allows em(4) to work _much_ better on iodata.
2006-07-12Remove commented out defopt goo.Miod Vallat
2006-07-12Turn GetCPSR() into an inline get_cpsr(), and remove more dead code.Miod Vallat
2006-07-12Orphaned stuff.Miod Vallat
2006-07-10Remove the error_cnt cacluation, this only makes sense when the suppliedDale Rahn
clock speed is extrememly accurate and not evenly divisible. Both of which is not true on armish.
2006-07-10As pointed out by miod, cpu_initclocks() can use setstatclockrate(), theDale Rahn
spl() is unnecessary. Also cleanup the extra print and dont bother counting 'tick' interrupts since clock and stat counters exist.
2006-07-10Adding missing $OpenBSD$ tags, pointed out by miod.Dale Rahn
2006-07-02count interrupts (uvmexp).Dale Rahn
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start. No functional change.
2006-06-27Rewritten clock driver for 80219/80321, actually manages seperate statDale Rahn
clock and tick timer and detects missing ticks.
2006-06-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-06-19Close a race in the interrupt handler code.Dale Rahn
Inline functions when it makes sense.
2006-06-17Fix error where soft irq mask was not initialized for IPL_HIGH, and cleanup.Dale Rahn
2006-06-15rewritten, simplifed interrupt controller for 80321, half the linesDale Rahn
and much less complex. IPL_SERIAL goes at the same time.
2006-06-15Ricoh rtc support for armish, driver from netbsd.Dale Rahn
2006-06-10I2C support for 80321/80219Dale Rahn
2006-06-02cleanup, move thecus board_reset from MI arm/xscale into armish dir.Dale Rahn
2006-06-01After changing J3 to J4 on the thecus board, serial interrupts work justDale Rahn
fine (on XINT1), so remove the poll console hacks and rewire the com irq to the correct value for thecus.
2006-06-01Splraise is strictly to increase spl, do not lower.Dale Rahn
2006-06-01current_ipl_level is a value, not a mask, do not '|=' into it.Dale Rahn
2006-06-01Just say NO to noisy dmesg.Dale Rahn
2006-06-01IO addresses will always be in the right range, this check is wrong.Dale Rahn
2006-05-31correctly perform bus base/physical addr translation.Dale Rahn
2006-05-30Remove dead toes.Miod Vallat
2006-05-29Tags.Dale Rahn
2006-05-29Add support for i80321 based systems.Dale Rahn
2006-05-27Nuke defopt remains. Tested on cats and zaurus.Miod Vallat
2006-05-26<machine/rtc.h> is really only footbridge-specific, so, after pruning it fromMiod Vallat
dead meat, move the remainding definition to footbridge todclockvar where it belongs, and get rid of the installed header file. No change on Zaurus (besides the include removal), no functional change on cats.
2006-05-26Remove unused defines.Miod Vallat
2006-05-26Add RCS id.Miod Vallat
2006-05-26No md math.h in OpenBSDMiod Vallat
2006-05-26No need to have a struct uvm_object in each pmap when all you want is aMiod Vallat
lock and a reference count. No functional change.
2006-05-26Get rid of katelib.h, it was almost unused and is marked as deprecated anyway.Miod Vallat
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-04-04Add input routines to the i2s layer to support future Zaurus audio input.Christopher Pascoe
ok robert@
2006-04-04Add pxa2x0_dma_from_fifo to support DMA from internal peripheral FIFOsChristopher Pascoe
to memory. ok robert@
2006-04-04Abort any DMA that is in progress before changing the DMA completion handler,Christopher Pascoe
not after.
2006-04-04Configure the I2S controller's GPIOs, not than the USB's.Christopher Pascoe
tested robert@