summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
AgeCommit message (Collapse)Author
1997-09-17NETBSD_CURRENT_970916. Lot's just ID changes, since changes don't apply toJason Downs
us. Includes some pmap changes, for which I don't have the original commit message(s) handy.
1997-09-01Thanks go to Jason Downs <downsj@openbsd.org> who virtually handed me thisTodd T. Fries
patch.
1997-08-25Implement LED blinking as a run-time configurable option via the sysctlJason Downs
machdep.led_blink. Rename auxreg.h because we need config to generate one now.
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-08-08Mostly sync to NetBSD-current 970804.Jason Downs
GENERIC currently compiles and runs; some devices (isp) are not complete and not yet enabled.
1997-07-13Sync with the new audio changes.Angelos D. Keromytis
1997-06-25Kill unused variables.Jason Downs
1997-06-25remove unused variableJason Downs
1997-06-24New floppy and auxreg drivers, from NetBSD. fd.c has many changes preserved,Jason Downs
and uses our fdformat interface (same code base as NetBSD, with differently named ioctls, but we have always preserved the names of the original code's authors, unlike NetBSD...)
1997-06-22Fix comment.Jason Downs
1997-06-22Allow powerdown() to be blindly called on machines with no power device.Jason Downs
1997-06-20Fixes OpenBSD PR kernel/230: system kernel sparc, submitted bygrr
russ@madhaus.utcs.utoronto.ca (Russell P. Sutherland). Kernel compile errors when AUDIO_C_HANDLER is defined, due to a syntax error: *(foo->bar)++ is an odd bit of coding.
1997-05-30Inhbit the silly "Insert fileystem floppy" message when booting from floppygrr
and root isn't really going to be mounted on the floppy, i.e. ramdisk...
1997-05-11don't config the floppy on Sun4m's, since the the driver isn't right and ↵grr
doing anything near the floppy blows the system
1997-05-07Turn off si driver's dma by default. Unfortunately, DMA doesn't work.gene
1997-04-02use FDPART(), limit drives to 2 to avoid dev_t problems; ↵Theo de Raadt
grr@shandakor.tharsis.com
1997-04-02clear correct structure, PR#144, grr@shandakor.tharsis.comTheo de Raadt
1996-12-06repair max sectorsTheo de Raadt
1996-12-05mirror isa fd driver in disklabel handlingTheo de Raadt
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-11-06give floppies real partitionsTheo de Raadt
1996-08-13Revert back to Theo's eeprom.h.Jason Downs
1996-08-12repair XDC_HWAIT macro to handle the fact that waithead is nowchuck
unsigned. should fix xdc watchdog timeouts noted in port-sparc by nathanw@mit.edu.
1996-08-12one last fixTheo de Raadt
1996-08-12Missed a couple things and blew something away by accident.Jason Downs
1996-08-12Revert part of that last change; mapdev()/mapiodev() should be done all atJason Downs
once.
1996-08-12Merge revs 1.2 through 1.3: counter, mapiodev.Jason Downs
1996-08-12Merge the rest of our changes; mostly just softc changes in order to supportJason Downs
more devices, more cleanly.
1996-08-11Merge back rev 1.5: always set mouse to B1200.Jason Downs
1996-08-11A couple slight changes, revs 1.1 through 1.3.Jason Downs
1996-08-11Merge back revs 1.2 and 1.3.Jason Downs
1996-08-11Merge back revision 1.2.Jason Downs
1996-08-11Merge back revisions 1.2 through 1.4.Jason Downs
1996-08-11netbsd port, now we merge our changes back inTheo de Raadt
1996-06-21use correct copyrightchuck
1996-06-21sbus glue for "en" ATM device (only works on sun4c due to lack of supportchuck
for IOMMU)
1996-05-05add general ether_ioctl call in net/if_ethersubr.c,Michael Shalayeff
NS,IPX,X.25 special processing is now handled in there. reflect this amazing addition in all the ether ifaces. ppl, pls check the stuff.
1996-03-04Fix two bugs reported by Don Koch <aardvark@poirot.krl.com>(NetBSD PR#216{8,9})chuck
[1] check return value from malloc() for NULL before trying to bzero it. [2] use "=" rather than "|=" when writing to CSR (otherwise you may ACK something you don't mean to!).
1996-02-21minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.cchuck
1996-02-08- moved disk_busy() call from xdstrategy() to xdc_startbuf()chuck
[prevents disk_unbusy panic when disk is loaded (if no free IOPBs, xdstrategy() would queue the buffer for pickup by xdcintr() but xdcintr() would never call disk_busy(). xdc_startbuf() is a better place since all bufs are routed through here] problem detected by girish@dworkin.wustl.edu, diagnosed and corrected by me. - move disk_unbusy() call in xdc_remove_iorq() before the call to XDC_FREE() [don't want to access a data structure that was just put on a free list]
1996-01-31put zs chip register layout here.Theo de Raadt
1996-01-15sync with netbsdTheo de Raadt
1996-01-13 - call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which ischuck
zero since xdcmatch/xycmatch no longer sets it). [if you call mapiodev() with a zero size it will reuse the KVA it returns, swiping the device out from under you!] - make xdc/xyc->iopbase point in the kernels DVMA space rather than at the normal malloc'd KVA. this isn't compatable with sun4m [doesn't have a kernel DVMA space] and will need to be changed later (XXX). - move disk_attach() to before reading the disk label as per Jason. otherwise we are reading into an unallocated buffer (oops!)
1996-01-12we no longer need to add in the offset to the mapped VA to get the correctchuck
device address (bus_tmp, bus_map, and mapiodev now do this for us). also, we handle all our mappings, so don't have obio.c do any for us (i.e. don't set ra->ra_len in xycmatch). nuke uneeded variable in match function.
1996-01-12dmamatch never added in the offset for the dma registers to the VA,chuck
and thus probed the wrong address on the 4/300 (but it worked because it was probing the esp0 registers!). now that bus_tmp() adds the offset in for us [as of obio 1.15] i discoved that a byte access to the dma registers is not allowed. so, i've change probeget to use a word access.
1996-01-12improved handling of mapping of devices who's registers do not reside onchuck
page boundaries: - change bus_tmp() to include the offset from the start of page in the returned KVA [rather than forcing each driver to add it back in individually] - changed bus_map() to include the offset from the start of page in the the returned value if a mapping is found in the PROM's KVA area - clarified a few comments
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1996-01-06one tests code before one commits it. initialize ttymalloc'd struct properly.Theo de Raadt
also with mrg: use B1200 instead of 1200.
1996-01-06by mrg and myself on irc: fix a ttymalloc() memory leak, TIOCM* botchTheo de Raadt
1996-01-05from netbsd; = not ==Theo de Raadt