isaki
c78a609db3
Support slinear8, slinear16_le, slinear16_be.
2002-04-07 14:52:27 +00:00
bouyer
e5727031fb
Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
...
to convert xs->timeout to callout() parameter.
2002-04-05 18:27:45 +00:00
isaki
677cd20c7f
initialize codec variables every open().
2002-04-02 15:22:37 +00:00
isaki
d4e117205d
set factor=1/2 even if recording.
2002-03-26 15:05:29 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
isaki
81b3e9fb81
Fix mis-increment bug in converter msm6258_ulinear8_to_adpcm().
...
This fix needs factor_denom.
2002-03-16 09:00:42 +00:00
isaki
81fa322c19
Add another address, vector configuration of Nereid ethernet.
2002-01-14 04:25:47 +00:00
wiz
5514d0b117
bcopy/bcmp/bzero -> memcpy/memcmp/memset
2001-12-27 02:23:24 +00:00
minoura
7a7e9cfe7b
Implement bus_dmamap_sync properly.
...
dma_cachectl is now used only for DMAC array chain.
2001-12-19 14:53:26 +00:00
minoura
4ee42d6a56
Ooops, previous commit removed an important line unintentionally.
2001-12-04 15:21:28 +00:00
minoura
bbfb453233
Remove unused variables.
...
Correct printf format strings.
2001-11-25 16:00:05 +00:00
minoura
fe68996902
Previous commit was incomplete.
2001-11-25 15:45:26 +00:00
minoura
e8ac9084a2
Make this file compile again.
2001-11-25 15:43:06 +00:00
minoura
f7b4b90acd
Avoid using array chaining mode of DMAC.
2001-11-25 00:38:50 +00:00
isaki
2108a5c977
Rewrite vs_query_encoding() using array.
2001-11-13 09:27:06 +00:00
isaki
c2e9ead40b
Clean up debug messages. Separate it two debug levels.
2001-11-13 09:06:00 +00:00
isaki
85e2e11f39
Support an ethernet part of Nereid.
...
Nereid is the board of ethernet/USB/memory for X68k
developed by X-PowerStation, a japanese X68k circle.
See http://xps.jp/ but only written in japanese.
2001-11-11 01:39:02 +00:00
isaki
20d2e2f7e8
Support BUS_SPACE_MAP_SHIFTED_EVEN for bus_space_map().
...
Now BUS_SPACE_MAP_SHIFTED means BUS_SPACE_MAP_SHIFTED_ODD.
It is needed for Nereid Ethernet.
2001-11-11 01:38:00 +00:00
tsutsui
064be15283
Use common macro to check message length.
2001-11-04 12:03:41 +00:00
isaki
3c63a64cab
Change 3 glyphs according to SRAM flags (0xed0059),
...
when ITELOADFONT ioctl is issued.
2001-10-21 03:46:30 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
mrg
e309f80412
remove bogus comment. noted by Tetsuya Isaki <isaki@par.odn.ne.jp> in private email.
2001-08-26 12:14:22 +00:00
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
minoura
2d8c98280c
Cleanup. Addresses port-x68k/13051.
2001-05-28 06:18:20 +00:00
minoura
d0403f9f11
Add missing line in recording. Copy & paste error...
2001-05-27 05:30:02 +00:00
minoura
cbfe174737
Reset dx_nextoff and dx_nextsize before transfer.
2001-05-27 02:18:07 +00:00
minoura
423279efd8
Honor rtc_offset.
2001-05-26 21:32:30 +00:00
minoura
d5d0b41422
Reset the status register after abort.
2001-05-22 00:16:49 +00:00
minoura
8809460317
Correct ring buffer handling in recording. From Isaki-san.
2001-05-22 00:15:54 +00:00
minoura
4bff72882b
Missings from the previous commit.
...
From Izaki-san.
2001-05-15 09:10:05 +00:00
minoura
0bb85c4922
Encoding ulinear and mulaw are both software emulated.
...
From Isaki-san.
2001-05-07 09:42:30 +00:00
minoura
c9c82d303a
Use cdev_decl for prototype declarations (port-x68k/12829, thanks to scw
...
for suggestion).
Add static to some non-external functions.
2001-05-05 01:52:56 +00:00
minoura
58b62ea0cf
Correct playing mu-law and linear.
2001-05-03 02:09:11 +00:00
minoura
3e3968872c
Remove old obsolete audio driver.
2001-05-02 13:24:52 +00:00
minoura
b2cec36854
X68k built-in voice synthesizer.
2001-05-02 13:00:19 +00:00
minoura
f4b1b4cef9
Do not use constants, but macros.
2001-05-02 12:50:24 +00:00
minoura
47d22455b3
Disable array chain mode by default, since it is unused by any of
...
the current devices.
Add more flexibility in the API.
2001-05-02 12:48:24 +00:00
scw
2963ff5c58
Add l_poll' to
struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
minoura
fc97cb8a94
Correct memory leak.
...
Use single block transfer when appropriate.
2001-04-30 05:47:31 +00:00
bouyer
937a7a3ed9
Pull up the thorpej_scsipi branch to main branch.
...
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
minoura
daa78d567e
Make this compile again.
2001-02-21 05:44:32 +00:00
thorpej
043e519d55
Adjust the way that media is initialized on DP8390-compatible
...
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
itohy
f3590c636b
Make it compile with "options DIAGNOSTIC" (patch from minoura).
2001-01-15 07:04:41 +00:00
minoura
b2bcd7ceb9
Use MI clock_subr.c.
2001-01-11 16:09:42 +00:00
minoura
8a3a316883
Do not range_test() unless DIAGNOSTIC.
...
Suggested by Tetsuya Isaki <isaki@v6.ipc.hiroshima-u.ac.jp>.
2001-01-09 11:38:32 +00:00
minoura
cd4d6511c8
Correct `Year 2001 problem'.
...
Pointed out by Okamoto Kohichi <GHG03305@nifty.ne.jp> and
URA Hiroshi <ura@hiru.aoba.yokohama.jp>.
2001-01-04 06:45:18 +00:00
minoura
e6a960146a
Use MI md_root.c.
2000-11-24 06:55:22 +00:00