thorpej
d611fd596a
Use vprintf() rather than the non-standard %: format.
2000-05-08 18:22:29 +00:00
ragge
aedfd4de1c
VAX 4000/200 support. From Michael Kukat.
2000-05-08 17:53:24 +00:00
ragge
0028464ae3
Add 4000/105 and VXT2000. From Michael Kukat.
2000-05-08 17:49:07 +00:00
dante
6644e670f7
Change the way ADW_CARRIER is allocated and handled.
...
Increased ADW_MAX_CCB to 63 and ADW_MAX_CARRIER to 253
Print WDTR/SDTR negotiation result per target
Protect AdvISR() inside splbio()/splx() pair
Add a pending queue to keep track of all the CCBs that are being executed by the host adapter.
Rewrote timeout handler in a more efficient way:
After 3 timeout now the SCSI is resetted and all pending queues not completed are now reenqueued in the waiting queue so to get executed just after the BUS Reset (hoping that resetting the SCSI BUS and reinitializing the adapter could solve the problem).
2000-05-08 17:21:33 +00:00
dante
2648a72bb2
Minor changes to PCI configuration
2000-05-08 17:11:54 +00:00
ragge
c17aed4bdc
Console support for VXT 2000, VAX 4000/105 and VAX 4000/500.
...
From Michael Kukat.
2000-05-08 17:06:48 +00:00
joda
827056c9c3
add entry for viaenv
2000-05-08 16:42:36 +00:00
joda
6d3ce966ce
VIA VT82C686A hardware monitor
2000-05-08 16:40:42 +00:00
itojun
e6469f14ad
move static function getstr() to cons.c, make it publically available
...
as cngetsn(). there will be other consumer.
2000-05-08 16:30:57 +00:00
augustss
20edddd023
KNF the code and fix three bugs:
...
* If a non-zero addr was given to rbus_space_alloc_subregion() it would
claim to have allocated region when in fact it just failed.
* If a non-zero addr was given to rbus_space_alloc_subregion() allocation
often (always?) failed when it shouldn't.
* One part of rbus_space_alloc_subregion() used an alignment that always
made the kernel panic.
I'm not sure if my change is correct, because I don't know what this code
is supposed to do. But now I can use a 3c562 card.
2000-05-08 14:00:05 +00:00
augustss
fd36bc02a6
Swap the order of disabling the function and disestablishing the interrupt
...
on detach. This avoid accessing unmapped registers on multi-function cards.
2000-05-08 13:53:32 +00:00
augustss
621323af72
KNF some comments.
2000-05-08 13:51:36 +00:00
augustss
3a6e3a4670
Add (sometimes commented out) MIIVERBOSE option.
2000-05-08 13:49:44 +00:00
augustss
e169e0018c
Regen.
2000-05-08 13:26:05 +00:00
augustss
43c5780ae1
Allow a verbose description to be printed with the option MIIVERBOSE.
2000-05-08 13:25:34 +00:00
augustss
56aa5c16d1
Add another AMD chip.
2000-05-08 13:23:21 +00:00
kleink
05f0b17555
Make pci_get_capability() work correctly on both header type 0 and type 2
...
devices; both have different Capability List Pointer registers.
2000-05-08 10:52:38 +00:00
kleink
085ec82073
Add a register offset for the Capability List Pointer in header type 2.
...
XXX Ideally the PCI-Cardbus Bridge header should be restructured to just
XXX present standard register definitions, making it ~safe to be included.
2000-05-08 10:45:52 +00:00
kleink
de328af944
Fix a inverted logic botch introduced in rev. 1.35, typically causing
...
cb_chipset() to return the wrong chipset type.
2000-05-08 07:31:20 +00:00
mycroft
a7fb64072e
Fix the RCS tag format. Duh.
2000-05-08 03:11:06 +00:00
mycroft
f8e0411615
Make the audioamd assembler code compile again.
2000-05-08 03:09:54 +00:00
mycroft
f5bd37be57
Make the SPARC audioamd driver at least *compile*. Well, the C code, that is.
...
*sigh*
2000-05-08 02:44:31 +00:00
fvdl
5ebece6b49
Use ES to address the partition table when checking if we need to use
...
int13 extensions. Fixes PR 9676.
2000-05-07 22:58:58 +00:00
wiz
8651580247
man page is written, remove it from TODO
2000-05-07 20:47:10 +00:00
jonathan
8ee4c016eb
PCI product codes for Yamaha YMF744B (DS-1S) YMF754 (DS-1E) audio chips.
2000-05-07 17:00:06 +00:00
jonathan
0d57ac396d
Product codes for Yamaha YMF744B (DS-1S) YMF754 (DS-1E) audio chips.
2000-05-07 16:56:34 +00:00
veego
f7e2752025
Change one 0 for bootverbose to 1 if DEBUG is defined.
2000-05-07 14:59:23 +00:00
veego
20ae91400c
Add a dummy bootverbose.
2000-05-07 14:49:11 +00:00
veego
21942247f3
It is a bad idea to declare a static bootverbose variable here. Remove it.
2000-05-07 14:43:31 +00:00
martin
41dc1a6839
Avoid stomping on the W0_CONFIG_CTRL register which seems not to be
...
implemented on EISA cards. This makes a 3Com 3C597 Fast Etherlink TX
work for me at last, fixing PR kern/7067.
2000-05-07 14:03:25 +00:00
martin
4a351b20bc
Minimized io ports reserved by this driver to the ports actually needed.
...
Fixes PR kern/5279 for this driver.
2000-05-07 13:57:16 +00:00
wiz
4211fcfd7e
remove unnecessary output to console
2000-05-07 13:50:10 +00:00
veego
701eaba273
add the #71 NODEV entry for bktr to the chrtoblktbl list.
2000-05-07 08:32:50 +00:00
wiz
7392f90215
multiple inclusion protection
2000-05-07 03:01:58 +00:00
wiz
3d3dc5c594
add one
2000-05-07 01:46:01 +00:00
tsarna
9bd6bb5e81
Auto-adjusting vfs.nfs.iothreads: when mounting the first nfs
...
filesystem, if the number of threads is "-1", meaning it's never been
set, then set it to 4. You can override by setting this to some other
number (including 0) before or after mounting, of course.
Thanks to whoever it was that suggested this on ICB... sorry I don't
remember who.
2000-05-07 01:38:36 +00:00
wiz
2f7dba9ea1
compilation fix
2000-05-07 01:16:23 +00:00
wiz
784bcfd6ba
add bktr device
2000-05-07 00:41:06 +00:00
wiz
eb37e6442b
also add cdev_decl for bktr
2000-05-07 00:38:39 +00:00
wiz
6e87b42ecd
bktr driver added
2000-05-07 00:31:42 +00:00
wiz
188ac21f3f
add bktr
2000-05-07 00:29:19 +00:00
wiz
006e9528a1
install bt8xx.h for bktr
2000-05-07 00:29:03 +00:00
wiz
4caea4817d
some glue for bktr-driver
2000-05-07 00:25:58 +00:00
wiz
5f8b869a3e
Some NetBSD specific changes; also TODO, and import script, based
...
on bind2netbsd by Bernd Ernesti
2000-05-07 00:24:33 +00:00
wiz
c2f780fbfd
Import of (finally busspaced) bktr-driver from FreeBSD (part 2).
...
This version is from the location specified in the README, modified
by bktr2netbsd, to be committed later.
2000-05-07 00:17:13 +00:00
wiz
8b27ce1a70
Import of (finally busspaced) bktr-driver from FreeBSD (part 1).
...
This version is from the location specified in the README, modified
by bktr2netbsd, to be committed later.
2000-05-07 00:16:17 +00:00
augustss
26f708a5a3
Handle the Linksys USB100H1 like the other Linksys adapters.
...
Restructure the code a little.
2000-05-06 20:38:59 +00:00
augustss
fd58a6ae12
Regen.
2000-05-06 18:28:36 +00:00
augustss
13d8353ffc
Add Linksys USB100H1, an Ethernet and HomePNA adapter.
2000-05-06 18:28:01 +00:00
sommerfeld
90f481ef3f
Handle large offsets with very small options correctly.
2000-05-06 16:35:14 +00:00
augustss
82cfd6b42a
Simplify an expression.
2000-05-06 14:35:28 +00:00
augustss
4c46b93c8d
Add bba.
2000-05-06 14:34:31 +00:00
nisimura
d8fe118608
- Remove three unused contants; KERNBASE, KERNTEXTOFF and BTOPKERNBASE.
...
- Protect #include <machine/intr.h> inclusion with #ifdef _KERNEL.
- Correct the case when "opt_gateway.h" is refered.
2000-05-06 05:55:09 +00:00
nisimura
0cb6da487c
Remove unused mapin(pte, v, pfnum, prot) macro.
2000-05-06 05:19:32 +00:00
mrg
0ce52a2a08
implement U2P PCI support in psycho_init. this is completely untested.
2000-05-06 04:15:35 +00:00
mycroft
176e840713
GC in_interfaces.
2000-05-06 02:41:32 +00:00
soren
5e209d22f7
Print the usual interrupt line.
2000-05-06 00:46:19 +00:00
soren
6a1547768c
Typos.
2000-05-06 00:44:00 +00:00
perseant
737dec82d6
Change the way LFS does block accounting, from trying to infer from the
...
buffer cache flags, to marking the inode and/or indirect blocks with a
special disk address UNWRITTEN==-2 when a block is accounted for. (This
address is never written to disk, but only used in-core. This is essentially
the same method of block accounting as on the UBC branch, where the buffer
headers don't exist.) Make sure that truncation is handled properly,
especially in the case of holey files.
Fixes PR#9994.
2000-05-05 20:59:20 +00:00
hannken
0b2854eb6c
Fix for lint during build of libc.
2000-05-05 20:12:00 +00:00
matt
2b44ae84ee
LP64 printf fix. (I wish size_t was unsigned long on all platforms).
2000-05-05 17:52:38 +00:00
matt
650107086a
remove superfluous test (snd_una is always > iss since th_ack must > iss
...
(first test at start of case) and th_ack is assigned to snd_una).
2000-05-05 15:05:29 +00:00
matt
5a6e4c896c
From PR #3733 : Only disarm timer if SYN contained the ACK bit since if
...
it didn't it would be a crossing/simultaneous SYN and doesn't mean the
remote TCP received our SYN.
2000-05-05 14:51:46 +00:00
augustss
e991ee6035
Use correct file name for amd7930.
2000-05-05 14:19:25 +00:00
pk
f622dc8618
Define some more bits in the MXCC control register.
2000-05-05 11:07:15 +00:00
bouyer
904ca34539
Ops, restore sync/wide parameters after a reselect.
...
Also, better handling of parity errors.
2000-05-05 09:32:48 +00:00
bouyer
4c9516aa3b
Rework the command queue, to avoid having commands blocked at the end
...
of the queue. Load is now properly balanced across all disks of the same bus.
2000-05-05 09:05:44 +00:00
itojun
b5393f9387
correct in6_ifdetach() (previous code touched dangling pointers).
...
actually the corrected portion was never visited.
2000-05-05 08:03:12 +00:00
soren
ee733492dd
Add licenses.
2000-05-05 03:27:22 +00:00
soren
95f3c9498d
MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated.
2000-05-05 03:18:25 +00:00
hubertf
b3b709b6e2
Add comment pointing to __NetBSD_Version__ in sys/sys/param.h, which
...
needs updating too if the OS release is bumped.
2000-05-05 01:13:07 +00:00
thorpej
b193ffa77c
Use __GNUC_PREREQ__().
2000-05-05 00:20:22 +00:00
thorpej
2fffc76da2
Add a new macro, __GNUC_PREREQ__(major, minor) which tests to see if
...
the compiler is GCC and at least the version specified by <major,minor>,
and use it in a few appropriate places in this file.
2000-05-05 00:19:04 +00:00
kristerw
020e448c4b
Regen
2000-05-04 21:56:47 +00:00
kristerw
c60bd75960
Added lchflags and issetugid
2000-05-04 21:52:32 +00:00
ragge
40a7f5d1f1
Oops, must bump version letter here also. (Thnx, Bernd!)
2000-05-04 20:18:32 +00:00
jhawk
c82c8655cf
Add comment suggesting s/com[0-9]/com*/ and s/lpt0/lpt*/
...
if you enable com*/lpt* at pnpbios0, to avoid attaching
com0 as com3.
Don't actually change the "com0 at isa" line, since doing so
would cause some com* (e.g. pcmcia) to be renumbered from com3
to something lower, at least on some systems.
2000-05-04 19:41:44 +00:00
ragge
642275fec4
Bump revision letter due to recent struct rtentry changes. Still one to go :-)
2000-05-04 17:34:28 +00:00
ragge
8a9c114515
Change rt_refcnt from short to int, to allow more than 32k routes thru
...
one interface without unexpected side effects.
2000-05-04 17:33:03 +00:00
ad
fc89ce9f53
Oops, nuke unused structure member.
2000-05-04 17:27:25 +00:00
bouyer
2306b4a34e
When a WDTR message is rejected, initiate sync negotiation anyway.
...
When a SDTR message is rejected indicate that target is async
Add a missing bus_dma_sync call.
2000-05-04 17:18:27 +00:00
bouyer
f5b572d26b
- LP64 issues in debug printfs.
...
- on a phase mismatch, do byte recovery only if we were in data phase.
Otherwise just clear the fifo.
- Properly handle reject of a sync or wide negotiation.
2000-05-04 16:56:13 +00:00
bouyer
babd44e7a1
Ops, regen siop.out from the last siop.ss.
2000-05-04 15:44:35 +00:00
bouyer
c8ff442f72
Add a flag hold in scratcha0, set when we're doing a data transfer. Used
...
for save data pointers.
2000-05-04 15:42:42 +00:00
takemura
9601a833c3
Remove wmipsdbg and wmipsrel as well as WMIPSDbg and WMIPSRel for
...
case sensitive file system.
2000-05-04 11:58:22 +00:00
takemura
f056a711d7
Add some lines to support ATAPI and SCSI devices.
...
This makes the kernel 60KB bigger.
2000-05-04 10:32:47 +00:00
takemura
d865561de6
Raw keyboard mode support. I'd tested this on MC/R530.
...
I don't sure if skbd work or not.
2000-05-04 10:25:45 +00:00
takemura
fe8142f713
Raw keyboard mode support. I'd tested this on MC/R530.
...
I don't sure if skbd work or not.
2000-05-04 08:18:59 +00:00
takemura
33698fcc25
Mouse move event should be made before mouse bown event. Without that,
...
you may got a mouse down event in strange plase.
2000-05-04 06:14:05 +00:00
shin
f077f10640
fix scancode -> keycode mappings:
...
MC-CS arrow keys
PV-6000 semicolon and apostrophe
2000-05-04 02:24:13 +00:00
thorpej
d3d81e3ad6
Make varargs and stdarg work with GCC 2.96 and later.
2000-05-03 21:54:06 +00:00
thorpej
33e0776eda
Remove junk after #undef.
2000-05-03 21:41:43 +00:00
mycroft
468985f608
Adjust asm statement for newer GCCs.
2000-05-03 21:32:59 +00:00
mycroft
319d44bfb1
Adjust asm patterns for newer versions of GCC.
2000-05-03 21:20:07 +00:00
thorpej
5a5c88dc4e
`typedef void ifnet_ret_t;' isn't valid C -- use #define, instead. Also,
...
don't abuse the C preprocessor.
2000-05-03 21:08:02 +00:00
thorpej
081e7cbdaf
`typedef void ifnet_ret_t;' isn't valid C -- use #define, instead.
2000-05-03 20:52:29 +00:00
mycroft
f73803d1ce
Fix printf() format.
2000-05-03 20:17:37 +00:00
mycroft
3afc302a93
ctob() -> ptoa(), to fix sign-extension issues when using >2GB. A more
...
comprehensive change will be necessary for >4GB, but that's a bigger issue.
2000-05-03 20:02:08 +00:00
thorpej
b29178acf3
Remove unnecessary junk on #undef line that some C preprocessors
...
get cranky about.
2000-05-03 19:19:04 +00:00
thorpej
e37397c2e8
`typedef void ifnet_ret_t;' isn't valid C -- use #define, instead.
2000-05-03 19:17:54 +00:00
thorpej
ab635a46d3
Slight change to previous.
2000-05-03 19:15:27 +00:00
thorpej
2d66ccbd13
Don't return an uninitialized error code.
2000-05-03 18:58:37 +00:00
thorpej
01e8438aa8
Fill in ccb->ccb_req.sgcount with the value that's guaranteed to
...
be initialized.
2000-05-03 18:58:15 +00:00
jdolecek
02710dee26
Make the ntfs entry in fscknames NULL - there is no fsck_ntfs.
...
Pointed out by Andy Doran in private e-mail.
2000-05-03 18:28:46 +00:00
mycroft
d0d92c23d0
Use USBD_NORMAL_COMPLETION in the previous.
2000-05-03 18:21:36 +00:00
mycroft
ffe599486c
When emulating UHF_PORT_POWER for the internal hub, make sure to initialize
...
the status return value.
2000-05-03 18:14:49 +00:00
ad
cd1719f273
Remove obsolete comment.
2000-05-03 14:53:15 +00:00
sommerfeld
4d573016ed
Let MULTIPROCESSOR && LOCKDEBUG case compile again
2000-05-03 13:53:59 +00:00
kleink
bd2d21b5d1
Display the VPD's PrintableModel item on startup.
2000-05-03 11:39:54 +00:00
veego
21dea2100c
Resolve conflicts.
2000-05-03 11:12:03 +00:00
jdolecek
8bcd56bd12
make lkm_name in struct lkm_* a const
2000-05-02 22:13:20 +00:00
bouyer
3bb9a5f666
- do sync/wide negotiation
...
- use a circular queue for the start slots, so that order has better chances
to be preserved.
2000-05-02 19:03:02 +00:00
nonaka
ad9dd901f1
mbr partition table parameter is little endian.
...
need to bswap.
2000-05-02 18:19:01 +00:00
nonaka
93f867f485
LABELOFFSET 42 -> 64
2000-05-02 18:13:04 +00:00
nonaka
2ed0c0fe88
add cn_bell to struct consdevs pccons.
2000-05-02 18:11:07 +00:00
uch
89cb6ad8b8
forgot to commit TX3912.
2000-05-02 18:00:54 +00:00
uch
3c873423e1
add ioctl, mmap.
...
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch
9dccb575be
change hpfcb_cnattach interface to adopt current implementation.
2000-05-02 17:45:15 +00:00
sommerfeld
a5ff71cecc
One more __attribute__((__packed__)) to dissuade egcs from making
...
unwarranted asumptions about the structure's alignment.
2000-05-02 14:15:07 +00:00
pk
c49e7076d3
Simplify pmap_page_protect(); modelled after a similar change by
...
Art Grabowski in Openbsd.
2000-05-02 13:06:27 +00:00
itojun
aee9bb5b5f
IPv6CP support. if IPv6 link-local address is configured to the interface,
...
the interface tries to negotiate ifid with the other end by using IPv6CP.
other changes:
- do not share ppp sequence number across protocols.
- if LCP proto-rej is received, drop the protocol mentioned by the message.
this is to be friendly with non-IPv6 peer (if the peer complains due to
lack of IPv6CP, drop IPv6CP). this basically implements "RXJ+" state
transition in the RFC.
- cleanup debugging message. always print blank just before message.
CAVEAT:
- if the peer uses the same MAC address as our side (pretty unlikely)
the code may go into req-rej loop.
- even though we negotiate ifid, we don't configure destination address
onto the interface. it is not really necessary to do so (IMHO).
- I've tested this code on a NetBSD 1.4.2 node, which was with fair amount
of modifications. not sure if the committed code does it right... (please
test and send reports)
2000-05-02 12:43:16 +00:00
augustss
9f9f06401c
Add (commented out) cms(4) driver.
2000-05-02 11:00:56 +00:00
pk
d46e0d77c0
Remove unused code: getptesw4m(),setptesw4m()
2000-05-02 10:35:06 +00:00
pk
716a862d08
Lock internals have changed, and we depend on those in here.
2000-05-02 09:29:39 +00:00
augustss
8abcd395fd
Add bba(4) attachment.
2000-05-02 08:04:24 +00:00
augustss
e15d2472fa
Fix typo.
2000-05-02 08:03:53 +00:00
augustss
087a67c892
Add proper bba attachment. From Gregory McGarry <g.mcgarry@ieee.org>
2000-05-02 08:02:07 +00:00
augustss
c6df4d8830
Comment out bba since I don't really know if it's right.
2000-05-02 07:23:56 +00:00
augustss
05ef4c3d35
Add bba(4) attachment at tc.
2000-05-02 07:22:26 +00:00
augustss
621ef4d785
Add am7930 audio driver.
2000-05-02 06:43:05 +00:00
augustss
361f2141f7
Adapt to new am7930 driver. PR 10033 from Gregory McGarry.
2000-05-02 06:35:12 +00:00
augustss
f9dbbf4c92
Make am7930 driver machine independent. PR 10032 from Gregory McGarry.
2000-05-02 06:30:49 +00:00
thorpej
39f8e55cfc
On the m68k, the most efficient type for __cpu_simple_lock_t is
...
an unsigned char, since that is what the `tas' instruction uses.
While I'm here, implement the __cpu_simple_lock family of routines.
Why? One, because they're easy. Two, so Steve can get master/slave
MVME systems talking across the backplane. :-)
2000-05-02 05:17:45 +00:00
thorpej
855b79db92
Let each platform typedef the new __cpu_simple_lock_t, which should
...
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.
2000-05-02 04:41:04 +00:00
thorpej
8185691694
- If a platform defines __HAVE_ATOMIC_OPERATIONS, use them for counting
...
in the MULTIPROCESSOR case.
- Move a misplaced #ifdef so that LK_REENABLE actually works.
2000-05-02 04:32:33 +00:00
nathanw
8ca78ff825
In siop_lookup_product(), actually check the PCI *vendor* ID as well as the
...
product ID.
Prevents false matches of other devices, such as the DEC 21050 ppb.
2000-05-02 03:59:35 +00:00
thorpej
712326ecbd
Traditionally, the floppy controller was configured at 0x3f0 for 8 ports,
...
but the registers actually begin at 0x3f2, and this is what PNPBIOS reports
for the floppy controller resources. Adjust the register offsets and the
mapping of them for the ISA front-end to compensate, so that the PNPBIOS
attachment of the floppy controller actually works.
2000-05-02 03:33:45 +00:00
thorpej
5e915fcab9
Nuke some dead code.
2000-05-02 03:32:09 +00:00
augustss
c7d698ac41
Support recording conversions that change the sample size. PR 10029, from Gregory McGarry.
2000-05-02 00:00:00 +00:00
augustss
2365a92cb5
Add Creative Music System driver. From Gregory McGarry <g.mcgarry@ieee.org>
2000-05-01 22:48:33 +00:00
augustss
4e1e58e353
Change the way the codec is access to mimic how Linux&FreeBSD does it.
2000-05-01 17:15:41 +00:00
augustss
07f142cd50
Add some more debug output.
2000-05-01 17:10:40 +00:00
pk
91ec70f36d
- De-inline VA2PA(); it isn't in any time-critical path. Saves a bunch of space.
...
- Disable special-cased viking cache flushing in setpgt4m(). This work-around
should no longer be necessary.
- Remove some misc. dead code.
2000-05-01 15:19:46 +00:00
tsutsui
9498452c05
- Move some initialization into MI rl_attach() from each bus attachment.
...
- Use proper CARDBUS_* macro in if_rl_cardbus.c
- Use product ID read from PCI configuration space rather than from EEPROM
in if_rl_pci.c.
Patch sent from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> and
some cosmetic changes by me.
2000-05-01 15:08:50 +00:00
pk
d4ac7f24ca
Implement HyperSPARC specific pmap_{zero,copy}_page functions.
2000-05-01 14:06:41 +00:00
pk
784c538c3f
Add definitions of HyperSPARC block fill/copy ASIs.
2000-05-01 14:05:53 +00:00
ragge
8ddd256f57
Call uvm_pageidlezero() in idle loop.
2000-05-01 12:11:50 +00:00
ragge
a5a1a12d83
#define __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED.
2000-05-01 12:09:32 +00:00
kleink
0344f24921
Like, really block soft clock interrupts.
2000-05-01 10:52:29 +00:00
kleink
2c9e3487e0
Bump default data size to 32 MB.
2000-05-01 10:43:42 +00:00