summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
AgeCommit message (Collapse)Author
2006-08-12Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)Kenneth R Westerback
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
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-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-20regenMichael Shalayeff
2006-07-20regenMichael Shalayeff
2006-07-11syncMichael Shalayeff
2006-07-09DISKLABEL_ALL was never used in hppa, hppa64, mips64 config files soKenneth R Westerback
just eliminate the check to set DISKLABEL_I386 with it. If you want DISKLABEL_I386, use that option.
2006-07-07Unroll DLT_* logic into simple 'look for native disklabel, then tryKenneth R Westerback
DOS MBR' logic. Leave DOS MBR logic inside #if defined(DISKLABEL_I386) blocks until impact on install media can be evaluated. Eliminates most remnants of cross-endian, cross-architecture disklabel processing attempts. Fix some mips64 issues with last commit, found by kettenis@. No functional change.
2006-07-03Eliminate most of the #if/#endif maze in alpha, hppa, hppa64, and mips64Kenneth R Westerback
disklabel code that was intended to support cross-endian and cross-architecture use of disklabels. Never actually used except for Alpha<->Amiga moves that now can't happen anyway. Leave native and DOS MBR disklabel code. Tested on alpha and hppa. No functional change.
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-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-06-19Zap Amiga bits of disklabel.h now that Amiga bits of readdisklabel() areKenneth R Westerback
gone. 'go ahead' deraadt@
2006-06-16enable mpi.Marco Peereboom
Who says we don't need U320 SCSI on hppa? Cookie for dlg! ok deraadt dlg
2006-06-11Amiga is no longer amoung us. Some architectures were too sentimentalKenneth R Westerback
to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures. mips64 compile tested by miod@ "whack away" deraadt@ "my amiga runs 3.2" niklas@
2006-06-04Shrink VM_PHYSSEG_MAX to 1 on platforms where physical memory is contiguousMiod Vallat
and there is only one call to uvm_page_physload().
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-05-29Regen (although this does not change anything for these keyboards).Miod Vallat
2006-05-29allow ints for older asp; found on 710 @session; tested on 710, 715/33 ↵Michael Shalayeff
(miod), 735/125 (graham gower)
2006-05-28minor nit, use CPU ID instead of FPU ID for BTLB parameters after passingMartin Reindl
all kludges
2006-05-20do not even match on unsupported hw (instead of return from attach); from 710Michael Shalayeff
2006-04-16Introduce sti_rom_size() which will compute the size of a card's rom, andMiod Vallat
use it instead of duplicating the same logic in 3 places. ok mickey@
2006-04-15make warning about missing HPT support DEBUG for nowMartin Reindl
ok mickey@
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-04-05Enable an(4) on BE archs now that it works.Kurt Miller
2006-04-01Revert previous commit, this causes sti1 probe to hang on some models.Miod Vallat
2006-03-27regenMichael Shalayeff
2006-03-27typoMichael Shalayeff
2006-03-24hppa has CardBus and USB as well so add umsm(4).Jonathan Gray
Pointed out by mickey.
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-15Correct checks against cd_ndevs - valid numbers are strictly inferior toMiod Vallat
cd_ndevs.
2006-03-13* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set toBrad Smith
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@
2006-03-12remove splimp.Brad Smith
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-11hotplug(4) and hotplugd(8) hereMartin Reindl
2006-01-10The __CONCAT macro here collides with the one in cdefs.h pulled in viaMartin Reindl
errno.h. Don't include errno.h and export EFAULT therefore. looks good miod@
2006-01-09Disable an(4) on BE archs until it works.Jonathan Gray
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
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-31Nuke unused cdev_wscons_init() macro.Miod Vallat
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-25KERN_RESOURCE_SHORTAGE -> ENOMEMMiod Vallat
2005-12-22Postpone the hil console detection logic to the first detection of a keyboard.Miod Vallat
On hp300, hil would claim console against dnkbd if no dnkbd was found at the time the loop is probed, even if the loop is empty. Because of this, plugging dnkbd later would not select it as console keyboard, which is really annoying on kernels without wsmux, such as hp300 RAMDISK. Now the first keyboard plugged will become the console keyboard, whatever its type. No functional change on hppa, since the console path gives a definite console device setting.