summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev
AgeCommit message (Collapse)Author
2009-03-30bzero pci attach argsMark Kettenis
2009-03-08Fix dmesg output for child devices not configured (e.g. lpt on RAMDISK).Miod Vallat
2009-02-08Make sure than cpu_hardclock() never sets a ``next interrupt value'' which hasMiod Vallat
already been hit by the running timer; this happens very often on oosiop-based machines, due to these machines being among the slowest hppa, and oosiop being interrupt greedy. Unfortunately, when this happened, one had to wait for the timer to wrap, which would take up to 128 seconds on the 33MHz machines. Also, invoke hardclock() as many times as necessary if it turns out that we had to delay the interrupt 1/hz seconds to avoid the aforementioned wrap problem. With help from kettenis@; ok kettenis@
2009-02-06Split sti structures into rom-related information and screen-relatedMiod Vallat
information. This is preliminary work to help eventually supporting the dual-head ELK model. Also split the initialization code in several routines, this makes the code easier to read, and makes it easier to release resources upon failure. Finally, don't forget to clear the text planes on non-console displays when initializing.
2009-02-04On systems with viper memory controllers, always print its revision,Miod Vallat
and allow asp interrupts to pass through even if not revision 0. ok kettenis@
2008-08-24Correct eisa i/o ports layout structure, this has probably been brokenMiod Vallat
when switching from gcc 2.95, if not forever.
2008-07-23Do not rely on an <ichc>invisible cast</ichc> to return failure inMiod Vallat
dino_intr_map(); rather than adding the missing cast, make the intent of the code clearer by explicitenly testing for PCI_INTERRUPT_LINE being ff. While there, enable the out-of-extent-range checks in dino_memmap() and dino_memalloc() even if no option DEBUG, but return failure instead of panicing. discussed with and ok kettenis@ marco@
2008-04-27Add gecko(4), a driver for the GeckoBOA BC GSC+ port.Mark Kettenis
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2007-12-29Skip LBC on buswalk. Gets rid of unconfigured "Bus Converter Port" devicesMark Kettenis
on machines like the C360.
2007-12-28Add a few more K-class models to the list of machines that have more devicesMark Kettenis
than PDC tells us about.
2007-12-21Add a hack to discover all devices on (some) K-class servers.Mark Kettenis
2007-10-06Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,Kenneth R Westerback
otherwise just adding M_ZERO to malloc() and removing the immediately adjacent memset(,0,).
2007-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-15[fF]uther -> [fF]urther in comments and man page. First one spotted onKenneth R Westerback
tech@ by Jung.
2007-08-28Implement bus_space_vaddr().Mark Kettenis
ok marco@
2007-08-23Look for STI firmware at the additional address given by the firmware. ThisMark Kettenis
removes the need for the hardcoded address for the internal Visualize EG on the B180L, and makes it work on the C180. Tested on a handful of other models too. ok miod@
2007-08-05Add support for Zalon NCR 53C720 FW SCSI.Mark Kettenis
input from mickey and miod@, dok martin@,
2007-07-22Move hppa to __HAVE_TIMECOUNTERS.Mark Kettenis
2007-07-20Make lcd(4) "blink" when machdep.led_blink is set.Mark Kettenis
2007-07-15lcd(4); a driver for the front panel LCD display found on the four-digitMark Kettenis
B/C/J-class workstations, and many server systems. This is still work in progress; for now it only displays that the machine is running OpenBSD. Not enabled yet.
2007-07-15Delay switching to the real serial console until we attach the serial device.Mark Kettenis
The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@
2007-07-05Print offset and irq for devices that attach to ssio(4).Mark Kettenis
2007-07-03Mark ukbd(4) as console keyboard when appropriate.Mark Kettenis
2007-07-01Correctly count interrupts for devices that share interrupts.Mark Kettenis
2007-07-01Reset PDC devices before enabling iova space if we're not on a serial console.Mark Kettenis
Makes glass console on four-digit B/C/J-class systems work.
2007-07-01Add a few more registers.Mark Kettenis
2007-06-30Bump number of supported interrupt routing entries.Mark Kettenis
2007-06-26Switch associated pciide(4) into native mode, and route its interruptMark Kettenis
appropriately. Make it use irq 5, and rewire lpt(4) to irq 7. ok deraadt@
2007-06-24Attach as console when appropriate.Mark Kettenis
2007-06-20Add file such that a kernel with lpt at ssio actually compiles.Mark Kettenis
2007-06-20lpt at ssioMark Kettenis
2007-06-19com at ssioMark Kettenis
2007-06-19Add ssio(4), a driver for the castrated National Semiconductor PC87560Mark Kettenis
Sucky SuperIO chip. For now it only provides support for the i8259-compatible PICs on the chip, but that support is necessary to make USB interrupts work.
2007-06-18Lookup interrupt routing info based on elroy(4) bus number.Mark Kettenis
Fix and simplify debug code that prints the interrupt routing info while I'm there.
2007-06-17Get interrupt information from PDC and use it to program the IO SAPIC.Mark Kettenis
Needed to make edge triggered interrupts work.
2007-06-16astro(4)'s iommu does cache-coherent DMA.Mark Kettenis
2007-06-16Add a few more registers.Mark Kettenis
2007-05-27Dynamically allocate irq's for pci devices on elroy(4).Mark Kettenis
ok martin@
2007-05-26tyopsMiod Vallat
2007-05-23Add hack to prevent switching to serial console on four-digit B/C/J classMark Kettenis
workstations. This makes these machines actually boot. ok miod@
2007-05-23Add proper bus_space_vaddr() implementation.Mark Kettenis
ok miod@
2007-05-21Import code to support the Elroy chip from hppa64 and make it actually work.Mark Kettenis
Still a bit of a hack, but it makes the onboard devices work.
2007-05-21Make iommu_dvmamap_unload cleanup properly.Mark Kettenis
2007-05-21Initial stab at a driver for the Astro chip. Mostly IOMMU code to handleMark Kettenis
coherent DMA.
2007-05-18Fix io space access.Mark Kettenis
tested by krw@, miod@, ok deraadt@
2007-05-18regenMark Kettenis
2007-05-18Add IDs for 8700/pcxw2 cpu and fpu.Mark Kettenis
2007-05-10evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵Theo de Raadt
years ago; ok miod