summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
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-21enable zydTheo de Raadt
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-17swap is partition b, not partition after root (wherever root is definedTheo de Raadt
to be); pr 5256
2006-10-16Fix some more "is is"s. ok otto@.Tom Cosgrove
2006-10-15Enable bce.Marco Peereboom
Sortof ok with grumblings deraadt@
2006-10-12Bump versions to note behaviour change of no longer tryingKenneth R Westerback
to boot from NetBSD partitions. Requested by tom@.
2006-10-12Don't try to boot from a NetBSD MBR partition when no OpenBSD MBRKenneth R Westerback
partition is found. Change error message to 'no OpenBSD partition'.
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-11udcf works here, so add it, ok mblamerHenning Brauer
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-06Enable pgt cardbus.Marcus Glocker
requested by brad@
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-04Zap bad144 bad sector info in disklabels. Sparsely used if at all forKenneth R Westerback
a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried. ok beck@
2006-10-03Cease printing mpbios vendor/version strings on AMD64 as well.Gordon Willem Klok
2006-10-01Adjust for change of fpu control word.Mark Kettenis
ok deraadt@
2006-10-01Switch fpu control word to the hardware default. This makes us use 64-bitMark Kettenis
precision instead of 53-bit precision, giving us proper support for "long double". ok deraadt@
2006-09-27Enable uath, works for me.Alexander Yurchenko
2006-09-27Fix tags file creating by removing unexisting paths.Alexander Yurchenko
2006-09-27Add Maxim/Dallas DS2490 USB 1-Wire adapter driver.Alexander Yurchenko
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-25Martin VĂ©giard <deadbug AT gmail.com> has been kind enough to rescind theGordon Willem Klok
third clause of his license and strike the phrase "All rights reserved", so we can consolidate both license blocks into one. Thanks!
2006-09-19Enable pgt(4) on amd64. Missing entry spotted by brad@.Marcus Glocker
ok deraadt@
2006-09-18boot(8) ``machine memory'' support for > 4G.Marco Pfatschbacher
Convert parser to strtoll(3) and use 64bit printf. With help from mickey@ i386 and amd64 tests by me, alpha test by mickey@ OK mickey@, miod@, 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-29enable arc, ok deraadt@Jolan Luff
2006-08-25Be a little less agressive in declaring the change pending bit stuck, increaseGordon Willem Klok
the number of retries by two orders of magnitude wont affect most systems but will make transitions smoother on marginal ones, if people see "change pending bit stuck" printed to the console after this I would like to hear about it. tested by and ok niallo@
2006-08-24Fix a few more cases where we propogate low level errors to userland.Gordon Willem Klok
found by niallo.
2006-08-24Move d_secpercyl test to after setting default size. Missed in earlierKenneth R Westerback
adjustment of other disksubr.c's.
2006-08-22Same change as on i386: use a case-insensitive comparison when checkingTom Cosgrove
for bogus SMBIOS strings. Fixes identification of millert@'s system.
2006-08-22acx(4) seems to work fine on amd64 here also, so enable it.Jonathan Gray
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-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-14enable bnx(4) on the CD RAMDISKs as well.Brad Smith
ok deraadt@
2006-08-14Enable bnx because we now can run traffic.Marco Peereboom
ok deraadt
2006-08-14Enable uslcom(4) and uark(4) on all the USB capable archs.Jonathan Gray
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-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-03Re-enable IPMI. Tested by beck & ckuethe prompted by deraadtMarco Peereboom
2006-07-31puc@cardbus (only added (commented out) to whom has puc@pci enabled)Michael Shalayeff
tested on puc@pci by fkr and meself on the cardbus. still needs a bit more work but generally works. deraadt@ ok and some input from miod@
2006-07-31Enable an(4) at pci, untested but should work.Jonathan Gray
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@