pk
6a8119ff1d
Sanity check from Matthias Drochner.
1999-01-15 00:26:24 +00:00
abs
4b0a936711
fix void arithmetic
1999-01-13 04:19:08 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
pk
ec34e18063
Don't map sbus `registers' on sun4c (i.e. sbus @ mainbus); it's almost
...
certainly not the control space we want..
1998-09-20 20:08:52 +00:00
pk
0a6347a24d
Provide an error entry point like sbus and memory.
1998-09-19 16:45:43 +00:00
pk
812eb8c1da
Add %b format strings.
1998-09-19 16:44:59 +00:00
pk
25d48215a2
Map Sbus control registers.
1998-09-19 15:49:50 +00:00
pk
8381b55bd7
Add a bunch of SBus control register definitions.
1998-09-19 15:48:55 +00:00
pk
e21c0b3450
Need to cast sbus attach `prom_vaddrs' field.
1998-09-07 07:15:51 +00:00
pk
c4c4e35608
Undo last change (we're passing the address of a pointer here).
1998-09-07 07:11:11 +00:00
eeh
484ce04810
The `address' field from the prom is really an unsigned 32-bit value.
...
Make it so.
1998-09-05 22:29:49 +00:00
eeh
5dc93bd9fe
Remove function naming conflict.
1998-09-05 22:15:51 +00:00
pk
b39d7e33be
Assign my copyrights to TNF.
1998-09-05 15:42:41 +00:00
pk
2c9a80baf4
Assign my copyrights to TNF.
1998-09-05 14:01:08 +00:00
pk
6f2539f8a6
getpropA() => getprop().
1998-08-30 21:26:46 +00:00
pk
fe6b9295a8
Adjust for some small changes in lsi64854 back-end driver.
1998-08-29 21:43:00 +00:00
pk
e4091cb757
Split `esp' driver and DMA engine into separate front-end files.
...
The Sbus front-ends have all been moved to `sys/dev/sbus', while
the `obio' front-ends remain here.
1998-08-29 20:49:35 +00:00
pk
1f0567dd53
Nuke unnecessary header files.
1998-08-29 20:38:38 +00:00
pk
8e0c62893c
Remove cache flush from dma_espintr(); the bus dma routines take care
...
of that now. Hence we no longer need <sparc/cpuvar.h>.
1998-08-28 20:14:36 +00:00
pk
ca868d7da6
Specify our boundary restriction when allocating DMAble memory.
1998-08-28 20:07:52 +00:00
pk
f6a208ce6b
Nuke Dprintf; fix formats.
1998-08-28 08:57:38 +00:00
mrg
82571f5403
move isp sbus attachment to dev/sbus
1998-08-27 11:41:24 +00:00
pk
c6905522d2
These files are no longer used.
1998-08-24 07:23:10 +00:00
pk
66795e62e7
Move sparc_vme_dmamem_map() outside `#ifdef SUN4M'
1998-08-23 10:40:38 +00:00
pk
2a6be00de5
Rename DVMA constants.
1998-08-23 10:05:53 +00:00
pk
666587112f
Use bus_dmamem_{alloc,free} instead of the old VM hack.
1998-08-23 10:04:56 +00:00
pk
f318f15bc3
Convert to [pv]addr_t.
1998-08-21 14:07:37 +00:00
pk
363b678b9e
Flesh out more of the sun4 busdma functions.
1998-08-20 20:46:59 +00:00
augustss
cd09067eb4
* Redo the way the way the MIDI driver attaches to audio devices.
...
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
mycroft
62b1bf3e2e
Assign my copyrights to TNF.
1998-08-15 10:51:16 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
b2827b9d36
Assign copyright to TNF.
1998-08-15 04:16:55 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
mjacob
5ad5bb35af
minor change to make the message less linux like
1998-08-12 00:03:23 +00:00
pk
a0818b4b8b
Use bus_dmamem_alloc/bus_dmamem_map.
1998-07-31 22:21:35 +00:00
pk
519f1f7f0e
Convert to bus dma.
1998-07-31 15:53:11 +00:00
pk
c206cad36e
Convert to bus_dma.
1998-07-31 12:45:48 +00:00
thorpej
ecf815f930
Back out previous; it is perfectly reasonable, and desirable, to print out
...
debugging info ifdef DEBUG.
1998-07-31 02:10:12 +00:00
mjacob
36f9ab27ce
>We're not Linux. If we still want driver version strings to be displayed
...
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
1998-07-31 01:56:49 +00:00
pk
af89712b25
Use bus_dma_*() instead of dvma_mapin/dvma_mapout.
1998-07-30 22:42:04 +00:00
pk
32a5557426
Adapt to changes in the base bus_dma* functions.
1998-07-30 22:29:34 +00:00
pk
741c837f77
Get to DMA map functions through parent tag, instead of calling some base
...
functions directly.
1998-07-30 18:54:06 +00:00
pk
9104b183fa
Lots of things have moved to <dev/sbus/sbusvar.h>
1998-07-29 18:45:57 +00:00
pk
402a052405
Deal with sbus attach args changes.
1998-07-29 18:44:22 +00:00
pk
9e4d2f9b53
Switch to new sbus attach arguments layout.
1998-07-29 18:42:32 +00:00
pk
58d952ce7d
Deal with sbus attch args changes.
...
Use sbus_destroy_attach_args().
1998-07-29 18:37:23 +00:00
pk
426330f642
We no longer need to get the register sets by ourselves.
1998-07-29 18:36:08 +00:00