summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vx.c
AgeCommit message (Collapse)Author
2004-07-30Move evcount structures inside struct intrhand, this makes more sense andMiod Vallat
gives us more counters in the process. Also clean up intrhand structures and usage, especially move them to SLISTs.
2004-07-02Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now.Miod Vallat
2004-07-02Remove unused extra intrhand.Miod Vallat
2004-05-26Define correct EOF and EOL characters in the default firmware termiosMiod Vallat
structure.
2004-05-26Use physical addresses as seen in the A24 MVME332XT address space, thisMiod Vallat
allows the driver to really don't care about its VME address and simplifies some code.
2004-05-25Make bpp_send() return the packet error code when invoked with NOWAIT.Miod Vallat
2004-05-25Make this driver aware of non-1:1 mappings.Miod Vallat
This currently mimcs the existing code, which can be cleaned up further.
2004-04-24Preliminary switch to an mvme88k bus_space world. Not all drivers have beenMiod Vallat
converted yet, and they rely upon some linear mappings provided by bus_space. In order to not impact performance, almost all the bus_space accesses go through macros and inline functions. This currently restricts us to D16 and D32 access modes, which are selected at compilation time. Since there are no plans to support D8 vme devices in the future, this is acceptable for now. This makes the "len" locator for vme devices go away, and allows to simplify some code which was using the pcctwo device, and will now directly access hardware which is known to exist, rather than wait until the device is attached. While there, try to enforce more interrupt vector number checks, since these changes pointed out that dart(4) had been working correctly so far by sheer luck only.
2004-04-16Do not attach if we could not get an interrupt.Miod Vallat
2003-12-27Basic cleaning and KNF; no functional change.Miod Vallat
2003-12-25Provide common D16 vmespace block access functions, instead of vs and vx eachMiod Vallat
rolling their own. Use them more cleverly in vx, in order to get the driver to at least attach and frob chips. Not tested besides multiuser boot (hence ttyflags -a), and checking cu(1) connects. More testing to come once I remember where I have hidden the 332XT transition module...
2003-12-22Correctly handle vme attachments which specify a larger ca_len size thanMiod Vallat
initially expected.
2003-11-09Typos; Jonathan GrayMiod Vallat
2003-10-05Kill vm_offset_t and vm_size_t, in favor of the [pv]addr_t and [pv]size_tMiod Vallat
typedefs.
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2002-04-28Use the prototypes defined via cdev_decl() macros, instead of rolling ourMiod Vallat
own; thus fix a lot of foo_open(), foo_close() and foo_ioctl() prototypes in the process.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-14volatile police.Miod Vallat
2001-12-22Correct badvaddr() usage.Steve Murphree
2001-12-19Introduce brdtyp and change what cputyp means.Steve Murphree
2001-12-16Revert the mvme88k to 20011212. Recent changes had not been merged correctly,Miod Vallat
and I am fed up with dissecting diffs to put back code that disappeared. This will likely be fixed shortly.
2001-12-13Support for MVME197 completed. Fix SPL defs.Steve Murphree
2001-10-28Let 188-only kernels compile.Miod Vallat
2001-08-31I should get more sleep.Miod Vallat
2001-08-31Clean the DDB entry procedure for all console drivers, and honourMiod Vallat
db_console setting.
2001-08-26Add prototypes, fix compilation warnings, random style fixes.Miod Vallat
2001-06-27recieve -> receiveNathan Binkert
2001-06-25cold is in systm nowMichael Shalayeff
2001-03-09kernel will compile with -Werror. Added intr.hSteve Murphree
2001-03-07Fix interrupt handler registration and prototypes.Miod Vallat
While there, some warning hunting.
2001-01-25spellingTodd T. Fries
2001-01-14Complete move to UVM virtual memory system. More header fixes.Steve Murphree
2000-03-26callout.h is goneTheo de Raadt
1999-05-29Added vme bus device drivers. MVME328, MVME376, MVME332Steve Murphree