summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
AgeCommit message (Collapse)Author
2001-11-04hp300spu.h information not needed anymore.Miod Vallat
2001-11-01Change d_mmap in struct cdevsw from:Artur Grabowski
int (*d_mmap) __P((dev_t, int, int)); to: paddr_t (*d_mmap) __P((dev_t, off_t, int)); This allows us to mmap devices past 4GB offsets.
2001-09-23document some registers; copied from comreg.hTodd C. Miller
2001-09-23For serial console, drop into ddb on <break> if ddb.console is nonzeroTodd C. Miller
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-26Nuke annoying defopt, by popular demand. Plus you get two typos fixedMiod Vallat
for free.
2001-08-12this does not seem to require none of the vm headers even and compiles okMichael Shalayeff
2001-08-11redundant includes.Artur Grabowski
2001-06-27recieve -> receiveNathan Binkert
2001-06-27no more old VMArtur Grabowski
2001-06-25cold is in systm nowMichael Shalayeff
2001-05-31Initialize b_dep if we malloc our own struct buf.Artur Grabowski
2001-05-31Initialize bp->b_dep if we malloc our own struct buf.Artur Grabowski
2001-05-11Kill remaining vm_offset_t and vm_size_t; NetBSD used as a guideTodd C. Miller
2001-05-11unifyTheo de Raadt
2001-05-10Don't play with MCR_IEN, it breaks serial console input on the 425e.Todd C. Miller
If it turns out that this causes problems on other 4xx models this can be added back for the non-425e models.
2001-05-10Add missing #include <sys/resourcevar.h> so these can compile.Todd C. Miller
2001-05-10In apciparam() in the ospeed == 0 case, actually set the cfcr to the newTodd C. Miller
value; bad@netbsd.org
2001-05-10Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on everyTodd C. Miller
other 4xx model, and the "not configured" could be pretty annoying. This means we can nuke apcicheckdca() and just key off being a 425e. Also, ia->ia_addr is a physical address, not a kernel virtual address; thorpej@netbsd.org
2001-05-10Some locking protocol fixes and better enforcement of wiring limits.Artur Grabowski
From NetBSD.
2001-05-10When acpi is used as the console, set cn_tab appropriately so that aTodd C. Miller
serial console on the 425e gets attached properly. The hp300 port should really be changed such that drivers don't touch cn_tab themselves but this turns out to be a bit tricky so I'm going to punt on that for now.
2001-05-10Move the timeout_set() call up a bitTodd C. Miller
2001-05-04Substantial update from NetBSD, most notably gives us UVM support; millert@ okAaron Campbell
2001-05-01convert to new timeoutsTodd C. Miller
2001-01-31based on art's sparc patch:Jason Wright
mmap should return -1 on failure, not EOPNOTSUPP. As it was now, an mmap of /dev/mem always returned page 45.
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-07-06Change splsoftclock() call to spllowersoftclock() to conform with otherHakan Olsson
code and keep old behaviour. (art@ ok)
1999-09-18Fix device existance check.Jason Downs
1999-05-28Support the 98543 in GM_DESCRIBE. Pointless, of course, but what the hell.Jason Downs
1998-10-04Add DIOCGPDINFO supportTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
implement an ioctl to get a spoofed label even for disks that have a label on them.
1998-09-16o if_media'fied am7990Jason Wright
o if_media'fied sun4m le.
1998-08-04fix resid wrt debugging printfTodd C. Miller
1998-07-19do not force single if rd rootTheo de Raadt
1998-05-07don't clear *_WLABEL on close so 'disklabel -W' is persistent like in the ↵Todd C. Miller
generic scsi system
1998-05-02If computed value for d_nsectors truncated to 0, set it to 32 andTodd C. Miller
adjust d_ncylinders instead of just setting d_nsectors to 1 (which is not useful for putting a filesystem on a device).
1998-05-02Fix problem with zip drive correctly this time. The real deal isTodd C. Miller
that the hp300 scsi subsystem does not glean d_secpercyl from the device so we have to calculate a reasonable value. In the case of a zip drive, the calculated value gets truncated to zero. This change adds a sanity check and forces the calculated d_secpercyl to be >= 1. Also includes some minor code reorg.
1998-04-30Only use scsi geometry to fake up a label if we were able to getTodd C. Miller
the capacity. Fixes a panic with fictitious labels on zip drives.
1998-04-25set d_bbsize and d_sbsize in spoofed label to values correct for ffsTodd C. Miller
1998-03-27fictious disklabels for hpib disks we have in the table.Todd C. Miller
1998-03-27fictitious disklabels for scsi disksTodd C. Miller
1998-03-15please gcc 2.8.1 #ifdef DEBUGTodd C. Miller
1998-03-06Keep gcc from addint an implicit memset() behind our back. ThanksTodd C. Miller
to Niklas and Theo for help in tracking down what was going on.
1998-03-06Please gcc 2.8Todd C. Miller
1998-03-06please gcc 2.8Todd C. Miller
1997-10-06Set da_id to DIO_DEVICE_ID_IHPIB if this is an internal hpib controller.Todd C. Miller
Prevents nhpib0 from getting probed as dca1 on an hp400.
1997-09-14callout support sync, from Theo.Jason Downs
1997-08-08Initialize hwreset.Jason Downs
1997-07-14cua devices for all!Jason Downs