Commit Graph

43455 Commits

Author SHA1 Message Date
thorpej
3a7c4f5973 Don't panic if we detect an IRQ combination that can't be shared,
just return NULL.
2001-01-10 01:15:32 +00:00
fvdl
6907c4ded8 Do syscall_intern after p_traceflag has been copied to the new
process (if it is inherited), so that ktrace continues to work
properly on the child.
2001-01-09 23:36:50 +00:00
rh
3d5c5173f5 Add a quirk table for specific implementations.
Change the NEC-specific subvendor test for GPIO initialization into a more
generic quirk table flag.
Add a quirk flag for hardware that has left and right channels reversed
(currently the COMPAL 38W2 a.k.a. Dell Inspiron 5000e)
Clean up PCM channel initialization and add channel swapping option.
2001-01-09 23:27:07 +00:00
rh
6ec1759deb regen 2001-01-09 23:20:22 +00:00
rh
ca3478d0e2 Add COMPAL vendor and COMPAL 38W2 product (OEM for Dell Inspiron 5000e) 2001-01-09 23:19:03 +00:00
thorpej
d11cfe3c79 Regen; added Symbios 53c1510D. 2001-01-09 23:16:18 +00:00
thorpej
ff00b6c009 Add Symbios 53c1510D. 2001-01-09 23:15:39 +00:00
rh
cb2d30303b Add new AC97_HOST_SWAPPED_CHANNELS host flag that causes left and right
mixer channels to be swapped (required for hardware that has wiring
reversed).
2001-01-09 23:14:25 +00:00
fvdl
d82b599214 Add 'vendor' toplevel name. To be used as vendor.<vendorname>.* for
vendor-specific data.
2001-01-09 21:30:25 +00:00
martin
ba45ad64d3 Ifdef some routines only needed for ELSA Quickstep cards when compiling
without support for those.
2001-01-09 21:26:30 +00:00
martin
5d0c67c603 When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
thorpej
f5428a0a17 Fix oversight in slip softintr changes. 2001-01-09 20:20:13 +00:00
mjacob
442e2e73a9 ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT. 2001-01-09 18:56:24 +00:00
mjacob
64c3b7f881 Add some 2X00 specific state flags for status response entries. Add the
defines necessary for the REGISTER FC4 TYPE SNS subcommand.
2001-01-09 18:56:06 +00:00
mjacob
5599d31360 ISPASYNC_PDB_CHANGED->ISPASYNC_LOGGED_INOUT. And also, ISPASYNC_CHANGE_NOTIFY
is for both local loop and fabric cases now.
2001-01-09 18:54:53 +00:00
mjacob
81df08ddef Use a SNS REGISTER FC4 TYPE subcommand to register with the name server.
This means we should be able to work with McData switches now. Change
ISPASYNC_PDB_CHANGED to ISPASYNC_LOGGED_INOUT (more descriptive). Allow
F-Port topologies to use target ids 0..125 to log into fabric devices.
Yet again fool around with defaul WWN stuff.
2001-01-09 18:54:06 +00:00
ad
1b4eef2721 - Make VDAC state per-board.
- Add an ioctl to reset the STIC.
- Add an ioctl to restore the screen contents from backing.
- Other tweaks.
2001-01-09 16:04:03 +00:00
pk
f134ba4486 atop(): cast argument to paddr_t' (instead of u_long') to avoid
truncating the address.
2001-01-09 13:55:20 +00:00
fvdl
c99aee0084 Add emulation of KIOCSOUND. 2001-01-09 13:01:03 +00:00
bjh21
84a9223126 Add APCS-32 return instructions, though not used yet. 2001-01-09 12:11:57 +00:00
fvdl
5395f63f35 Revert apparently accidental commit. 2001-01-09 12:03:15 +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
mycroft
7f2aa054f1 ffs_reload(): Copy fs_ronly into the new superblock, too, as it may have been
modified on disk (e.g. by fsck(8)).  This flag should really be elsewhere.
2001-01-09 10:44:19 +00:00
tsubai
3efddcd88e Configure PCI_INTERRUPT_LINE on the other side of the pci-bridge on OF3 too. 2001-01-09 08:04:53 +00:00
lukem
0ed2fcf9fb *minor* knf 2001-01-09 06:36:13 +00:00
joff
a6ef389457 If DIAGNOSTIC and the segment writer gets a badly sized buffer, panic()
instead of silently corrupting the filesystem.
2001-01-09 05:05:35 +00:00
thorpej
efed547b78 Once we have a complete frame, schedule a SLIP software interrupt,
and manipulate ipintrq from there.  This will allow us to clean up
the use of splimp() in this file later.
2001-01-09 05:04:23 +00:00
thorpej
30be6aa8b6 Add NETISRs for SLIP and STRIP. (Geez, I wish we had the softintr
API everywhere...)
2001-01-09 05:03:10 +00:00
thorpej
692a2bc939 Make the buffer management in SLIP just a little less evil. 2001-01-09 04:42:48 +00:00
enami
7a36660307 If there remains no memory in a segment after we chopped off ``the last
page,'' skip the segment.  Fixes boot problem on Compaq ProLiant ML370
reported at current-users by Mark Davies.
2001-01-09 03:45:49 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
itojun
6378ac40ee pass the right $CPP 2001-01-09 02:31:37 +00:00
lukem
7a9f0b9a95 sync to GENERIC 1.390:
- add an NIC & vlan
- add auich, esm, neo audio
2001-01-09 00:47:18 +00:00
martin
ac6176f581 Fix some oversights from fixing option names. 2001-01-09 00:46:01 +00:00
lukem
6ac8983e9d sort auich in respect to auvia 2001-01-09 00:40:53 +00:00
thorpej
c5acd6aad5 Fix a typo in the ALTQ changes. 2001-01-08 23:43:34 +00:00
pk
301b806db0 ebus_find_node(): plug memory leak; make debug output meaningfuller. 2001-01-08 22:15:47 +00:00
thorpej
7bebf9a408 On ADMtek chips, don't just idle the chip when programming the
multicast filter.  These chips don't like to go into "idle" state
very much, so we have to use the big hammer and reset the chip,
instead.
2001-01-08 22:12:57 +00:00
ragge
2987c0474d Fixes from OpenBSD by Brandon Creighton. (bjc@openbsd.org)
Log message from OpenBSD:

> - add EMODD emulation (EMODF) -- this fixes modf() and some libm code
>   on systems which don't have native EMODD (i.e., most of them)
>
> - big cleanup of the getval_* stuff - have one routine doing most of the work
>   instead of four doing the same thing
>
> - add some miscellaneous routines -- count sig. bits
>
> - add more operand addressing modes (still not all fully implemented)
>   both the existing POLYD and EMODD can use them
>
> - add me to copyright
>
2001-01-08 22:08:22 +00:00
thorpej
d101f6f462 Add Accton EN2242 10/100 MiniPCI Ethernet. 2001-01-08 21:50:47 +00:00
thorpej
2482ba1fab Regen; added Accton EN2242. 2001-01-08 21:47:38 +00:00
thorpej
3628087824 Add product ID for the Accton EN2242 10/100 Ethernet (an ADMtek AN985). 2001-01-08 21:47:10 +00:00
martin
f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
thorpej
666e82a4e9 Use the AN985 media switch on the AN985. 2001-01-08 21:45:42 +00:00
thorpej
e9bb880aaf The ADMtek AN985 "ghosts" the single built-in PHY at every MII address.
Work around this by having a custom media init routine that limits the
search to MII address 1.
2001-01-08 21:40:29 +00:00
thorpej
f9c77ef635 Only build "esm" if it's included in the kernel config file. 2001-01-08 21:16:26 +00:00
rh
c6274d6e3d Add and enable the esm PCI audio driver 2001-01-08 20:48:11 +00:00
augustss
e6616f532a Cosmetic changes. 2001-01-08 20:21:16 +00:00
thorpej
2b00271327 Regen; added DEC SWXCR RAID. 2001-01-08 20:08:17 +00:00
thorpej
18b051656b Add product ID for DEC SWXCR RAID (a Mylex v5 controller). 2001-01-08 20:07:21 +00:00
rh
a3aa8d5abc Add esm audio driver. 2001-01-08 19:55:51 +00:00
rh
ca3b496216 Initial import of the Maestro 2/2e 'esm' PCI audio driver. This driver
is based on the FreeBSD 'maestro' driver by Taku YAMAMOTO
<taku@cent.saitama-u.ac.jp>
2001-01-08 19:54:31 +00:00
nathanw
d75edd2077 Reserve system call slots for getcontext, setcontext, LWPs, and
scheduler activations.
2001-01-08 18:25:35 +00:00
nathanw
5af86c93fb The "#auvia" line was removed from this config; remove the "#audio* at
auvia?" line as well.
2001-01-08 17:35:29 +00:00
takemura
757dca55b7 These ioctl commands should be '_IOW' to set value.
WSMOUSEIO_SRES
  WSMOUSEIO_SSCALE
  WSMOUSEIO_SRATE
2001-01-08 11:20:24 +00:00
rh
21ea7bd559 regen 2001-01-08 09:53:08 +00:00
rh
48276d65d9 Add IDs for the NEC Versa LX and Versa Pro LX 2001-01-08 09:52:22 +00:00
takemura
a0a2fc0688 Implement WSMOUSEIO_SRES to control A/D port scan interval. 2001-01-08 09:50:08 +00:00
enami
cdd63c8e8b Add RCSid. 2001-01-08 08:37:12 +00:00
enami
c3b283e57f Missed RCSid in rev. 1.61. 2001-01-08 07:48:59 +00:00
chs
6717a2ac1b in vtruncbuf(), use a "synchronous freeing" flush to prevent a race
between write i/os in a disk-based filesystem vs. the disk block being
freed by a truncation, allocated to a new file, and written again with
different data.  if the disk driver reorders the requests and does
the second i/o first, the old data will clobber the new, corrupting
the new file.
2001-01-08 07:05:47 +00:00
itojun
9bbe5b85ca "lp" must be defined reagardless from __HAVE_OLD_DISKLABEL 2001-01-08 06:57:21 +00:00
chs
f0ff6fc897 in uvn_flush(), when PGO_SYNCIO is specified then we should wait for
pending i/os to complete before returning even if PGO_CLEANIT is not
specified.  this fixes two races:

 (1) NFS write rpcs vs. setattr operations which truncate the file.
     if the truncate doesn't wait for pending writes to complete then
     a later write rpc completion can undo the effect of the truncate.
     this problem has been reported by several people.

 (2) write i/os in disk-based filesystem vs. the disk block being
     freed by a truncation, allocated to a new file, and written
     again with different data.  if the disk driver reorders the requests
     and does the second i/o first, the old data will clobber the new,
     corrupting the new file.  I haven't heard of anyone experiencing
     this problem yet, but it's fixed now anyway.
2001-01-08 06:21:13 +00:00
itojun
9f119cbf91 wrap icmp6 checksum error printf() into #ifdef ND6DEBUG.
sync with kame,  NetBSD PR 11911.
2001-01-08 06:12:46 +00:00
fvdl
d040bd5908 Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.
2001-01-08 02:03:45 +00:00
thorpej
4d4b2b5626 Nevermind that it's silly to include PROT_EXEC even if a vnode
doesn't have the exec bit set, we need to have PROT_EXEC set
in order for some expected mmap/mprotect behavior to work, so
do the last bit slightly differently: if udv_attach() fails, and
the protection (NOT maxprot) doens't include PROT_EXEC, then clear
PROT_EXEC from maxprot and try udv_attach() again.

Sigh, mmap really needs to be rototilled.
2001-01-08 01:35:03 +00:00
thorpej
b79ddef845 Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
2001-01-07 23:29:12 +00:00
martin
6b82e7fe42 64bit police.
Rumors say there are archs without ISA busses, so avoid including
(uneccesarily) isa bus headers in MI files.
XXX this is the minimal solution, layer interface calls will have
XXX to be revisited later
2001-01-07 21:47:24 +00:00
leo
0aa3c2b02f Sync machine types with atari/include/cpu.h 2001-01-07 21:24:05 +00:00
leo
427a7dcda0 Kill a typo. 2001-01-07 21:19:05 +00:00
leo
b9a7cb087a Nuke a cf_unit abuse. 2001-01-07 21:17:32 +00:00
leo
fb19421ce8 Expand identify_cpu() for the Milan. 2001-01-07 21:12:31 +00:00
leo
c21ca4d86a Add the Milan as a possible machine type. 2001-01-07 21:08:03 +00:00
leo
3c48826086 Make ahdi_part and ahdi_root 'packed' so I can use this include file on
an x86 machine to analyze my atari disk.
2001-01-07 21:05:16 +00:00
leo
6ad6e22efb Update the printf format in straymfpint() too. 2001-01-07 20:59:29 +00:00
leo
d6ef667612 Fixes for straytrap():
- make it clear that we are printing hex-numbers
        - fix the loop protection.
2001-01-07 20:56:51 +00:00
bjh21
2aa1fb4020 Remove old-style interrupt-counting infrastructure (intrnames/intrcnt). 2001-01-07 19:39:08 +00:00
sommerfeld
4522010c18 Make certain we see COM_MPLOCK, MULTIPROCESSOR, and LOCKDEBUG
to avoid any confusion about whether or not we have a lock in the softc.
2001-01-07 18:09:26 +00:00
fvdl
e2d1c1f926 Adapt all disk devices in MI directories to handle ODIOC* calls
for ports that have bumped MAXPARTITIONS (and thus define
__HAVE_OLD_DISKLABEL).
2001-01-07 18:09:01 +00:00
fvdl
3947143db7 Define __HAVE_OLD_DISKLABEL in <machine/types.h> for i386 (where the
other __HAVE_* defines are). Conditionalize definition of old
disklabel struct and ODIOC* definitions on it, allowing other ports
to bump the number of partitions in the label if they want to
(see comment in sys/disklabel.h).
2001-01-07 17:55:40 +00:00
bjh21
d6bd1012e3 Add facilities for counting interrupts, and a "machine irqstat" command to
DDB to tell us what's going on.
2001-01-07 17:01:53 +00:00
bjh21
2b076072d3 Add a "name" argument to irq_establish and friends, in imitation of arm32. 2001-01-07 15:56:01 +00:00
bjh21
6b513dfe29 Remove ioc_irq_establish -- It wasn't serving any useful purpose. 2001-01-07 15:36:34 +00:00
bjh21
fb3dd6b589 ANSIfy. 2001-01-07 15:27:37 +00:00
augustss
6861904096 Regen. 2001-01-07 15:01:06 +00:00
augustss
55c57a573f Add an Altima PHY. 2001-01-07 15:00:46 +00:00
bjh21
32ad12527c ANSIfy. 2001-01-07 15:00:02 +00:00
augustss
e90b26477e Regen. 2001-01-07 14:47:00 +00:00
augustss
6d5a1918f8 Add Epson 1640 scanner. (From FreeBSD) 2001-01-07 14:46:31 +00:00
bjh21
32ff4eef91 ANSIfy. 2001-01-07 14:28:02 +00:00
augustss
5b6d98341e Try both the old (wrong) and new SOFT_RESET request type. 2001-01-07 14:26:19 +00:00
bjh21
c730bd06be Un-__P, remove arg names. 2001-01-07 13:48:24 +00:00
bjh21
5c09bd5fc5 Un-__P and remove function arg names. 2001-01-07 13:38:42 +00:00
martin
218d552c4c Note ISDN devices. 2001-01-07 13:10:54 +00:00
tsutsui
f68bcbc806 Use ${PRINTOBJDIR}. 2001-01-07 08:38:01 +00:00
takemura
e2173eff07 Add some definitions. 2001-01-07 07:29:33 +00:00
thorpej
781516b080 Only include PROT_EXEC in maxprot if the user specified PROT_EXEC
in the mmap() call.  maxprot is used to create device mappings,
and always including PROT_EXEC causes the mapping to fail on the Alpha
when mapping a non-RAM offset of /dev/mem (which may be sparse, so
instruction fetch from there is disallowed).
2001-01-07 06:16:46 +00:00
enami
744c012068 Use uvm_aio_biodone instead of uvm_aio_aiodone for top-level buf
so that uvmexp.paging is updated if this i/o was initiated by
the pagedaemon.
2001-01-07 05:54:41 +00:00
thorpej
6795b1b166 No, really, pass the PA to alpha_pa_access(), not the PFN. 2001-01-07 05:42:54 +00:00
mrg
c5802f9f90 avoid unused variables if not RASTERCONSOLE 2001-01-07 05:41:50 +00:00
simonb
f514e805ed Move prototypes for mips_user_cachectl() and mips_user_cacheflush()
to <mips/cachectl.h>.
2001-01-07 04:13:16 +00:00
thorpej
7b9c3218e2 Make this C++ safe. 2001-01-07 03:59:31 +00:00
bjh21
610a127a3d Fix a stupid = vs == bug that prevented the code working usefully at all.
While I'm here, fix all the other GCC warnings too.
2001-01-07 00:30:29 +00:00
bjh21
fa64805abd Specify (void) arguments, hence avoiding GCC warning. 2001-01-07 00:07:58 +00:00
nathanw
46b2a2fcd4 Do ess_config_addr() in the ofisa front end, rather than in the match
routine. Prevents problems with non-SCR ess chips, as described in
PR 11630.
2001-01-06 22:50:00 +00:00
nathanw
a30debae05 Add description of the pinout of a standard DB-25 parallel port,
relative to the bits described here.
2001-01-06 17:16:19 +00:00
simonb
4152b5b212 Adjust recent netboot fix to work in the 5100 as well. 2001-01-06 16:59:53 +00:00
takemura
1c518d67a0 Add WDC_CAPABILITY_SINGLE_DRIVE to ignore secound drive. Wdc on pcmcia will
be attached with this flag.
Some CF Card (for ex. IBM MicroDrive and SanDisk) doesn't seem to implement
drive select command. In this case, you can't eliminate ghost drive properly.
So you should use this flag to ignore the ghost by force.
2001-01-06 14:55:49 +00:00
bjh21
32c62f1fdb ANSIfy 2001-01-06 13:09:05 +00:00
augustss
94094c44ab Change debugging output a little.
Don't the for the wrong id when UMASS_DEBUG is set.
2001-01-06 12:14:39 +00:00
augustss
f6f8ab2d11 Don't #define UAUDIO_DEBUG here. 2001-01-06 12:12:24 +00:00
toshii
8ce2076cf5 Fix a typo in debug printf. 2001-01-06 06:01:59 +00:00
cgd
169563b7c1 #warn is _not_ the GCC CPP directive that gives a warning, #warning is.
(this code has, apparently, always been wrong, but current GCC is kind
enough to warn about unknown CPP directives.)
2001-01-06 00:35:54 +00:00
martin
7e14d8a67c Cosmetics 2001-01-05 23:58:02 +00:00
martin
ebb91e152f Disable the daic driver for now. It's microcode handling needs
some thougths (legal problems), and the driver is not ready
for prime time anyway.
2001-01-05 23:22:01 +00:00
martin
4c176b9806 Disable the daic directory for now, it breaks with OBJDIR builds.
This needs more thought.
2001-01-05 23:17:48 +00:00
jdolecek
d7f811d098 utrace(2): limit size of user data to KTR_USER_MAXLEN (currently 2048); return EINVAL if 'len' is bigger 2001-01-05 22:25:26 +00:00
jdolecek
2bd5bf0ec2 regen after utrace() parameter rename 2001-01-05 21:53:38 +00:00
jdolecek
fbc7e223d7 utrace(2): rename 'id' parameter to 'label' 2001-01-05 21:42:08 +00:00
christos
6d92451397 don't keep adding targets, but include bsd.kinc.mk... This time make obj borke. 2001-01-05 20:18:10 +00:00
martin
34875ea7b1 Now let it survive "make install" too. 2001-01-05 19:56:55 +00:00
is
b90c4c82d9 Make this actually sort-of-work for 68060 w. disabled FPU (tested), 68LC060,
and I suspect, 68LC040 and 68040V machines. Method used:

1. do NOT use the frames effective address at all
2. do NOT use the frames next instruction address, but
3. restore the "this instruction" pc into the pc field of the frame at the
   beginning of the emulation, if we got a frame format 4.

TODO:
A. find the bug in the usage of the frame EA, and revert to using it.
B. find the bug in the usage of the frames next instruction address, and
   consider whether it's worthwhile to use it.
C. make the emulation complete.... FEXP FETOM1, and the trigonometric functions
   are missing.
2001-01-05 19:54:30 +00:00
tsutsui
8303e98e40 Fix typo (s/req/reg/). 2001-01-05 19:08:04 +00:00
martin
651aeb5899 don't let "make all" fail 2001-01-05 19:01:02 +00:00
aymeric
6a808ce8c8 Initialize VIA Technologies' 82C686's ICU as if it were a 82C586.
This fixes interrupt allocation problems on modern Compaq laptops.
2001-01-05 18:39:12 +00:00
bouyer
69153b6b36 Run at Ultra/66 on VIA controllers that can do it. PCI vendor/device/revision
is the same for the Ultra/33 and Ultra/66 version, so test writability of
the U66 enable bit (idea from Chris Cappuccio).
Thanks to David Carrel for testings.
2001-01-05 18:04:42 +00:00
tsutsui
52f9536913 Add isapnp devices.
XXX CS4232 is not probed properly.
2001-01-05 17:55:38 +00:00
tsutsui
d78ca7c54a Add isapnp attachment for prep. 2001-01-05 17:49:43 +00:00
bouyer
cbf42ca2d1 Ops, make it compile again. 2001-01-05 15:34:05 +00:00
fvdl
3950869204 Set Linux version to 2.0.38 for now, until the clone + "real time signal"
problems are fixed.
2001-01-05 15:31:15 +00:00
bouyer
5c800a0dab Add support for Ultra/100 on intel ICH2; from Tomokazu HARADA in kern/11747. 2001-01-05 15:29:39 +00:00
bouyer
2a63f0a46c Add support for Ultra/100 on the HPT370
XXX the datasheet for the HPT370 is wrong
While I'm there clear the DRIVE_DMA flag when we're going to use Ultra/DMA
where it was missed, so that wdc_print_modes() only prints what's used.
2001-01-05 15:20:53 +00:00
takemura
5d91708fb9 Generating workspace and project files for eMbedded Visual Tools 3.0. 2001-01-05 15:00:56 +00:00
martin
242656c78a Enable the imported ISDN4BSD based ISDN subsystem.
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin
c3cb638bca Initial import of ISDN4BSD release 0.96 2001-01-05 12:49:52 +00:00
sato
37682e5488 - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
when boot verbose mode.
  for debuging LCD control and/or keyboard cmds.
2001-01-05 09:09:48 +00:00
sato
78242b5fd8 - fix WSDISPLAYIO_MODE_EMUL mode redrawing.
- avoid null pointer dereference.
- clean up hpcfb_show_screen().
2001-01-05 09:04:55 +00:00
mjacob
6cb4620b76 (some of these changes were made in the previous revision- oops)
Say which mailbox command times out (polled or interrupting). Also,
give them a bit more time to timeout (5 seconds instead of 2).
2001-01-05 07:03:54 +00:00
mjacob
9d7f6e219f Ian McDonnell <apriori@world.std.com> made me see the error of my ways.
*Cough*. Ahem. I hadn't been setting error to XS_SENSE when there was
a check condition. Major blunder.
2001-01-05 07:02:00 +00:00
augustss
49f333783f Don't make local defines for stuff that's already in ac97reg.h. 2001-01-05 03:33:39 +00:00
augustss
5f3c3e0d6f Add definitions for some bits in ID and STATUS regs. 2001-01-05 03:32:46 +00:00
augustss
cc9f003455 Add some codecs. 2001-01-05 03:32:11 +00:00
marcus
fb7be69768 Fixed initial cache setup to handle launch from P2 as well as P1. 2001-01-05 01:14:31 +00:00
marcus
d1e05bffc3 Updated linker script set include only RAM based image for Dreamcast. 2001-01-05 01:13:23 +00:00
tsubai
0374c83129 Fix lost-software-interrupt bug. 2001-01-04 15:01:25 +00:00
itojun
6562709f3a typo fix. PR 11889 2001-01-04 11:48:44 +00:00
bouyer
4dc117d433 Ops, add COM_FREQ to a few PUC_PORT_TYPE_COM I missed.
Thanks to Bernd Ernesti for pointing this out.
2001-01-04 11:34:27 +00:00
itojun
828bec041b committed local change by mistake :-) 2001-01-04 09:49:29 +00:00
itojun
a8507fa1e7 pkgsrc/cross/sh-* do not supply cpp 2001-01-04 08:55:08 +00:00
veego
3e63d458f0 Use COM_FREQ for COM part of the last commited entry.
Why are there other drivers here which have PUC_PORT_TYPE_COM but don't
use COM_FREQ or even don't have the extra field?
2001-01-04 08:49:31 +00:00
veego
17718db1b9 Add support for boards with an Oxford Semiconductor chip.
This one was an I/O Flex PCI I/O Card Model-223 with 4 serial and
1 parallel ports.
XXX We need to move the PCI IDs to pcidevs.
2001-01-04 08:43:21 +00:00
itojun
26b1bcce00 cc -v is too verbose 2001-01-04 08:39:53 +00:00
itojun
973149dcb3 sh3 split 2001-01-04 08:32:02 +00:00
itojun
a629edfcca use -O1 for now, -O2 dies 2001-01-04 07:55:32 +00:00
sato
c381bbbf74 add missing evtype. 2001-01-04 07:55:15 +00:00
itojun
da0e17f08c fix pathname to meet pkgsrc/cross/sh* 2001-01-04 07:51:50 +00:00
itojun
8a58f991f6 content were mixed up 2001-01-04 07:50:23 +00:00
sato
58b63998c2 handle pointer type event message and scaler type event message
for CONFIG_HOOK_PMEVENT_*.
2001-01-04 07:43:37 +00:00
itojun
156bea1018 nuke obsolete Makefile templates.
split build-sh3 into two, for sh3e[bl].
2001-01-04 07:09:47 +00:00
mycroft
f73703a4a6 Set the play and record parameters separately.
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
itojun
1e7e3274f4 split MACHINE_ARCH sh3e[lb]. userland build still needs checking. 2001-01-04 07:03:21 +00:00
itojun
f039f89ec5 prepare for sh3e[bl] split 2001-01-04 06:53:45 +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
mycroft
c142ce184b Several things:
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
  interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.

XXXXXXXX
This is a big f*cking hack.  Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
sato
46921fecee Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 06:07:43 +00:00
enami
f306f72978 Use cast where appropriate to avoid integer overflow. 2001-01-04 06:07:18 +00:00
takemura
d403e873db Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
2001-01-04 06:01:41 +00:00
mycroft
6ff81e44ec No really, this is half-duplex for now. Lame. 2001-01-04 05:25:24 +00:00
sato
9d298fafdb adapt resent config_hook.h 2001-01-04 05:20:37 +00:00
sato
9eb0981033 re-define CONFIG_HOOK NICKNAME.
add some macros.
2001-01-04 05:16:26 +00:00
shin
ce0d1ad2fe - don't ignore DEFCOPTS (Makefile.mips).
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
2001-01-04 05:13:30 +00:00
sato
3131dc2c04 make compilable. 2001-01-04 05:01:59 +00:00
itojun
a493f2d3fd typo. struct fpregs -> struct fpreg 2001-01-04 04:42:59 +00:00
mycroft
ab1d9b87b0 Make some vague attempt to handle devices that do both input and output. This
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
enami
62f0a92d52 Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 03:03:04 +00:00
enami
596f0820de Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works. 2001-01-04 01:35:21 +00:00
enami
25481ad786 Redo previous; we need to notify kbd driver. 2001-01-04 01:33:37 +00:00
itojun
f5f5aac99a look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
makes the file bi-endian.
2001-01-04 00:51:15 +00:00
enami
0e081e1b48 Missing newline in log messsage. 2001-01-04 00:17:52 +00:00
thorpej
d04f6f6d57 Just garbage-collect the #if 0'd pmap_transfer() stuff. 2001-01-04 00:17:43 +00:00
itojun
16b3064038 split big/little endian better. 2001-01-03 23:49:21 +00:00
mycroft
29ecdf4b0c Regen. 2001-01-03 23:15:14 +00:00
mycroft
cbfa3ad17d Add Chrysalis-ITS LunaVPN card. 2001-01-03 23:14:39 +00:00
eeh
4020842234 Fix faults caused by incorrect cacheing information in the pv_entry. 2001-01-03 23:05:22 +00:00
enami
62a4aefda9 Avoid null pointer dereference so that boot -d works again. 2001-01-03 23:03:45 +00:00
enami
7eab063a4f Use device_lookup. 2001-01-03 23:00:24 +00:00
thorpej
33338b633a ANSI'ify, and inline userret(). 2001-01-03 22:15:38 +00:00
thorpej
09ffed2ba0 ANSI'ify. 2001-01-03 21:40:25 +00:00
thorpej
dbe63d5a81 Some more slight cleanup. 2001-01-03 21:39:20 +00:00
thorpej
5602df2e07 Fix a couple of comments. 2001-01-03 21:27:07 +00:00
ad
a06fc2bf4b Fix thinko in previous. 2001-01-03 21:17:05 +00:00
ad
5fcbd5f722 - Fix a number of bugs with the configuration stuff.
- Bash the passthrough interface into working order.
- Add an ioctl to retrieve the `tidmap'.
2001-01-03 21:04:01 +00:00
ad
8494f44b67 Make dumps work, and put the first part of detach into ld.c. 2001-01-03 21:01:28 +00:00
thorpej
c3d730df25 ANSI'ify. 2001-01-03 20:29:58 +00:00
fvdl
3456657259 Bump shm max pages value to a more realistic one. 2001-01-03 20:19:33 +00:00
thorpej
a2a696618e Restructure alpha_sgmap_dmamap_create() slightly. 2001-01-03 20:12:34 +00:00
thorpej
db36913c87 The code that creates/destroys SGMAP DMA maps is the same; put it
in a common place and share it.
2001-01-03 19:15:59 +00:00
itojun
1d25215235 $NetBSD$ 2001-01-03 18:15:47 +00:00
itojun
10e1d3091a share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
itojun
f66249f478 dreamcast went to sys/arch/dreamcast 2001-01-03 17:59:02 +00:00