summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2006-11-25Initial USB device controller (UDC) and USB CDC Ethernet function supportUwe Stuehler
for PXA27x/Zaurus, not enabled yet; for dlg and dale :)
2006-11-15Move tests for curpcb being NULL in copy{in,out}str() from DIAGNOSTIC toMiod Vallat
DEBUG - this never happens anyway.
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-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-21We have a pointer (pp), so use it in the DOSPTYP_UNUSED case ratherKenneth R Westerback
than lp->d_partitions[8+n++]. All other cases already use the pointer. No functional change.
2006-10-20Try again with local variable to avoid alignment issues.Kenneth R Westerback
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@"
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-18back out disksubr changes ... since they violate strict alignment onTheo de Raadt
some architectures (kaboom); that will be fixed in the next iteration hopefully!
2006-10-17The dosparts member of cpu_disklabel was not used for any persistantKenneth R Westerback
data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@
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