Commit Graph

27108 Commits

Author SHA1 Message Date
christos ce816d0c65 Regen 1998-12-21 07:57:17 +00:00
christos e0bd7401e6 PR/6619: Rick Byers: Add Motorola ModemSurfr 1998-12-21 07:57:00 +00:00
thorpej 43b82d559c Improve pmap_copy_page() and pmap_zero_page(). Don't use pmap_enter()/
pmap_remove() for the temporary addresses.  This is completely unnecessary
as the temps are used ONLY for these routines, and we have better control
over the mapping by manipulating the PTE ourself.  On VAC systems, cache-
inhibit the mapping to prevent wasting a cache load.

These routines are now significantly faster.

Add a DIAGNOSTIC check in pmap_enter() for kernel pmap and (CADDR1 or CADDR2);
nothing should be adding mappings there via that interface.
1998-12-21 06:58:39 +00:00
thomas 6c040077b9 Install kbdreg.h. The Xserver needs it. 1998-12-20 23:17:48 +00:00
christos 981a2987e6 Regen 1998-12-20 18:54:52 +00:00
christos b8041892e9 Add another modem. 1998-12-20 18:54:37 +00:00
nathanw 4d2e9f8e9d Add "pcic0 at pci?". 1998-12-20 17:56:18 +00:00
nathanw 788ff053de Fix up support for PCI attachments of pcic devices on i386 in general,
and the Cirrus Logic CL-PD6729 in particular.

From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
kleink 5ca15dd95f Delete __extension__ on non-GCC or GCC1. 1998-12-20 17:46:46 +00:00
drochner 2e81b6b5f8 regen 1998-12-20 16:06:25 +00:00
drochner 6eb0418fdb add a Zoran multimedia controller chip 1998-12-20 16:05:32 +00:00
thomas 75c4b3bf70 Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
is now at offset 0xa0000.
1998-12-20 14:32:34 +00:00
drochner 6292c7eda0 Make midi_attach_mi() and audioprint() available also if MIDIBUS
(but not necessarily MIDI) is defined.
Fixes PR port-i386/6615 (Krister Walfridsson <cato@ulysses.df.lth.se>).
(XXX this should probably go into a separate file to get rid of
the #ifdef mess)
1998-12-20 14:26:44 +00:00
thomas 051cc552ae New code to enable PCI devices. 1998-12-20 14:24:52 +00:00
nathanw e3504362c9 Regen. 1998-12-20 03:53:03 +00:00
nathanw 7003241eab Add IBM Wireless LAN Entry and Xircom CreditCard Ethernet+Modem. 1998-12-20 03:52:40 +00:00
nathanw d114556e2a Avoid using "generic" configuration table entries during first
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.
1998-12-20 03:49:53 +00:00
thorpej 51d0670371 Clean up a whole load of comments, making many of them truthful, and
indicating which functions are INTERFACE vs. which aren't.
1998-12-20 01:15:52 +00:00
thorpej 80e50e26a8 Unclutter a bit. Use a PMAP_DPRINTF() macro where possible, getting rid
of loads of #ifdef DEBUG ... stuff.
1998-12-19 23:51:47 +00:00
nathanw 9670878a82 Regen. 1998-12-19 23:48:39 +00:00
nathanw f920aee0b3 Add original Xircom CreditCard Ethernet. 1998-12-19 23:47:51 +00:00
thorpej 6659e7174e In pmap_testbit(), if we end up traversing the PV list, cache a hit on the
bit to speed future tests.
1998-12-19 23:21:51 +00:00
thorpej 97f422e85b Make pmap_changebit() take bits to set and a PTE mask, rather than a bit
and a boolean.
1998-12-19 23:01:47 +00:00
scottr 3de0336b7c Protect a keyup event for ADBK_3 in the mouse button emulation code with
ALTXBUTTONS, so as to not cause trouble with some non-US English
keyboards.  From SUNAGAWA Keiki, PR 6613.
1998-12-19 21:41:13 +00:00
thorpej d36a60d9cb G/c PMAPSTATS. It's unneeded clutter right now. 1998-12-19 21:11:14 +00:00
ragge 6036a3463e Fix bufpages miscalculation. At the same time, make bufpages configurable
att compile time.
1998-12-19 20:06:36 +00:00
he a127a479d7 Add 'ex' driver and various mii stuff, from GENERIC. 1998-12-19 20:06:30 +00:00
thorpej 459052a0fb Wire down some SCSI disk units. 1998-12-19 20:05:19 +00:00
ragge 75c1333e8e A "return 1" should be "return 0". Caused machine to crash as soon as
it started paging.
1998-12-19 20:03:23 +00:00
he bdafd9591e Add "ustarfs" as a recognized boot file system type, and bump version number. 1998-12-19 19:44:56 +00:00
he 02cf5984b5 Retry ustarfs_cylinder_read after disk change, apparently required on i386. 1998-12-19 19:24:32 +00:00
he 2cfee96f35 Implement -b option, similar to on alpha, required for ustar floppy support. 1998-12-19 19:17:23 +00:00
drochner 8b9671f0f5 get "opt_compat_xxx.h" includes out of <sys/signal.h> 1998-12-19 16:27:09 +00:00
drochner dafe2a2b81 Some BIOSes return occasionally with carry set from APM_CPU_IDLE/BUSY
calls, without setting a defined error code. This leads to annoying
output. Put the printout inside APMDEBUG.
1998-12-19 14:46:10 +00:00
dbj db8bf6a623 Revamped DMA interface to unify chaining and non-chaining dma sequences.
Updated ethernet driver to work with new interface.
Continue work on esp driver.
1998-12-19 09:31:44 +00:00
thorpej 12632ebf71 Reverse the copyright-notice-swap. It went against existing practice. 1998-12-19 02:46:12 +00:00
thorpej d15dc38fd9 Changes from FreeBSD:
Implemented a more sophisticated mechanism for handling transmitter
interrupts which now defers them until the transmit queue if filled
up with completed buffers. This has two advantages: first, it reduces
the number of transmitter interrupts to just 1/120th of the rate
that they occured previously, and two, running down many buffers
at once has much improved cache effects.

Defer rundown (m_freem) of completed transmit buffers for no longer
than 1 second.

This brings us up-to-date with the most recent "fxp" driver in FreeBSD.
1998-12-19 01:14:37 +00:00
thorpej cb707caaeb Add the Compex Linkport ENET-B Ethernet card, PR #6349, Ingolf Koch. 1998-12-18 22:10:29 +00:00
thorpej 95b5eb860d Regen. 1998-12-18 22:07:53 +00:00
thorpej fc685b5db5 Oops, tyop. 1998-12-18 22:07:39 +00:00
thorpej e2614a90c2 Regen. 1998-12-18 22:07:00 +00:00
thorpej 1142e9ca93 Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
PR #6349, Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej f64a09cf13 Replace a use of << with the LSOP macro, to fix a specific problem on
little-endian machines.  PR #6390, Ben Harris.
1998-12-18 21:59:34 +00:00
thorpej 875666be42 Add the SVEC/Hawking Tech. Combo card. PR #6461, Rafal Boni. 1998-12-18 21:54:14 +00:00
thorpej 1f7f191ac9 Regen. 1998-12-18 21:53:08 +00:00
thorpej f86bb230f6 Add the SVEC/Hawking Tech. combo card. PR #6461, Rafal Boni. 1998-12-18 21:52:53 +00:00
thorpej 92229a04c1 Quiet some diagnostic messages when we might expect them to happen.
PR #6460, Rafal Boni.
1998-12-18 21:50:16 +00:00
thorpej 489d6d0e46 Reverse the stopgap change made in revision 1.29:
date: 1998/08/01 01:47:24;  author: thorpej;  state: Exp;  lines: +18 -8
Don't call the protocol drain routines if how == M_NOWAIT, which typically
means we're in interrupt context.  Since we can be called from a network
hardware interrupt, we could corrupt the protocol queues we try to drain
them at that time.

The problem has been addressed by letting the drain'able protocols use
a locking scheme to prevent queue corruption.
1998-12-18 21:40:14 +00:00
thorpej 4f177aec90 Add a lock around the TCPCB's sequence queue, to prevent tcp_drain()
from corrupting the queue if called from a device's interrupt context.

Similar in nature to the problem reported in PR #5684.
1998-12-18 21:38:02 +00:00
thorpej ca15e01c76 Add a lock around the IP fragment reassembly queue, to prevent ip_drain()
from corrupting the queue if called from a device's interrupt context.

Should fix PR #5684.
1998-12-18 21:35:11 +00:00
thorpej d9e7d7e6a1 Add support for the Corega PCC-T Ethernet, PR #6603, Takahiro Kambe. 1998-12-18 21:14:17 +00:00
thorpej 75553e60bf Regen. 1998-12-18 21:12:32 +00:00
thorpej eee452e216 Add Corega vendor ID and product CIS info for the PCC-T Ethernet card.
PR #6603, Takahiro Kambe.
1998-12-18 21:12:14 +00:00
thorpej 30f21adec4 Regen. 1998-12-18 21:08:37 +00:00
thorpej 6779120f4a Add product ID for the Yamaha 724 Audio device. PR #6605, Dave Sainty. 1998-12-18 21:08:19 +00:00
thorpej 3bd57bb34b Correct a panic message. 1998-12-18 19:52:11 +00:00
drochner ba4af3c3de regen 1998-12-18 18:59:06 +00:00
drochner b71f154130 remove compat_xxx dependencies where they don't belong 1998-12-18 18:49:59 +00:00
drochner 52c16cf83a get "opt_compat_svr4.h" out of <sys/conf.h> 1998-12-18 16:55:39 +00:00
drochner 0f6572f2b1 COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 15:49:40 +00:00
drochner 9d0b08a2b5 OMPAT_xxx option review: add missing opt_compat_sunos.h 1998-12-18 15:08:21 +00:00
drochner 9973d1abaa COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 14:24:43 +00:00
drochner 8ece294afc COMPAT_xxx option review: add missing opt_compat_linux.h
alpha -> __alpha__
1998-12-18 14:10:06 +00:00
drochner c22ef79250 solve the COMPAT_OLDSOCK/MSG_COMPAT problem differently:
The source files which need MSG_COMPAT define COMPAT_OLDSOCK.
1998-12-18 13:18:42 +00:00
mrg 776ca9e185 back out previous; it breaks when MSG_COMPAT is not defined (no compatibility modules) 1998-12-18 13:00:33 +00:00
explorer 9595b984ec teach fxp about rnd_*() 1998-12-17 23:25:29 +00:00
gibbs c9eb836a6a Return ENODEV when the device capability check fails for MOVE and EXCHANGE
operations.
1998-12-17 22:28:07 +00:00
gibbs 1b30d7e440 Correct the definition of the changer device capabilities page. The
previous definition confused some reserved bytes for exchange capabilities.
1998-12-17 22:27:18 +00:00
kleink fec2cc52f3 T_SVR4_GETHRESTIME returns a nanosecond quantity in %o1. 1998-12-17 22:26:02 +00:00
msaitoh 2d5b32dd03 fix an invalid panic message. 1998-12-17 17:45:08 +00:00
bouyer 85078af6c4 Add a new quirk flags, "ADEV_NOSENSE", for devices that don't
handle properly the request sense command. Add <FX320S, , q01> as being
sense-unfriendly in the quirk table.
1998-12-17 13:05:05 +00:00
gwr 271b8ff5ba Sync with GENERIC 1998-12-17 06:46:55 +00:00
gwr ec630d208f Fix some "unused variable" warnings (if !HAVE_CACHE) 1998-12-17 06:17:45 +00:00
tron 67693a18b7 Sync with "GENERIC" and fix description. 1998-12-17 00:07:08 +00:00
minoura 72bcdb203b Synced with GENERIC. 1998-12-16 14:10:38 +00:00
bouyer f1addbd3fd Defer mapping of pci interrupt to pciide_mapregs_native(). This way,
the native interrupt shouldn't be mapped if a channel is in native mode,
but disabled.
1998-12-16 13:21:26 +00:00
bouyer 945acd7834 Leave some room for the string-terminating char in temp. buffers.
Pointed out by Scott Presnell (thanks !).
1998-12-16 13:06:52 +00:00
bouyer c37bf0ccb4 Keep track of DMA errors, and downgrade the transert mode (UDMA ->DMA,
DMA->PIO) in case of 2 consecutive errors. Don't downgrade if the
PIO/DMA/UDMA modes were forced by a config flag.
1998-12-16 13:02:03 +00:00
bouyer 1f0d6730cc Switch to single-sector transfert mode only for the last retry, to let
a chance to the underlying driver to downgrade the mode first.
1998-12-16 13:00:02 +00:00
bouyer 2093338697 Rearange the modes setup to allow these to be dyanmically changed. Fill
in the new "set_mode" callback.
1998-12-16 12:48:45 +00:00
bouyer 94f32463dc Add a callback to re-compute the modes used on a channel. 1998-12-16 12:46:47 +00:00
christos 5b07a26bc4 Add a commented out entry for tcom. 1998-12-16 11:42:07 +00:00
christos bbe8b4dde5 Add Byte Runner Technologies TC-400 and TC-800 driver from Eric S. Hvozda 1998-12-16 11:33:50 +00:00
kleink 1b6a24c1d4 Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings.  Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
christos 4df2e84306 Another COMPAT_43 lossage fix (reported by Richard Earnshaw) 1998-12-16 11:01:01 +00:00
christos 1dd3565a09 Fix a long standing bug in wait(2) where the signal was left untranslated,
and defensively code the signal translation.
1998-12-16 10:36:50 +00:00
christos f9ac5ff367 more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *). 1998-12-16 10:21:50 +00:00
christos cb7b801ca0 & 0xff WSTOPSIG and WEXITSTATUS, since only 8 bits are significant. 1998-12-16 10:08:35 +00:00
briggs 4a01b776e5 Prototype pool_print() and pool_chk() if DEBUG.
Initialize pool hash table with PR_HASHTABSIZE (i.e., 8) LIST_INIT()s
instead of one memset().
Only check for page != ph->ph_page if PR_PHINPAGE is set (in pool_chk()).
Print pool base pointer when reporting page inconsistency in pool_chk().
1998-12-16 04:28:23 +00:00
thorpej 93454aafc6 Delay sending if SS_MORETOCOME is set in so_state. This avoids the case
where the user issued a write with a length greater than MLEN but less
than MINCLSIZE, thus causing two mbufs to be used.  The loop in sosend()
would then call PRU_SEND twice, causing TCP to transmit 2 packets when
it could have transmitted one.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:33:14 +00:00
thorpej 2ef3bcfbb8 In the sosend() loop, if the residual count is > 0 before calling PRU_SEND,
set SS_MORETOCOME as a hint to the lower layer that more data is coming
on the next iteration of the loop.  Clear the flag after the PRU_SEND
call.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:26:10 +00:00
thorpej 6977737a82 Add a new socket state flag SS_MORETOCOME, to indicate to the lower layer
that more data is about to arrive in a PRU_SEND.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:24:10 +00:00
itohy 36416d8500 Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy c05dadc113 Added COMPAT_LINUX support. 1998-12-15 19:36:36 +00:00
itohy 0c080222db Added linux compat support on m68k ports. 1998-12-15 19:31:30 +00:00
itohy e0f218ab08 Generated from syscalls.master. 1998-12-15 19:28:31 +00:00
itohy 0176ca73ed Initial support of Linux/m68k compatibility. 1998-12-15 19:25:40 +00:00
augustss b4cf442656 Fix a MIDI buffer overflow problem. Fixes PR 6583.
Patch from Ales Krenek <ljocha@ics.muni.cz>
1998-12-15 18:03:07 +00:00
christos a6406e330a 1000000000 nsec != 2^32 nsec. (from kleink). Also had eax and edx backwards. 1998-12-15 16:10:42 +00:00
christos 9a2a015957 1000000000 nsec != 2^31 nsec (from kleink) 1998-12-15 16:06:15 +00:00