summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc
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-10-03Don't load bad144 bad sector information into disklabels for archs thatKenneth R Westerback
don't have wd* in GENERIC, since wd* is the only place such info is being used. First step of eliminating bad144 bad sector info from all disklabels. 'go go go' deraadt@
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-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-13Remove remains of cut'n'paste from ffs code.Miod Vallat
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-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-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-30Old typos bite the dust.Miod Vallat
2006-06-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-06-01Right at the end of a debug kernel build, the current Makefile copies bsdChristopher Pascoe
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the file with symbols, and then asks strip to output the stripped version as bsd. Avoids a potentially lengthy wait when we would otherwise copy the large (50MB+) kernel with debug symbols. ok reyk@ ketennis@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-12IPL_IMP -> IPL_VMBrad Smith
ok drahn@
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-22'spoofonly' does not mean what I thought it meant. The whole point isKenneth R Westerback
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@
2005-12-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
2005-11-24Remove kernfs, okay deraadt@.Pedro Martelletto
2005-11-07remove vtophys() on *ppc.Brad Smith
ok drahn@
2005-10-26Mach-macro wipeoutMartin Reindl
'do it' deraadt@
2005-09-27Don't try to read the DOS label from the device if spoofonly is 1.Kenneth R Westerback
This changes the architectures which use code identical to the amd64 disksubr.c. macppc seems different so it will be separate. The remaining archs don't try to read a DOS label. ok deraadt@
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-08-03missing safte/ses/scsibus piecesMartin Reindl
discussed with dlg@, ok deraadt@
2005-08-02Save floating point context on signals, same diff as macppcDale Rahn
2005-05-27first step of removing the obsolete PCI ncr(4) driver, it was superseded byMartin Reindl
siop(4) a long time ago 'do it' jason@
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-06Add tags to mvmeppc.Marco Peereboom
<miod> commit your stuff. <miod> make tags work.
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30nice docs at top of GENERICTheo de Raadt
2005-04-21correct idiom for snprintf failure handling; ok beckTheo de Raadt
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-07Remove spurious -L for /usr/include in INCLUDES defn. ok miod@Ian Darwin
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-19Be more conservative in openpic_enable_irq() and only reprogram the vectorMiod Vallat
register if it changes.
2004-11-19Better Raven PREP initialization, per the book, with an evil book mistakeMiod Vallat
corrected.
2004-11-19Better i8259 slave handling:Miod Vallat
- check for spurious interrupt conditions. - do not ack the slave irq on the master unless there are really no more interrupts to be serviced on the slave.
2004-11-19More aggressive strip flags for non debug kernels; this is a noop on someMiod Vallat
architectures, but saves a few dozen KB on alpha and ppc. ok deraadt@
2004-11-18Tell MVME2600 and MVME2700 apart.Miod Vallat
2004-11-18Feature sync with macppcMiod Vallat
2004-11-17Enable interrupts after autoconf.Miod Vallat
2004-11-17Remove dead or unused code; minor syncs with macppc code.Miod Vallat