Commit Graph

43907 Commits

Author SHA1 Message Date
bjh21
668b6cbaba We now have a rasops4 attribute to play with. It doesn't work, but then
neither do rasops1 and rasops2...
2001-01-23 00:27:44 +00:00
bjh21
55648b014b Use our own evcnt structure to count VSYNC interrupts.
Also disable interrupts while we're not using them.
2001-01-22 23:29:34 +00:00
bjh21
d0b6f0f1cd Changes to interrupt accounting:
NULL "name" argument to irq_establish indicates that the device will maintain
an evcnt structure for this interrupt.  In this case, irq_establish will still
maintain its own count (for DDB machine irqstat), but won't attach it to the
global list.

Change use of ev_group and ev_name to follow guidelines in evcnt(9).

Switch arckbd(4) over to the new arrangements.
2001-01-22 23:08:26 +00:00
bjh21
fe3273fbb4 Patch from PR kern/8001, submitted by Rafal Boni.
This adds support for EtherExpress/16 cards with 16k of RAM, and in the
process adds general support for PIO mode on these cards.  This entails
changing the way the i82586 driver handles bus barriers, since it doesn't
allow for strange cases like this.

This has been tested on the i386 port with the 'ix' driver in both
16KB (which was the source of the problem) and 32KB modes, as well
as with the 'ef' driver.  I've tested it (briefly) with 'ei' on arm26
as well.  In theory, drivers other than 'ix' should follow precisely the
same code paths as before.
2001-01-22 22:28:43 +00:00
bjh21
1178bf4219 Initial potentially sharable <arm/armreg.h>. Used by all arm26 code. 2001-01-22 22:10:39 +00:00
eeh
a07a06dd78 Only panic if we can't allocate a PT page for the kernel pmap. 2001-01-22 22:10:09 +00:00
ad
e055513a28 Nuke useless argument to ld_twe_dobio(). 2001-01-22 21:56:11 +00:00
thorpej
69fd9caaae Don't IFQ_SET_READY() -- this driver isn't ALTQ'ified. 2001-01-22 21:38:35 +00:00
jdolecek
1b91de887e use CHECK_ALT_SYMLINK() for lstat(2)
don't call stackgap_init() for pwrite(2) and pread(2), it's not necessary
2001-01-22 21:31:37 +00:00
briggs
ded0acf164 Clear interrupts on the RasterOps PaintBoard Prism GT 1.0. From
Alastair Bridgewater <nyef@softhome.net>.
2001-01-22 20:27:02 +00:00
jdolecek
13ca559d39 Use CHECK_ALT_SYMLINK() instead CHECK_ALT_EXISTS() where appropriate.
This addresses kern/11757.
2001-01-22 20:08:03 +00:00
jdolecek
2fcd02eea0 Introduce CHECK_ALT_SYMLINK() - this checks for alternative location without
following links, hence is usable for checking of presence of a symlink.
Also slighly cleanup EXISTS and CREAT cases - use symbolic constants
instead of 0/1.
This is needed for emulation of readlink(2), lchown(2) and similar.
Addresses kern/11757.
2001-01-22 19:50:56 +00:00
briggs
b8d22c0d39 Handle interrupts on the Radius DirectColor/GX (id 0x27c). From
Alastair Bridgewater <nyef@softhome.net>.
2001-01-22 18:23:14 +00:00
itojun
6e24d735f0 when the peer is disconnected before accept(2) is issued,
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg).
set the length zero.

behavior checked with bsdi and freebsd.
partial solution to PR 12027 and 10698 (need more investigation).
2001-01-22 18:14:11 +00:00
ad
7575649e53 Minor optimisation. 2001-01-22 17:44:28 +00:00
ad
03463e18f1 opt_twe.h isn't needed any more. 2001-01-22 17:40:14 +00:00
ad
8771c04bd1 Don't artificially clamp the maximum number of outstanding commands. 2001-01-22 17:38:23 +00:00
ad
9c7e523b64 - Complain if interrupt-driven retrieval of AENs fails somehow.
- Clamp the number of outstanding commands to 129.
- Other tweaks.
2001-01-22 17:32:11 +00:00
ad
4a19c21be3 In rcons_connect(): PMAX_FBTYPE_PM_COLOR should use the defaults. 2001-01-22 17:18:32 +00:00
fvdl
f4ddf5e1b6 Cast lbn to off_t in a few places, to avoid daddr_t overflow and all sorts
of havoc. From Bill Sommerfeld.
2001-01-22 16:39:54 +00:00
matthias
d88ce636a9 Bring this to the code in arch/i386/i386/pmap.c;1.117. 2001-01-22 14:33:29 +00:00
jdolecek
9e7736f1dc make patches[] const 2001-01-22 14:30:43 +00:00
jdolecek
29d563fd5b regen: US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry added 2001-01-22 14:18:42 +00:00
jdolecek
0f1dba40c7 add US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry
I wish I'd been less foolish and not bought this device ...
2001-01-22 14:15:24 +00:00
mjl
5d9e997522 Regen for stallion. 2001-01-22 13:58:37 +00:00
mjl
c77d1a22c4 Add stallion products. 2001-01-22 13:57:54 +00:00
jdolecek
8b24036797 Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.
2001-01-22 13:56:55 +00:00
jdolecek
c684abec3c add filecorefs LKM - noticed it's missing
XXX not tested
2001-01-22 13:41:51 +00:00
jdolecek
e359cb53f1 make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const 2001-01-22 13:32:23 +00:00
jdolecek
ecf8569ea6 make beep_waveform[] const 2001-01-22 13:31:45 +00:00
jdolecek
d3660a5f79 make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const 2001-01-22 13:18:29 +00:00
pk
57f38322d4 Add `-mno-fpu' to the compiler options once again: the current compiler
(egcs-2.91.66) is still liable to use FPU registers as temporaries.
2001-01-22 12:59:29 +00:00
shin
9ef14b26c7 - sync with i386.
- this change fixes bogus ESRCH error bug in writedisklabel().
2001-01-22 12:37:14 +00:00
jdolecek
d9466585b7 make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const 2001-01-22 12:17:35 +00:00
jdolecek
d0a540b250 rename vfs_op_init() to vfs_op_check() and make it only check the offsets
and number of ops, not touch anything - vnode_if.sh now generated
proper offset numbers; vfs_op_check() is only defined and called for DEBUG
kernels

constify extern declaration of vfs_op_descs[]
g/c vfs_opv_numops, use VNODE_OPS_COUNT instead
make vfs_opv_init_explicit() and vfs_opv_init_default() static
2001-01-22 09:57:25 +00:00
jdolecek
c3f6f769a3 regen: *_desc are generated correctly, new VNODE_OPS_COUNT,
structures constified
2001-01-22 09:53:31 +00:00
jdolecek
950412b4f5 when generating individual *_desc, generate also proper offsets so that
then don't need to be patched at runtime
add new define VNODE_OPS_COUNT (to vnode_if.h) so that the number is known
at compile-time
make stuff const, it now can be
2001-01-22 09:52:21 +00:00
toshii
577ac6e31c Remove the line in audio_open which zeroes sc_[pr]r.blksize.
Because zeroing them causes zero division panic with devices which don't
support 8kHz mulaw, and the effect of this line was to force calling
audio_calcwater even when unnecessary.
2001-01-22 08:37:54 +00:00
tsubai
9b4793fd1b #ifdef DREAMCAST --> #ifdef dreamcast. 2001-01-22 08:23:58 +00:00
tsubai
4791d269ec -Dsh3 --> -D${TARGET_MACHINE}. 2001-01-22 08:22:15 +00:00
tsubai
ffb8bbbb30 #ifdef sh3 --> #ifdef __sh3__. 2001-01-22 08:18:06 +00:00
itojun
5a4703fbfe revert revision 1.15 (on ingress, DF bit copied from inner to outer).
since we do not have feedback mechanism from path MTU to tunnel MTU
(not sure if we should), and inner packet source will not get informed of
outer PMTUD (we shouldn't do this), 1.15 behavior can lead us to
blackhole behavior.

configurable behavior (as suggested in RFC2401 6.1) would be nice to have,
however, reusing net.inet.ipsec.dfbit would be hairy.
2001-01-22 07:57:34 +00:00
itojun
a836499e32 make it possible to turn off ingress filter on gif/stf tunnel egress,
by using IFF_LINK2.  (part of) PR 11163 from Ken Raeburn.
2001-01-22 07:51:01 +00:00
scottr
054277902e Correct a thinko: iteopen()/iteclose() shouldn't just pass off to
the wsdisplay driver.  Otherwise, closing ttye0 (ite compat) ends
up closing ttyE0, the actual console, when ttyflags runs.  Fixes
PR 12022.
2001-01-22 07:31:44 +00:00
itojun
f92ee7af5c sync indent. 2001-01-22 07:04:10 +00:00
mycroft
f2d987f8a4 Force certain commands (i.e. DVD authentication) to PIO mode. They are
explicitly not supported in DMA mode, and generally return an `illegal field
in CDB' error.
This should have been done ages ago.
2001-01-22 07:00:39 +00:00
oki
e5a86f5ec9 Fixed NEW_VMCMD used in one-line if-else with options DEBUG. 2001-01-22 06:42:31 +00:00
itojun
93deb6a97f fix RR result bit in little endian systems. sync with kame 2001-01-22 02:28:02 +00:00
augustss
135068fdc8 Add clct. 2001-01-22 02:22:35 +00:00
wdk
8e913e0c2a Use custom linker script for building ECOFF kernel images. The PROM loader
is fussy about the order of sections and location of memory gaps so we
must produce a firmware friendly version of the kernel as netbsd.ecoff for
network booting

The ELF version uses the standard mips linker script which can be loaded
by the new bootstrap routines
2001-01-22 01:54:03 +00:00
augustss
972d156775 Clean up a little. 2001-01-22 01:44:56 +00:00
augustss
62fe0f7f69 Add clct(4) driver. 2001-01-22 01:39:05 +00:00
augustss
45116f2c38 Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.
2001-01-22 01:34:42 +00:00
augustss
22a541e778 Add a comment. 2001-01-22 01:13:47 +00:00
marcus
aa94cdc6ad Oops. Left a debug printout in there... 2001-01-21 23:53:09 +00:00
marcus
3c59914ed6 Added GDROM device. 2001-01-21 23:38:34 +00:00
marcus
36382f4889 Primitive GDROM support. 2001-01-21 23:30:28 +00:00
marcus
28f7e6dde5 Corrected license text. 2001-01-21 22:45:57 +00:00
marcus
ec45004dfc Fixed double-stroke bug. 2001-01-21 22:44:40 +00:00
is
c1f1dff4bd Amiga part of isdn4bsd, and an example kernel configuration file. 2001-01-21 22:23:07 +00:00
manu
9c111b5a93 Fixed wrong open() Linux flags definition (octal instead of hexadecimal) 2001-01-21 22:19:26 +00:00
augustss
7090ce901d Defer stopping the interface on error to a process context.
XXX The cue changes have not been tested, since I don't have a cue adapter.
2001-01-21 22:09:23 +00:00
is
f3f791ab03 - Replace idesc by standard wdc attachment.
- Add A1200 pcmcia slot driver.
(Both where options already.)
2001-01-21 20:41:39 +00:00
is
fec2d92852 - Replace idesc driver by standard wdc attachment.
- Add PCMCIA driver for A1200.
(Both where options already.)
2001-01-21 20:38:20 +00:00
augustss
dfa2282053 Change watchdog routine. (From FreeBSD.)
The only thing stopping us from getting totally rid of the evil
USBD_NO_TSLEEP hack is the (broken) assumption in the MII driver that
registers can be read and written without a process context.
2001-01-21 19:42:29 +00:00
augustss
2a7443922d Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 19:36:31 +00:00
augustss
aa75661373 Use the new usb_add_task() call to execute the statistics gathering.
This gets rid of the evil USBD_NO_TSLEEP hask from the cue driver.
2001-01-21 19:30:35 +00:00
augustss
996efaa78c Ad a comment. 2001-01-21 19:00:29 +00:00
augustss
df20cb2972 Change the operation of the USB event thread. Before it only performed
USB device discovery, now it can also perform (short) tasks for device
drivers that need a process context, but don't have one.
This is not pretty, but better than using busy-wait in an interrupt context.
2001-01-21 19:00:06 +00:00
augustss
d8f68f3949 Add a quirk for devices that cannot handle full length INQUIRY.
From FreeBSD.
2001-01-21 18:56:38 +00:00
uch
349386fbd5 change kernel text start 0x8c010000 to 0x8c0001000
(I want to decrease dead area.)
2001-01-21 18:34:37 +00:00
uch
3d6806dcc8 hpcsh original device configuration. 2001-01-21 18:33:53 +00:00
augustss
8502ed9498 Remove `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:55:11 +00:00
thorpej
3966e66ec8 Untangle some spl-spaghetti in cy_modem_control(). 2001-01-21 16:55:10 +00:00
augustss
e391b64407 Change watchdog code (from FreeBSD). 2001-01-21 16:06:48 +00:00
augustss
1d6d81b317 Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:03:11 +00:00
augustss
25c15e3189 Regen. 2001-01-21 15:58:01 +00:00
augustss
f4f53b10ea Another hub. 2001-01-21 15:57:41 +00:00
augustss
b2245c50fc Several changes:
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
 * Change watchdog code (from FreeBSD).
 * Get rid of the horrible USBD_NO_TSLEEP hack.
 * Repair some const damage.
2001-01-21 15:55:05 +00:00
itojun
69622e75ab sync with latest kame.
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
  flag bit.
- latest rtadvd.
2001-01-21 15:39:32 +00:00
takemura
7a78296f1c Add items for 4bit/pixel frame buffer format.
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
2001-01-21 14:31:37 +00:00
takemura
9aa8ab9279 Use rasops with 4bit depth. 2001-01-21 14:00:32 +00:00
takemura
0906d8d1fe Rasops supports 4bit depth. 2001-01-21 13:50:58 +00:00
scw
2c13177ff8 Create machine/m68k symlinks before trying to build the program. 2001-01-21 10:58:04 +00:00
takemura
82340f7df1 Built-in console driver supports 4bpp frame buffer. 2001-01-21 09:11:28 +00:00
christos
9bd2dee3b2 fix bit rot so that MP kernel compiles s/cpu_no/ci_cpuid/ 2001-01-21 07:48:29 +00:00
christos
d36fa12430 knf, some symbolic constants would be nice [pvrreg.h]
christos
2001-01-21 05:26:10 +00:00
takemura
6a31350117 Fix bugs of VR touch panel driver,
- status stay in touching while pen don't realy touch.
  - cursor often jumps to center of screen.
But it seems that 'stay in touching' still occurs at rare intervals.
2001-01-21 05:00:28 +00:00
thorpej
ccea4c274b Avoid doing Very Bad Things by passing a horrible IRQ value to
npxprobe1().  Fixes a problem on IBM Thinkpads reported by
Chuck Cranor.
2001-01-21 04:55:48 +00:00
chuck
b7d7186f4e fix problem detected on IBM thinkpads when running apmd:
when the display is closed, the machine suspends (as expected).
	when the display is opened again, it resumes and suspends again
	(must manually wake).

problem happens because driver fills the event queue with duplicate
events without allowing apmd to drain it by running.   fix it by
improving detection of duplicate events.

also cleanup and add some extra APMDEBUG code.
2001-01-21 03:23:31 +00:00
augustss
e8db629494 Add code to use soft interrupt to handle USB interrupt processing.
Don't enable the code since it doesn't work with the kludgy Ethernet drivers.
2001-01-21 02:39:52 +00:00
augustss
0c40fe5115 Ad define for warm boot rev. 2001-01-21 02:35:31 +00:00
augustss
29984607e8 Trim space off both ends of device product and vendor strings. 2001-01-21 02:34:34 +00:00
augustss
8894e84df0 Use a better way to test if we are cold starting the device. (From FreeBSD) 2001-01-21 02:33:52 +00:00
augustss
60708ce539 Regen. 2001-01-21 02:28:55 +00:00
augustss
27293db05d A couple of new devices (from FreeBSD). 2001-01-21 02:28:30 +00:00
augustss
227c27096f Add some initialization to struct ifnet that seems to have become
necessary.
2001-01-21 02:22:27 +00:00
augustss
1aca8405a5 Cosmetic changes. 2001-01-21 00:07:13 +00:00
augustss
f7dc96fe4c Change some splusb() to splhardusb(). 2001-01-20 23:36:02 +00:00
ichiro
541fa6ecfa regen 2001-01-20 20:53:34 +00:00
ichiro
2d5b0a4ff5 typo fix
reported by kei_sun@ba2.so-net.ne.jp
2001-01-20 20:53:07 +00:00
thorpej
13ad8f5ba7 Pack the minor numbers like the Cyclades-Z driver does, and
make the dialout bit compatible with the other serial drivers
(and with what MAKEDEV generates for dtyCYxxx).
2001-01-20 19:29:05 +00:00
thorpej
3aef368a04 Use device_lookup() in cztty_getttysoftc(). 2001-01-20 19:10:36 +00:00
thorpej
ddbaea62cb Garbage-collect some unused macros. 2001-01-20 19:08:24 +00:00
manu
167ec91e4b Fix the "created from" field of files generated from syscalls.master (this
master file did not have a RCS Id at generation time, hence the problem)
2001-01-20 19:03:01 +00:00
manu
0d6749fdd9 Fixed wrong ioctl definitions that caused Linux ioctl TCGETS and many other to
fail
2001-01-20 18:59:55 +00:00
manu
fe95c9c3de Moved architecure dependent part of struct linux_termio to architecture
dependent header files.
2001-01-20 18:56:41 +00:00
bjh21
8805bd8b56 Unify arm26 and arm32 trapframe structures. The unified trapframe is the same
shape as the old arm32 one, but there are a few #defines to keep arm26 code
happy.  Anything that depends on the precise shape of the trapframe,
and especially on being able to treat it as an array of registers, has been
updated.
2001-01-20 17:14:19 +00:00
mhitch
62ec5a5bc5 UVM pagesize needs to be set *before* UVM tries to use it. The change to
a constant PAGE_SIZE value didn't include setting the UVM pagesize, and the
attempt to add this ended up in the wrong place.  Amiga should now boot
again.
2001-01-20 17:08:41 +00:00
thorpej
9eefbe5b74 Regen; there is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:04:03 +00:00
thorpej
7ad2150248 There is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:03:32 +00:00
pk
13d4fcd69b In cpu_reboot(), only reset the TOD clock if the time is known to be good
enough, e.g. it has been initialized already by inittodr() or set
explicitly before by resettodr().  This prevents the TOD clock from going
way backwards when typing `halt' at the `mount root filesystem' prompt.
2001-01-20 13:44:29 +00:00
takemura
24706debd2 Fix indent, which were too deep. 2001-01-20 12:24:22 +00:00
tsutsui
b19f9e6e7d Add some working ISA devices:
ep* at isa? port ? irq ?
 ne0 at isa? port 0x280 irq 9
 ne1 at isa? port 0x300 irq 10
 we0 at isa? port 0x280 iomem 0xd0000 irq 9
 ne* at isapnp?
2001-01-20 11:40:50 +00:00
manu
94785018b1 Fixed a typo 2001-01-20 10:36:05 +00:00
taca
ce1c8f1a25 Regen. 2001-01-20 08:50:30 +00:00
taca
da5294450d In 1.111
> o Add RATOC REX_R280 card.
Since this already exists in pcmciadevs, delete it for preventing compile error.
2001-01-20 08:49:53 +00:00
lukem
1d15673dae consistently use FE_DEBUG (DEBUG was used a couple of places where it
was obvious that FE_DEBUG should have been used instead)
2001-01-20 07:31:00 +00:00
ur
4c458e5c42 Fix register name typo. 2001-01-20 07:23:21 +00:00
lukem
81685caeed a few things depend upon assym.h, so add appropriate dependencies. 2001-01-20 07:18:06 +00:00
thorpej
6549452c38 Don't deref NULL when searching for the correct board. 2001-01-20 04:19:21 +00:00
lukem
b01d829ec1 s/ea/eb/ in a couple of places 2001-01-20 02:41:19 +00:00
thorpej
c38c39fc9b Only need to pass a cy_softc * to cy_attach(). 2001-01-20 02:26:39 +00:00
thorpej
44ff75e3c5 ANSI'ify. 2001-01-20 02:24:16 +00:00
thorpej
a0f7017e2e Clean up the PCI attachment a bit, and adjust the other pieces
to suit.
2001-01-20 02:15:01 +00:00
imp
cd3120ae66 Sync to pcmicadevs 1.111 2001-01-20 01:58:12 +00:00
imp
d93492c616 Sync file with FreeBSD 1.8:
o Add NAKAGAWA METAL's LNT-10TN card.
o Add KINGSTON KNE-PC2 ethernet card.
o Add RATOC REX_R280 card.
o Add $FreeBSD$ id.

I've not added these cards the their respective drivers, however.
2001-01-20 01:56:16 +00:00
thorpej
36607aea63 In the ELF case, use the kern.ldscript unless overridden by the kernel
config file.
2001-01-20 01:05:53 +00:00
thorpej
6970f51de0 Add a linker script for the kernel, which places _etext after
all of the read-only data.  Move _etext after all the read-only
data in the LARGEPAGES script, as well.

This will cause const data to actually be const on i386 kernels now
(it was, by sheer luck, on LARGEPAGES kernels simply because of the
section rounding that the LARGEPAGES script performed).
2001-01-20 01:05:23 +00:00
eeh
905ef1b7fa Use the SCSIACCEL ioctl() to turn on TAG QUEUEs. 2001-01-19 23:04:23 +00:00
kenh
4a962c6cd9 Retry requests if the CD-ROM drive returns the sense code "Device in
Process of Becoming Ready".
2001-01-19 22:47:46 +00:00
martin
84af4fa114 Enable IO space mapping by default.
Fixes PR 11940.
2001-01-19 21:25:19 +00:00
is
ca0031c4cd No need for a seperate "I'm initialized" variable - the pointer itself
should work fine.
2001-01-19 21:18:29 +00:00
marcus
8cd0ae534a Better DMA allocator (thanks to Jason R. Thorpe). 2001-01-19 20:27:31 +00:00
martin
28899ce913 Add another CIS variant for ELSA mc/isdn card 2001-01-19 20:04:07 +00:00
thorpej
e9d4801895 Make ASTs per-process. 2001-01-19 18:51:17 +00:00
ichiro
88e7f62500 regen 2001-01-19 17:28:58 +00:00
ichiro
ee8a058b1d add USB serial adapter
I/O DATA USB-RSAQ2 (use PROLIFIC PL2303 chip)
2001-01-19 17:28:15 +00:00
fvdl
f41a35188a Actually, specify the number pf ptys explicitly anyway, omitting
the number and thus having the default value was probably a mistake
(16 would be too few).
2001-01-19 14:44:11 +00:00
fvdl
01c07896a6 Update for reality (same as in use on the actual machine, except that
-current doesn't require the number of ptys to be specified).
2001-01-19 14:29:20 +00:00
enami
07c60191e7 Use tsleep instead of dalay; since we're mounting root, we can sleep
and no reason to use delay.
2001-01-19 14:26:01 +00:00
manu
d932075a0e Fixed a typo (two instructions dupliated at the end of code that were not reached) 2001-01-19 12:49:22 +00:00
martin
0f589a40df Nuke all uses of splimp() in the isdn subsystem, replace by splnet(). 2001-01-19 12:44:44 +00:00
manu
d5329fdce7 Cosmetic fix to move powerpc from "guesses" to "know values" 2001-01-19 12:35:47 +00:00
manu
e20b81421d Added Linux errno mapping for powerpc 2001-01-19 12:27:13 +00:00
martin
d1ff650a0c Regen after de-const-ing. 2001-01-19 12:24:09 +00:00
martin
c9803fbf98 Remove over-const-ification.
This structures are actually modified at kernel init time by vfs_op_init.

XXX - looks like the state after initialization is pretty const and with
some magic in the generator script (and appropriate changes to vfs_op_init)
it could be made const.
2001-01-19 12:22:56 +00:00
sato
67ea0086c3 fix typos. 2001-01-19 11:42:21 +00:00
kleink
4c96c6b51f Add IPPROTO_VRRP. 2001-01-19 09:01:48 +00:00
jdolecek
e07a5ff574 constify 2001-01-19 08:54:21 +00:00
nisimura
b4ef15f3bc - paint underline on text honouring WSSCREEN_UNDERLINE.
- use accellerated painting for text cursor, should improve speed.
2001-01-19 05:43:43 +00:00
augustss
79c6c8ec3f Make this compile again after const-ification. 2001-01-19 04:01:10 +00:00
manu
3c98a504b9 Added previously created files for powerpc Linux compatibility to the kernel
config system
2001-01-19 01:51:16 +00:00
manu
083ffa3b67 Added support for powerpc Linux compatibility 2001-01-19 01:44:46 +00:00
manu
ac10cf6946 Added a linux_atexit_signature to match Linux statically linked ELF binaries. It
searches for a __libc_atexit ELF section, which is specific to Linux
2001-01-19 01:43:31 +00:00
shin
2e0943daa2 - fix prototype of db_mips_variable_func(). 2001-01-19 01:41:36 +00:00
manu
cac0b39302 Added Linux compatibility support for powerpc ports 2001-01-19 01:40:38 +00:00
manu
5472427809 Added powerpc specific code for Linux compatibility on powerpc ports 2001-01-19 01:36:47 +00:00
manu
3ec1257260 Added various header files for initial Linux compatibility on powerpc ports 2001-01-19 01:31:23 +00:00
bjh21
2c20803b63 Add extra constants defined by ARM ELF revision B01. 2001-01-18 23:50:50 +00:00
martin
c423d2c0f9 Add support for another PCMCIA ISDN card: Sedlbauer speed star II.
While there fix two outdated comments.
2001-01-18 22:13:59 +00:00
bjh21
48f4b0ea72 Tidy up some comments. 2001-01-18 21:54:28 +00:00
bjh21
2c89ce7e74 Add <arm/frame.h>, for shared stack frame structures. Currently, only sigframes
are common.
2001-01-18 21:48:25 +00:00
bjh21
6b017eaa04 Add ARMv5 instructions: BLX, CLZ, BKPT, MCR2, MRC2, CDP2, LDC2, STC2.
Also correct a comment.
2001-01-18 21:41:09 +00:00
bjh21
e1e042445c A bit of extra discussion based on the latest ARM ARM. 2001-01-18 20:42:03 +00:00
jdolecek
34c8ae80da constify 2001-01-18 20:28:15 +00:00
jdolecek
e912e655e1 kill local declaration of native_to_linux_errno[], one in common/linux_errno.h suffices 2001-01-18 18:41:20 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
bjh21
46b21bb8a8 Fix a couple of brackets in a comment. 2001-01-18 17:05:06 +00:00
tv
231789093f No-op revision to force update of this file to a non-"-kk" version. 2001-01-18 16:39:43 +00:00
thorpej
1fa7cb5b74 Use <powerpc/psl.h> 2001-01-18 15:30:42 +00:00
fvdl
6784825249 EINVAL -> ENOTTY 2001-01-18 13:56:32 +00:00
jdolecek
62fde088a1 adapt to pci_knowndevs[] being const, make local constant arrays const 2001-01-18 13:12:13 +00:00
jdolecek
4ad663531b regen: make pci_knowndevs[] const 2001-01-18 13:11:22 +00:00
jdolecek
771d1f2f35 make pci_knowndevs[] const 2001-01-18 13:03:22 +00:00
pk
13e03d4b43 On V0 proms, read the `idprom' property at the root node to get to the
station's ethernet address.
2001-01-18 12:50:10 +00:00
jdolecek
c1fc5392f5 adjust ddb variable access functions to have first arch 'const', make db_[e]regs[] const 2001-01-18 10:55:29 +00:00
jdolecek
d5d431e8ae make db_[e]regs[] const 2001-01-18 10:54:27 +00:00
jdolecek
65e6340df5 adapt to recent changes of signal structures changes 2001-01-18 10:18:24 +00:00
scw
7aaf4adfb6 const'ify the 1st parameter of db_var_short() to account for the
recent "struct db_variable" change.
2001-01-18 09:49:02 +00:00
enami
1199c16835 db_command_table needs to be writable at least when DB_MACHINE_COMMANDS
is defined.
2001-01-18 08:52:26 +00:00
itojun
60240f3ab9 workaround to avoid EMSGSIZE when ND6 table for the outgoing interface
is not initialized (should result in "interface down").
2001-01-18 06:50:12 +00:00
itojun
43950f6d05 on interface removal (ifconfig destroy) do not remove default route by mistake 2001-01-18 06:49:11 +00:00
briggs
118221b2e6 Handle the TRPAD case a little better.
Also, if the so-called DMA operation is a write and ends without target-
complete set, count the data in the FIFO as residual and add that to the
amount in the counters.  Hauke Fath reports that this passes early testing
on his Quantum Viking.
2001-01-18 03:43:18 +00:00
thorpej
aa204493b9 Regen; Intel Gigabit Ethernet update. 2001-01-17 20:56:47 +00:00
thorpej
29002abf43 Update the Intel Gigabit Ethernet entries. 2001-01-17 20:55:47 +00:00
is
72d949304b Add IPL_SOFTCLOCK, which was missing. 2001-01-17 20:53:43 +00:00
jdolecek
9aa0a0185f constify a little 2001-01-17 19:50:03 +00:00
thorpej
3d0bbf9152 Filter "receive process failed to idle" on noisy chips (like the
ADMtek AN985).
2001-01-17 19:37:09 +00:00
thorpej
8debdb1fee Correct last commit. 2001-01-17 19:08:59 +00:00
jdolecek
fd0f688850 make local const stuff as static const, so that it's pushed to text segment 2001-01-17 19:04:03 +00:00
thorpej
577f2ffb1c Remove local declaration of softclock(). 2001-01-17 19:03:14 +00:00
jdolecek
03cec6311e mark local constant stuff as const, so that it's pushed to text segment 2001-01-17 18:52:41 +00:00
jdolecek
384bb56925 move local variable sdl from ieee1394_ifdetach() to ieee1394_ifattach(), so that
this file is compilable after previous change
XXX not tested
2001-01-17 18:44:14 +00:00
thorpej
2f89e3d744 Explicitly include <machine/intr.h> if __HAVE_GENERIC_SOFT_INTERRUPTS. 2001-01-17 18:21:41 +00:00
thorpej
a4ecde8c5e If no link level name is assigned, return EADDRNOTAVAIL on
SIOCGIFADDR.
2001-01-17 15:53:43 +00:00
ws
dc77af8bea Don't claim the memory for the executable from the firmware.
Some implementations seemed to do strange mappings as a result of it.
2001-01-17 15:37:06 +00:00
ws
8d2ba0ce39 Increase stack size to make this work again. 2001-01-17 15:31:04 +00:00
itojun
2d9097af9e correct typecast for eonrtrequest 3rd arg. 2001-01-17 15:13:37 +00:00
itojun
50f4458f06 move forward decl of rt_addrinfo upwards. 2001-01-17 15:07:07 +00:00
itojun
4dbe2a5a97 wrap noisy ND6 debugging messages with ND6_DEBUG. sync with kame 2001-01-17 11:26:52 +00:00
shin
6b177fb05c - reduce GP size (20 -> 18). 2001-01-17 10:35:08 +00:00
itojun
966b95b038 configure sdl_alen properly 2001-01-17 09:34:48 +00:00
haya
193fd06950 Fix comment. 2001-01-17 08:37:09 +00:00
ender
d2d372a707 Fix softclock prototype. 2001-01-17 08:23:49 +00:00
nisimura
1d8bb9f134 managed to make this useful enough for screen editor.
- video base register value brings different scanline starting address
  of framebuffer depending on VRAM chip column size.
many other issues left unsolved.
- text rendered in incorrect colours.
- acceleration codes should be reimplemented from scratch.
2001-01-17 06:48:09 +00:00
itojun
f79137a3f1 it looks that gas configured for little endian output runs as
big endian assembler, sometimes.  explicitly have -little to specify
little endian output.
2001-01-17 06:03:54 +00:00
itojun
ef1a3ce53b the kernel for SH3-based WinCE machines (little endian), by uch.
MACHINE=hpcsh, MACHINE_CPU=sh3el.

bootloader: ftp://f77.nop.or.jp/users/uch/hpcboot/
original patch: ftp://f77.nop.or.jp/users/uch/hpcsh/

sys/sh3/sh3/md_root.c: add #ifdef MEMORY_DISK_DYNAMIC
2001-01-17 05:21:47 +00:00
itojun
df9784d749 pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument.
pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest.
3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr *
(almost noone is using it anyways).

benefit: the follwoing command now works.  previously we need two route(8)
invocations, "add" then "change".
# route add -inet6 default ::1 -ifp gif0

remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *.  it was
introduced by 4.3BSD-reno and never corrected.

XXX is eon_rtrequest() change correct regarding to 3rd arg?
eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno,
so i do not have correct answer in the source code.
someone with more clue about netiso-over-ip, please help.
2001-01-17 04:05:41 +00:00
thorpej
a14f3b25f6 Add some whitespace to make reading this file easier. 2001-01-17 02:17:47 +00:00
fvdl
66689980ac Add procfs_linux.c 2001-01-17 01:26:40 +00:00
fvdl
cd7c1e7cc9 The actual i386 implementation for /proc/cpuinfo. 2001-01-17 01:21:12 +00:00
fvdl
ea08a209b5 Adapt for procfs_valid* argument change. 2001-01-17 01:13:23 +00:00
itojun
d8ba6d06be procfs_machdep is per port (not per CPU). 2001-01-17 00:44:33 +00:00
thorpej
fc5dafc79b Fix a rather annoying problem where the sockaddr_dl which holds
the link level name for the interface (ifp->if_sadl) is allocated
before ifp->if_addrlen is initialized, which could lead to allocating
too little space for the link level address.

Do this by splitting allocation of the link level name out of
if_attach() and into if_alloc_sadl(), which is normally called
by functions like ether_ifattach().  Network interfaces which
don't have a link-specific attach routine must call if_alloc_sadl()
themselves (example: gif).

Link level names are freed by if_free_sadl(), which can be called
from e.g. ether_ifdetach().  Drivers never need call if_free_sadl()
themselves as if_detach() will do it if it is not already done.

While here, add the ability to pass an AF_LINK address to
SIOCSIFADDR in ether_ioctl() (this is what caused me to notice
the problem that the above fixes).
2001-01-17 00:30:49 +00:00
fvdl
4de25b5279 Add procfs_machdep.c and .PATH for it. 2001-01-17 00:09:31 +00:00
fvdl
4e000b75b2 Add a few linux-style files, only enabled when -o linux is specified
for the mount. Currently these are /proc/cpuinfo and /proc/meminfo.
The former only does something on i386 right now.
2001-01-17 00:09:07 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
fvdl
0546607276 Export some variables. 2001-01-17 00:03:02 +00:00
itojun
1efb35296f do not include mmeye.h 2001-01-16 23:57:21 +00:00
sommerfeld
e8d906afaa Validate gate targets.
Fix by myself and Charles Hannum.
2001-01-16 23:32:21 +00:00
thorpej
f64af41401 No need to reference ifnet_addrs[]. 2001-01-16 21:18:56 +00:00
thomas
16090efe76 Let lpmatch recognice the printer. 2001-01-16 21:13:09 +00:00
thorpej
d418f0d68c Add support for AN985-based CardBus network interfaces.
From Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-01-16 18:55:00 +00:00
thorpej
23ded7f4c2 Regen; ACCTON and AboCom AN985 Ethernet devices. 2001-01-16 18:43:19 +00:00
thorpej
cb7242ca2f Add some ACCTON and AboCom AN985 Ethernet devices. 2001-01-16 18:42:56 +00:00
itojun
a1c683863b remove evbsh3/mmeye.h. it shouldn't be necessary, or at least it has to
be renamed to something better.
XXX dreamcast/mmeye.h
2001-01-16 17:36:02 +00:00
thorpej
2663816278 Fix register offset botch when setting the multicast filter on
the ADMtek AN985.
2001-01-16 17:33:24 +00:00
itojun
85b6e2618d typo 2001-01-16 17:13:28 +00:00
nonaka
8492c6a9e8 Add prep installer 2001-01-16 16:53:57 +00:00
nonaka
58acc910af regen 2001-01-16 15:57:54 +00:00
nonaka
417efc284d Add Roland SCP-55 2001-01-16 15:56:48 +00:00
itojun
72f7f224db run IPCP only if we have IPv4 in kernel 2001-01-16 15:28:27 +00:00
augustss
1d25789f34 Update with recent files. 2001-01-16 11:54:13 +00:00
itojun
039777e3c8 s/ND6DEBUG/ND6_DEBUG/ to meet other places 2001-01-16 06:16:37 +00:00
thorpej
9f5a22b3ee New syscall entry implementation based on the Alpha version
as hacked by mycroft.
- Use syscall_intern() to give a process a plain or fancy
  syscall based on ktrace flags.
- Avoid copying from the trapframe into a local array as much
  as possible.

Yields roughly 5% improvement on a 25MHz R3000 (DECstation 5000/200)
on a simple syscall benchmark.

There's still some work that can be done using __HAVE_MINIMAL_EMUL.
2001-01-16 06:01:26 +00:00
nisimura
f20b78bb5d Add a definition for PMAGD which should cover all (three?) variations of
it.  Left commented out until DECstation switchs to WSCONS.
2001-01-16 05:49:41 +00:00
nisimura
bd7039cbdb - relocate the code to place sprite cursor inside interrupt handlers
called on every virtical replace.
- efforts to make the code strucutures similar across TC framebuffers.
2001-01-16 05:32:16 +00:00
nisimura
f493d886c1 - make this more senseful 32bpp TC framebuffer. This is far less broken
than the preivous code.  It can show readable characters on screen.
  Tested only with 32bpp model of PMAGD opion card.  Need more work for 8bpp.
- 2D accelleration will be revamped to ultilize SFBplus features.
- there seems much mulfunctionness in 32bpp codes of /sys/dev/rasops/.
  Need to rectify every corners.
2001-01-16 05:06:02 +00:00
thorpej
e573dbe78c We haven't used the 4.4BSD kadb stuff for a long time; garbage
collect it.
2001-01-16 04:34:47 +00:00
augustss
46130fb7e5 Add uyap. 2001-01-16 03:38:22 +00:00
augustss
6fe782cff1 Use the real Y@P firmware. Permission granted by Kamal Parmar,
<kamal@siliconportals.com>, at Silicon Portals.
A big thanks to Silicon Portals for being cooperative (unlike many USB
device vendors).
2001-01-16 03:10:09 +00:00
mycroft
b9e3ed1f0a Allow read-write descending memory segments (not that anybody ever uses
descending segments).
2001-01-16 01:50:36 +00:00
marcus
2e39f7eacf Added keymap for European keyboards. 2001-01-16 00:56:29 +00:00
marcus
bc9ea0aebd Dreamcast uses a different realtime clock than the builtin RTC. 2001-01-16 00:34:44 +00:00
marcus
322c255ab3 WSCONS console added. 2001-01-16 00:33:50 +00:00
marcus
839caf1064 PowerVR display driver. 2001-01-16 00:33:20 +00:00
marcus
ecb24087d2 Maple bus keyboard driver. 2001-01-16 00:33:01 +00:00
marcus
ee6259c508 Maple bus driver. 2001-01-16 00:32:42 +00:00
bjh21
f575270d81 Switch over to using the arm32 sigcontext structure.
Yes, this causes binary incompatibility.  Yes, it's Evil, Bad and Wrong.
Nonetheless, I think it's probably the least unpleasant way to get close to
binary compatibility with NetBSD/arm32, and a very much doubt there are any
arm26 binaries out there that depend on the old shape of struct sigcontext.
2001-01-16 00:29:45 +00:00