tsubai
468355c5f0
Make configurable with no frame buffer.
1998-12-26 00:53:49 +00:00
msaitoh
7c25d335bf
s/are are/are/
1998-12-25 16:52:10 +00:00
msaitoh
2718914e14
fix incorrect panic message
1998-12-25 16:50:08 +00:00
marc
ae7cea0a83
initialize a variable to avoid a false compiler warning.
1998-12-25 00:54:46 +00:00
marc
b5afabb89a
check in generated files again so the included CVS id is correct
1998-12-25 00:54:11 +00:00
marc
1a6e9eab49
add quirk support for cards which lie extensively about their CIS
1998-12-24 04:51:59 +00:00
marc
2636bc951d
add code to permit pcmcia intr debugging
1998-12-24 04:50:43 +00:00
marc
2cf34a47e0
The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
...
3c562.
1998-12-24 03:59:00 +00:00
marc
b6a56aac7f
add an entry to the products array for the
...
PCMCIA_PRODUCT_3COM_3CXEM556.
This device requires the same CCR hack as the 3c562.
1998-12-24 03:57:45 +00:00
marc
c9ffa39a53
add product id for 3Com/Megahertz 3CXEM556
1998-12-24 03:55:54 +00:00
itohy
172852517b
Switch x68k port to UVM by default.
...
Mach VM and even old contig and non-contig codes are still alive.
1998-12-23 23:01:44 +00:00
christos
c7f9823bf0
C_LABEL has no _ if __ELF__
1998-12-23 15:09:48 +00:00
christos
6b7467980b
Add NetBSD note constants.
1998-12-23 15:09:09 +00:00
christos
27e4ef39db
Add support for parsing OS type note fields.
1998-12-23 15:08:37 +00:00
tron
b471830935
Sync with GENERIC.
1998-12-23 09:46:07 +00:00
mrg
9ec7c3c814
move sun3 to UVM by default. only pica/arc & x68k left.
1998-12-23 06:00:03 +00:00
fair
7a738d840b
Make gcc happy by changing %x to %lx hiding in a DEBUG.
1998-12-23 04:53:44 +00:00
kleink
7d144777a3
#ifdef __STDC__ -> #if __STDC__
1998-12-22 21:21:36 +00:00
oster
e392d933c8
Clean up some debugging stuff, and make it compile without warnings
...
with -DDEBUG on alphas.
1998-12-22 20:03:14 +00:00
tsubai
86a0b96c10
Search "interrupts" property if "AAPL,interrupts" is not found.
1998-12-22 19:46:28 +00:00
tsubai
89e0cc0a86
Display frame buffer type when attached.
1998-12-22 19:38:35 +00:00
tsubai
1e7ee2d117
Determine the address of interrupt register at runtime.
...
(iMac has different address)
1998-12-22 19:35:49 +00:00
scottr
84af636530
vm_offset_t -> {paddr_t, vaddr_t}
1998-12-22 08:47:05 +00:00
scottr
da48906a74
Update for present reality.
1998-12-22 08:25:34 +00:00
thorpej
5f69dedb2c
ipip_input() -> mrt_ipip_input().
1998-12-22 02:51:32 +00:00
mrg
12d0e6e8f7
move sparc{,64} installboot.8 back to src/share, to avoid splitting sources for users who dont get everything.
1998-12-22 02:34:09 +00:00
thorpej
0a87ec1ac7
Use pools for rtentry and rttimer structures.
1998-12-22 02:27:06 +00:00
thorpej
54377d1212
Simplify the tunnel lookup routine.
1998-12-22 01:49:04 +00:00
thorpej
3322b9a32e
Add an extern declaration of gre_softc[] here. Wrap it and the prototypes
...
in #ifdef _KERNEL.
1998-12-22 01:33:45 +00:00
thorpej
943f7cd0e7
In unp_internalize(), add a comment explaining why we must ALIGN() the
...
data after the cmsghdr when accessing internalized SCM_RIGHTS messages
(i.e. array of struct file *s). The historic interface does not align
the externalized SCM_RIGHTS messages (i.e. array of ints).
1998-12-21 23:12:19 +00:00
thorpej
992f3b8ea7
Fix a fencepost error in unp_scan() which caused a bad pointer deref on
...
the SPARC platform only (ILP32 but ALIGNBYTES of 7), due to a missing
ALIGN().
1998-12-21 23:03:02 +00:00
tsubai
07c96d75d6
Wait one second before powerdown.
1998-12-21 21:58:19 +00:00
leo
c81639d273
Change quirk entry: "FX320S", "", " q01" to: "FX320S", "", "q01". This
...
space does seem to matter...
1998-12-21 21:40:12 +00:00
drochner
71fa656b19
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:56:06 +00:00
drochner
c896b644ba
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:40:01 +00:00
drochner
ac7ba300c0
add two of the newer register definitions
1998-12-21 20:31:54 +00:00
augustss
ebbe6623e2
Regen
1998-12-21 17:22:33 +00:00
augustss
2da45b8352
Fix typo.
1998-12-21 17:18:29 +00:00
augustss
84f4ab4fd0
Regen.
1998-12-21 15:45:20 +00:00
augustss
3c75aecaf5
Add ADS ethernet adapter.
1998-12-21 15:42:59 +00:00
drochner
45b5108fb1
regen
1998-12-21 13:43:11 +00:00
drochner
70a2fcddc2
change name of 82443BX according to Intel's data sheet
...
correct "no AGP" case to real topology of the chip
clarification: s/AGP Device/AGP Interface/
1998-12-21 13:37:00 +00:00
pk
fc6df8006b
Make sure we don't spuriously detect more than one boot device (as the
...
previous patch but extended to all devices).
1998-12-21 11:25:39 +00:00
drochner
63d673f477
g/c SA_USERTRAMP (ok'd by pk)
1998-12-21 10:34:59 +00:00
thorpej
795321b030
Make pmap_collect() actually do something useful. If called with a user
...
pmap, forget all of the mappings for the user address space for that pmap.
This causes the PT pages to be freed so that they can be reclaimed by the
VM system. [*]
[*] Actually, in the current implementation, it merely causes the wiring
count on the PT pages to drop to 0, which allows them to be reclaimed by
the pagedaemon. Handling of PT pages needs to be completely rewritten.
1998-12-21 09:02:43 +00:00
thorpej
d6bc370c2d
Use a memory pool for pmap structures.
1998-12-21 08:51:39 +00:00
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
drochner
4f720cad14
make sure programs cannot write to the screen while it is in graphics mode
1998-12-15 14:25:59 +00:00
augustss
57186cce33
Slight code rearrangement and more defensive tests for the sequencer device.
1998-12-15 10:32:16 +00:00
augustss
cb022e620d
Initialize field to indicate fragment block.
1998-12-14 23:44:04 +00:00
is
920aad33e4
Support for Hypercom 3+ / 4+. Untested yet, but its only some additional
...
entries in a table.
1998-12-14 20:33:45 +00:00
itohy
643e0d4cc2
Added intr.h
1998-12-14 19:04:58 +00:00
kleink
342b5e5134
Also need to initialize the queue length of a newly allocated fpstate.
1998-12-14 16:18:46 +00:00
itohy
b40f2a1c88
Make egcs happy.
1998-12-14 15:22:04 +00:00
drochner
2e89d55ed4
Deal with an unusual response on port selftest commands. This makes at
...
least John Kohl's crappy Dell box work.
1998-12-14 13:54:25 +00:00
mycroft
4a40350c5d
Nuke some #ifdefs that no longer work with COMPAT_43 defopted.
1998-12-14 13:03:19 +00:00
nisimura
8bb7627336
- Fix typos in commentary description.
1998-12-14 02:45:51 +00:00
christos
80f51bcef4
Add an entry point for the solaris 2.6 fast trap vectors, used by the
...
high resolution timer calls.
1998-12-13 19:31:26 +00:00
christos
4959a9fca6
Add defines for the fast trap vectors.
1998-12-13 19:27:51 +00:00
kleink
a2aacaedde
Add -Werror and -Wmissing-prototypes, like most other ports do.
1998-12-13 19:19:38 +00:00
christos
139600e069
add include "opt_compat_43.h" otherwise, if this is our only compat option,
...
we don't link (reported by Klaus Klein).
1998-12-13 19:19:34 +00:00
kleink
adddbfb644
obio_find_mapping(): int -> vaddr_t where appropriate.
1998-12-13 19:08:43 +00:00
kleink
58f85c298a
Printf format warning cleanup: the type of the result of a shift operation is
...
that of the promoted left operand.
1998-12-13 18:14:30 +00:00
christos
885e96c95e
Correct problem with UESP, still does not work properly.
1998-12-13 18:07:27 +00:00
christos
49be13158d
Make gerlimit(RLIM_NOFILE, rlp), return rlp->rlim_max == maxfiles, not
...
RLIM_INFINITY like we do. Java uses rlim_max to allocate a data structure
per file descriptor.
what we do is bogus anyway, because:
setrlimit(RLIM_NOFILE, {RLIM_INFINITY, RLIM_INFINITY}}
sets the limit to { maxfiles, maxfiles }
I undestand that this is so that if we change maxfiles via sysctl, processes
can still use the new maximum, but it is probably more appropriate to return
the current value of maxfiles (and maxproc) at every getrlimit call, even
if the current value for either is RLIM_INFINITY.
Anyway, java now works on the the sparc, on the i386 loses on setcontext().
1998-12-13 18:00:52 +00:00
kleink
072888839b
Printf format warning cleanup.
1998-12-13 18:00:10 +00:00
kleink
1bf1bbfc56
xdc_piodriver: sync function definition with declaration; also eliminates
...
the use of a char as an array subscript.
1998-12-13 17:57:19 +00:00
minoura
6aa085a693
Splitted out the interrupt handling code to a separate file.
...
Disallow getting down the interrupt level by splXX.
1998-12-13 15:04:01 +00:00
thorpej
b33907f299
Don't DMA the scsi command from or the sense data to the scsipi_xfer
...
directly. That would require that we map the scsipi_xfer into DMA
space. Instead, copy to/from the NCR CCB, which the script already
has to DMA to/from. These copies are small, and don't seem to affect
performance.
1998-12-13 00:11:37 +00:00
thorpej
178fc3cc05
Step 3:
...
Use DMA maps for the actual data transfers.
1998-12-12 23:41:56 +00:00
is
2b1c171400
appease egcs-1.1.1.
1998-12-12 20:05:07 +00:00
christos
bdaefe06f3
Synchronize with the Ultrix version of the ppp release.
1998-12-12 18:22:39 +00:00
christos
a0823f0a89
#include "opt_ppp.h" otherwise struct ppp_softc can be the wrong size
...
(From mycroft)
1998-12-12 18:21:32 +00:00
mycroft
b28c62f40d
Run async_update() even if something is select()ing.
1998-12-12 17:29:39 +00:00
mycroft
b3c9835be1
r13-r15 -> sp, lr, pc
1998-12-12 17:28:05 +00:00
christos
c748ecf74a
fix thinko in previous change.
1998-12-12 17:26:09 +00:00
mycroft
95aa0d0b7d
Simplify the copy loops a bit.
1998-12-12 16:58:10 +00:00
mycroft
90b7cbc727
Simplify argument to MGET(), to generate better code.
1998-12-12 16:36:24 +00:00
mycroft
a6717054a4
Slight simplification to previous.
1998-12-12 16:31:34 +00:00
drochner
be595f36c4
document support for Intel 82557/82558
1998-12-12 15:51:49 +00:00
drochner
6f71e420f3
add support for the Intel 82557/82558 fast ethernet chip
1998-12-12 15:47:05 +00:00
augustss
eeb8a988a9
Oops, I commited the wrong version before.
1998-12-12 12:18:26 +00:00
augustss
f8c84e3e97
Initialize variable to make gcc happy.
1998-12-12 12:06:53 +00:00
augustss
ef6d3553ea
Move initialization of sce around.
1998-12-12 11:59:28 +00:00
gwr
02b9dc7632
Switch to MACHINE_NEW_NONCONTIG (Yea! Finally!:)
1998-12-12 05:28:24 +00:00
gwr
e7810fa812
Fix MACHINE_NEW_NONCONTIG support (UVM works now:)
...
thanks to Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Closes PR#6540
1998-12-12 05:25:01 +00:00
thorpej
3cc30b3641
Step two:
...
Use DMA-safe memory for the script instances. The most important thing
here is that is guarantees that the script is contiguous in DMA space.
1998-12-12 00:19:13 +00:00
mrg
2f2fd097ef
remove this insanity. appeared with ipfilter 3.2.10...
1998-12-11 23:47:16 +00:00
thorpej
086b4b0bf1
Step one of bus_dma'ing the PCI NCR driver:
...
Separate the ncb (i.e. softc) members that are accessed by the script into
a separate structure. Allocate one of these structures in DMA safe memory
using bus_dma, and change RELOC_SOFTC to use the DMA address of this
structure.
1998-12-11 23:21:11 +00:00
thorpej
ebd6430388
Add some brackes to make EGCS happy.
1998-12-11 18:46:18 +00:00
bad
fe3ce4e89a
Simplify the code dealing with the mbuf chain in dp8390_get().
1998-12-11 18:03:55 +00:00
augustss
09dd50c412
Regen.
1998-12-11 17:44:41 +00:00
augustss
d39ff672ac
Add Imation disk.
1998-12-11 17:43:31 +00:00
bad
ba8bdebedd
Change a comment to reflect reality.
1998-12-11 16:01:16 +00:00
mrg
f3e2980d41
note thta installboot.8 is built in share/man. move installboot.8 back to the same place the sources are, just build it in an MI location.
1998-12-11 12:18:46 +00:00
mrg
30964865f6
change -d (debug) to -n (nowrite) as they have the same effective meaning, but -n is what sparc uses. use partition c as that will generally be what the user wants.
1998-12-11 12:15:44 +00:00
mrg
a73ed687d6
add an installboot man page, based on the old sparc on but with large bits ripped out
1998-12-11 12:14:53 +00:00
mrg
29a68943af
note installboot.8 is built in share.
1998-12-11 12:14:22 +00:00
drochner
914642e439
correction to the previous: protect against _LKM too
...
pointed out by Todd Whitesel <toddpw@best.com>
1998-12-11 11:57:33 +00:00
mrg
7a39c6352a
- exec the command
...
- exit 0 if we don't run it
- look for the disk in /dev/${disk} /dev/${disk}a as well as ${disk}
- look for the bootblock in /usr/mdec.
- exit if we can't find either the bootblock or disk.
1998-12-11 11:46:54 +00:00
drochner
36b809fed6
correcton tp previous: don't try to include kernel option headers in
...
userland
fixes PR kern/6561 (Takahiro Kambe)
1998-12-11 09:15:42 +00:00
augustss
3e85b3dd48
Move spls around.
1998-12-11 00:05:07 +00:00
augustss
46e04a18a1
Take care of some lines > 80 chars.
1998-12-10 23:16:47 +00:00
tsubai
c232b5d803
Add wdc.
1998-12-10 20:49:17 +00:00
tsubai
b517a9d3d8
Add wd and atapi.
1998-12-10 20:21:28 +00:00
tsubai
ef27ffc3de
Add ata/atapi disk support.
1998-12-10 20:10:03 +00:00
augustss
e481435c53
Add sv driver.
1998-12-10 19:01:41 +00:00
augustss
b94cb7b768
Add a driver for the S3 SonicVibes chip. From OpenBSD and
...
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org ) with
some changes by me.
XXX The driver still needs work.
1998-12-10 18:47:18 +00:00
ragge
5fb70e2fcc
Use vt100 console emulation instead of sun. :-)
1998-12-10 18:24:52 +00:00
mjacob
7f5c8f7db2
add Adaptec RAID units as devices that do not return geometry pages
1998-12-10 18:13:29 +00:00
christos
52f565dcfd
Revert IPX changes that I committed accidentally.
1998-12-10 17:48:40 +00:00
mycroft
6e4aaaaaa8
Actually use `unsigned int'. Not only is the word size not relevant, but
...
using anything other than an int for a shift count is actually not portable
ANSI C.
1998-12-10 17:41:02 +00:00
christos
f0c7751046
Regen
1998-12-10 17:13:06 +00:00
christos
35af069802
defopt COMPAT_43
1998-12-10 17:07:04 +00:00
christos
879032f748
fix systeminfo. We return ipc86 for the i386, SUNW,SPARCstation-10 for
...
sparc, and unknown for the rest. Also make sure that the string is terminated
properly and the length is returned as the specification calls. Maybe sometime
we can read the prom on the sparc and return the actual model.
1998-12-10 17:06:13 +00:00
christos
b0b86b5b7f
Defopt COMPAT_43
1998-12-10 17:03:19 +00:00
christos
32b0dc0fbd
Regen
1998-12-10 16:44:16 +00:00
augustss
95f1a325a2
Change a printf a little.
1998-12-10 16:13:48 +00:00
leo
bfd59f416b
Another patch from 'maximum entropy':
...
* Add to copyright notice.
* Replace the bad probe that caused your problem in the first place
with a better one. This probably means we could do away with the
type hints you added, but it won't hurt to leave them.
* Improve performance by not wasting a memory access in the buffer
copy/zero routines.
1998-12-10 15:55:25 +00:00
christos
13d58281de
IPX counters and centralize statistics routine.
1998-12-10 15:52:39 +00:00
christos
e856516838
IPX fixes.
1998-12-10 15:51:48 +00:00
christos
ce96f9960a
defopt IPFILTER_LOG
1998-12-10 15:50:59 +00:00
christos
7e5316ae6e
IPX fixes.
1998-12-10 15:50:54 +00:00
augustss
3334421666
Comment out sv audio device, the driver is not in the tree yet.
1998-12-10 15:46:20 +00:00
christos
bf10ca4eff
linted comment
1998-12-10 15:11:05 +00:00
christos
bee9dafdf5
defopt COMPAT_43
1998-12-10 15:07:01 +00:00
christos
c7578c510a
defopt
1998-12-10 11:01:01 +00:00
christos
03f9abe51f
defopt IPFILTER_LOG and PPP_{DEFLATE,BSDCOMP,FILTER}
1998-12-10 10:53:35 +00:00
rvb
4b984765e0
Commit a couple of old fixes
1998-12-10 02:22:52 +00:00
erh
efe6591d21
Whoops, _NSIG->LINUX__NSIG.
1998-12-10 00:31:50 +00:00
thorpej
93e17878d1
Regen.
1998-12-09 23:57:58 +00:00
thorpej
02d7f1236c
Some more touchup on the VIA Rhine chip model number, and so some
...
sorting.
1998-12-09 23:57:35 +00:00
tls
2fbbdcc0cb
Fix bug that caused all ifp's to have if_xname ntwo0, which was rather inconvenient. Should use config_found on each port instead, but this works for the moment and it's quick.
1998-12-09 23:25:41 +00:00
drochner
35345a1311
make compile without USB_DEBUG, wrap lines to 80 cols
1998-12-09 19:24:28 +00:00
ragge
3a8728fa4f
Fix deadlock bug. Pointed out by maximum entropy.
1998-12-09 19:02:31 +00:00
christos
b51649e609
delint
1998-12-09 14:41:50 +00:00
christos
caab3e8598
Avoid quad overflow.
1998-12-09 14:39:09 +00:00
christos
ad35501558
Add /*CONSTCOND*/
1998-12-09 12:26:58 +00:00
leo
a4fea93ff3
Make sure that my Riebl card (with empty battery) is not detected
...
as an BVME410...
1998-12-09 08:51:12 +00:00
thorpej
7a9cc5bfbc
Update for changed scsipi_xfer struct.
1998-12-09 08:37:50 +00:00
leo
5335909035
BVME410 ethernet driver by 'maximum entropy'.
1998-12-09 07:33:59 +00:00
augustss
1fdafa2f13
Insert some splusb() since memory allocation and deallocation can
...
occur from an interrupt.
1998-12-09 01:02:29 +00:00
augustss
c8736358e3
Clear stall condition on interrupt pipe.
1998-12-09 01:01:24 +00:00
augustss
41f2f38a1b
Add a poll entry to the /dev/usbN device. This should stop usbd from
...
running amok. (The poll was lost when the declaration moved to sys/conf.h.)
1998-12-09 00:59:36 +00:00
augustss
f8b9a417f0
Improvement to the ugen driver.
...
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
erh
f7373c1eba
Add mmap header.
1998-12-08 21:02:18 +00:00
erh
cdc6431c25
At least make this compile. Add linux compat version of auxillary data eventually to be used to make the emulation work correctly.
1998-12-08 21:00:11 +00:00
augustss
8398f3a4db
Add ugen, a generic USB driver.
1998-12-08 15:52:31 +00:00
augustss
28d60e8711
Use plaintest error messages for debugging.
1998-12-08 15:48:18 +00:00
augustss
d26c277522
Add a generic USB driver. It allows easy access to descriptors, the
...
control pipe via ioctl() and read() and write() access to bulk and
interrupt pipes.
1998-12-08 15:39:00 +00:00
augustss
4d19a06c27
Some minor API changes and additions.
1998-12-08 15:18:45 +00:00
augustss
dfff19e3d3
Take care of return code from uiomove().
1998-12-08 15:12:24 +00:00
augustss
43c3030bd5
Print plain text error codes.
1998-12-08 14:34:08 +00:00
augustss
0280322dcb
Change debug level of a printf.
1998-12-08 14:31:58 +00:00
augustss
1b499d8ce6
Make the OPL information string more informative.
1998-12-08 14:26:56 +00:00
bouyer
997074f17c
Add a missing 'return' in an error path; noticed by Matthias Drochner.
1998-12-08 13:29:31 +00:00
dbj
54a0e65b02
initialized unused dma registers to 0xdeadbeef instead of 0 to aid debugging.
1998-12-08 09:35:07 +00:00
thorpej
10d50739c7
Actually, restructure scsipi_wait_drain() slightly.
1998-12-08 00:26:22 +00:00
thorpej
8ebf1e8824
Remove xs_free_list; it no longer exists.
1998-12-08 00:20:16 +00:00
thorpej
624619a881
When closing, wait for pending xfers to drain before deleting the reference
...
to the adapter.
1998-12-08 00:19:27 +00:00
thorpej
dcc5f32c2b
When closing, wait for pending xfers to drain before unlocking the door,
...
and wait again before deleting the reference to the adapter.
1998-12-08 00:18:46 +00:00
thorpej
1ddd2ffec0
- When allocating a scsipi_xfer, add it to the specified device's
...
pending_xfers queue.
- When freeing a scsipi_xfer, remove it from the device's pending_xfers
queue. If the queue is empty, and SDEV_WAITDRAIN is set, wakeup
those waiting for the queue to drain.
- Implement scsipi_wait_drain(), which waits for a device's pending_xfers
queue to drain.
1998-12-08 00:17:21 +00:00
thorpej
98194169ea
When allocating a device's scsipi_link, initialize the pending_xfers
...
queue.
1998-12-08 00:14:41 +00:00
thorpej
126dc6bfcc
- Remove the "free_list" member from scsipi_xfer. Add "adapter_q" and
...
"device_q" TAILQ entries. The former is for use by the adapter driver,
as it sees fit. The latter is for the scsipi middle layer to track
pending xfers per device.
- Add a pending_xfers queue to scsipi_link, to track pending xfers per
device.
- Grow scsipi_link's flags to int, and add SDEV_WAITDRAIN, to indicate that
we're waiting for the pending_xfers queue to empty.
1998-12-08 00:13:58 +00:00
tsubai
ea6bba6b90
Fix a typo.
1998-12-07 17:17:14 +00:00
nisimura
14b18ffcb5
- Remove improper casts mistakenly creeped in the last commit.
1998-12-07 04:21:57 +00:00
tsubai
fbeabd992c
Implement sparse bus space support.
1998-12-06 15:39:12 +00:00
ragge
5ff97947fe
Search for NCR controllers, but not on VS4000/60.
1998-12-06 14:33:54 +00:00
ragge
fec054bd9a
Simple hack to get at least PIO functionality out of the VS2000/3100 ncr5380.
...
Fixed by Jens Arvid Nilsson.
1998-12-06 13:55:09 +00:00
mjacob
c2e84d0cde
What was missing here is the mapping between our booting SCSI bus number
...
and the parent (hba) path from which we booted from. As a temp fix,
we'll only go with the first match to set altbootdev- not additional matches.
The problem was further exacerbated by the fact that cnpoll doesn't seem
to work on serial consoles.
1998-12-05 21:05:44 +00:00
mjacob
337eb43541
NOMODESENSE for all Seagate ST19171- not just FC
1998-12-05 20:52:47 +00:00
mjacob
d610e1ad3f
Update BA for new max_lun parameter for SCSIbusses. Clearify maximum luns
...
for FC HB based upon a SCCLUN define (15 for normal- 255 out of a possible
65535 for SCCLUN). Propagate loopid as adapter_target.
Roll minor platform version. Roll core version number.
Update mailbox definitions with cleaner target mode structure definitions.
Clean up some ENDIAN stuff. Correct botched ISP2100_NVRAM_HARDLOOPID offset.
1998-12-05 19:48:23 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
mjacob
4b8245a959
Add a max_lun property to match with the max_target property. Shorten
...
max_target to int16.
1998-12-05 19:41:31 +00:00
mjacob
33fde1ad76
Eliminate the moreluns entry as it makes no sense for fat SCSI busses (e.g,
...
FC loops). Change the semantics of scsi_probedev so that it returns 1 if
you should continue probing at this target, else 0 for not.
Replace the blanket use of '7' with the use of the new sc_maxlun property
that is now gathered from HBAs. Allocate scsipi_link arrays based upon this.
Fix a really nasty and silly bug that has been there for a while where the
number of first level scsipi_link structures was one less than it needed
to be.
1998-12-05 19:39:23 +00:00
matt
3f225e009d
Add Sigma Designs REALmagic Hollywood Plus MPEG-2 decoder
1998-12-05 19:02:14 +00:00
dbj
8f7f8d557d
made prototype for debug function wss_dump_regs match its definition.
1998-12-05 10:49:24 +00:00
jonathan
340efce0ea
Track PV_REFERENCED bit as for PV_MODIFIED, to make mdsetimage work correctly.
...
Compatiblity with Mach VM: clear pmap-private bits in pmap_remove() if !UVM.
1998-12-05 09:13:09 +00:00
jonathan
aecf708ee3
Clean up kernel PTE allocation. Allocate space for maxproc kernel stacks.
...
Bump UVM swap-map to avoid panics on large swap machines.
1998-12-05 07:50:12 +00:00
jonathan
ea1aa3511c
#ifdef _KERNEL around cpu_exec_ecoff_setregs() prototype.
1998-12-05 07:26:11 +00:00
mjacob
9d51ff8e34
Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
...
one gets compiled in by default. The default is private loop, non-expanded lun.
1998-12-05 00:28:05 +00:00
mjacob
45fb6a3e74
Add in and enable latest SBus ISP Firmware (1.31)
1998-12-05 00:25:26 +00:00
drochner
3a08ae9402
always use unsigned numbers for screen positions (for sanity - the libkern
...
min() et al. did unsigned comparisions before)
make ROWS_ABOVE / ROWS_BELOW return signed values, the negative results
occur if the cursor is outside the scrolling region
1998-12-04 20:48:04 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
thorpej
2d7f8f3343
Support both a.out and Elf32 symbols in DDB.
1998-12-04 20:19:22 +00:00
thorpej
c89493522f
- Make the ddb_init() interface consistent for a.out and ELF.
...
- Allow DDB to run-time switch for a.out or ELF symbol table support.
1998-12-04 20:18:05 +00:00
drochner
9175cc0ddf
The chipset manual doesn't tell the truth about the channel enable
...
register bits. Replace by experimental result.
1998-12-04 17:30:55 +00:00
bouyer
c10f6edafc
AT_ERROR should be different from AT_TIMEOUT. pointed out by Matthias Drochner.
1998-12-04 11:17:54 +00:00
bouyer
433c02431e
Init the decriptors at boot time rather than at interface attach time.
...
Now that we have pcmcia hot-plug, it's not the same. Fixes kern/3189.
1998-12-04 11:04:37 +00:00
bouyer
cdbe530495
No need to #include malloc.h here.
1998-12-04 11:02:30 +00:00
bouyer
3efc699962
Sanity check a few values in the superblock, to avoid mallocing huge
...
memory area if we try to mount a corrupted filesystem. Fixes kern/3933.
1998-12-04 11:00:40 +00:00
nisimura
75ff38a27d
- Fix an error in primary cache line size detection logic; when IC and/or DC
...
bit is 1, then line size is 32. Otherwise, 16.
1998-12-04 10:32:08 +00:00
nisimura
9f33638436
- Fix and improve confusing indentations inside trap().
...
- Don't make a reference of curproc when it has NULL value. It causes
double fault upon a fatal panic ocation.
- Macro FETCH_INSTRUCTION() took a value of address 0.
-
1998-12-04 04:35:44 +00:00
sakamoto
0bba7a7eca
Not used.
1998-12-04 00:17:49 +00:00
pk
1673c21984
Enable `device_register()' for the sparc.
1998-12-03 23:50:11 +00:00
pk
5d9f86821c
Add a device_register() function to determine the boot device.
...
Use it in addition to the old method for a while, so we can take note
of any glitches easilier.
1998-12-03 23:49:58 +00:00
pk
19f705b094
Cast bus_space_{read,write}_multi arguments.
1998-12-03 23:33:45 +00:00
augustss
a68f1ef94c
Handle the case where the device does not support GET_PEPORT better.
1998-12-03 20:43:19 +00:00
augustss
bedb40a78c
Use umodem as the modem driver stub.
1998-12-03 19:58:09 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
bouyer
71f33dbfa5
UDMA->Ultra-DMA in a printf
1998-12-03 17:30:32 +00:00