christos
dfd0f0f949
PR/6669: Michael Eriksson: pcic_chip_mem_alloc() can't handle large requests
1999-01-01 14:05:18 +00:00
mark
1eb9f63a3c
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:42:47 +00:00
mark
4a23b01275
Tidy up this file.
1999-01-01 12:41:13 +00:00
mark
04d8f160e7
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:40:39 +00:00
mark
cc829bbdde
Sync with reality.
1999-01-01 12:13:49 +00:00
mark
d235c19724
This file has been replaced by makemodes.awk.
1999-01-01 10:28:57 +00:00
mark
97036bd92c
Use makemodes.awk to parse the MDF files rather than building a custom
...
binary from makemodes.c. This makes cross compiling simpler.
1999-01-01 10:28:16 +00:00
mark
8b0bd1ca77
Initial commit of awk replacement for makemodes.c
...
This is an awk script to parse an Acorn Monitor Definition File and
generate a C file containing the selected mode timing parameters.
Read the comments at the start of the file for details on use.
This file replaces makemodes.c
1999-01-01 10:26:41 +00:00
augustss
87f8cbd14e
Add a Communication Class header file.
1999-01-01 07:43:13 +00:00
tsubai
13529d1878
bmac ethernet driver. (tested on iMac. only 10Base-T works.)
1999-01-01 01:27:52 +00:00
mark
2197d0696d
The scsipi_adapter structure is part of the sfas_softc structure
...
rather than the csc_softc structure.
1998-12-31 09:44:42 +00:00
mark
14a36628f5
Add a missing semi colon.
1998-12-31 09:37:12 +00:00
augustss
3a16b606a6
Implement autorepeat in raw keyboard mode.
1998-12-30 19:25:27 +00:00
augustss
a971be193b
Add USB keyboard type.
1998-12-30 19:15:11 +00:00
augustss
20f51aae57
Split usbd_delay_ms() into two functions, one can be used in
...
device drivers.
1998-12-30 18:06:25 +00:00
augustss
87fea0705b
Implement raw keyboard mode for X.
1998-12-30 18:03:37 +00:00
augustss
85ff7a3234
Fold line.
1998-12-30 17:48:48 +00:00
augustss
3b9a669a7d
Remove #include that slipped in at FreeBSD merge.
1998-12-30 17:46:20 +00:00
augustss
503bbd973d
Allow the wsmouse device to be opened for writing even if it is already
...
open, this way ioctl() can be performed on it and wsconsctl works.
1998-12-30 14:02:18 +00:00
augustss
44df4dcc85
Add a wscons display type `unknown' that the generic VGA driver can
...
return until someone fixes it for real.
1998-12-30 13:54:03 +00:00
hwr
446f262aa5
Regen
1998-12-30 13:50:42 +00:00
hwr
4d3847e0ea
Add NeoMagic MagicGraph 128ZV graphic chip.
1998-12-30 13:49:49 +00:00
augustss
a4a02fda54
Make it compile without USB_DEBUG, fixes PR 6689. Patch from
...
taca@sky.yamashina.kyoto.jp (Takahiro Kambe).
1998-12-30 13:25:54 +00:00
augustss
0ae031028d
Add a special wsmouse type for USB mice.
1998-12-30 13:14:21 +00:00
dbj
c96a4ad63d
Continued work on esp driver. Now successfully identifies a scsi target.
...
Unfortunately, to get dma to work, we have to align past the end of
the buffer, which smashes other variables on the stack.
match function still disabled, as it isn't ready yet.
1998-12-30 12:02:03 +00:00
dbj
3fec12a459
Added parens around ADD_BYTES_LIM() macro definition to protects its
...
use of the low precedence ?: conditional operator. This fixes a bug
in scsipi_interpret_sense when printing out debugging info.
1998-12-30 11:17:34 +00:00
augustss
85299e125c
Regen.
1998-12-30 03:55:49 +00:00
augustss
cce7071d57
Add iMac devices.
1998-12-30 03:52:30 +00:00
dbj
d3e627398e
changed register for start of dma buffer to be DD_NEXT_INITBUF instead
...
of DD_NEXT for regular dma transfers, and not just ethernet transmit.
Keep track of dma read/write direction and set it each time we start or
restart dma. This allows scsi to work, and doesn't appear to hinder ethernet.
1998-12-30 03:05:29 +00:00
augustss
21e272bf01
Do not blindly assume that a device supports language id 0, instead
...
ask it what languages it supports.
1998-12-29 16:02:55 +00:00
augustss
c047e03d90
Update copyright to the TNF standard.
1998-12-29 15:57:46 +00:00
augustss
9bcfc24c6b
Add some #if 0 code for keyboard console attachment.
1998-12-29 15:42:30 +00:00
augustss
5aa16bd113
Don't set configuration unnecessarily, some (broken) devices seem to break
...
if you do.
1998-12-29 15:33:10 +00:00
augustss
961d81ade7
Return more info in ioctl(USB_DEVICEINFO).
1998-12-29 15:27:16 +00:00
augustss
0f94f62616
The Peracom serial converter (like some other devices) claim to have
...
string descriptors, but gets very upset if you read them.
1998-12-29 15:23:59 +00:00
augustss
32f13388c5
Regen.
1998-12-29 15:21:33 +00:00
augustss
a7147eda73
Add Peracom serial converter.
1998-12-29 15:19:40 +00:00
augustss
6b5d35ee9d
Minor change in a debug printf.
1998-12-29 14:29:53 +00:00
augustss
683fd3dfba
Add some more useful #defines.
1998-12-29 14:27:33 +00:00
marc
9ada0bf40f
check for end of tuple while reading cfe data
1998-12-29 09:03:15 +00:00
marc
0380eb8f98
added SVEC_LANCARD
1998-12-29 09:00:50 +00:00
marc
5d9e772403
added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD
1998-12-29 09:00:28 +00:00
marc
0de74697c4
rebuilt from pcmciadevs
1998-12-29 08:59:14 +00:00
marc
b5f4f4dcfe
add SVEC losing ethernet card
1998-12-29 08:58:37 +00:00
tsubai
bdf1b68276
iMac support (not complete yet).
1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a
Fix a bug of last change.
1998-12-29 05:17:27 +00:00
augustss
47ff9e7c63
Implement short transfers.
1998-12-29 05:08:57 +00:00
tsubai
d5fc963f0e
Add USB.
1998-12-29 04:40:19 +00:00
augustss
fe9a1b2b2d
Implement short transfers.
1998-12-29 04:15:04 +00:00
augustss
3064141641
Make it possible to specify the request flags when issuing a raw USB request.
1998-12-29 03:13:10 +00:00
augustss
16b49a78c6
New USB attach args.
1998-12-29 03:09:48 +00:00
augustss
4c9147cd38
Remove part of the bigendian patch that was not supposed to be commited.
1998-12-29 03:01:44 +00:00
augustss
d4fa2978fa
Imprive debugging message.
1998-12-28 21:05:47 +00:00
augustss
4386ae98b0
Send more information to USB attach routines so that they can claim
...
multiple interfaces.
1998-12-28 21:05:26 +00:00
augustss
dfad58d4e0
Change the host controller internal API a little and add some incomplete
...
support for isochronous transfers.
1998-12-28 20:13:59 +00:00
mjacob
d6cab14b00
clean up headers
1998-12-28 19:12:26 +00:00
mjacob
8ac99457db
I mean *really* clean up headers
1998-12-28 19:12:04 +00:00
mjacob
b51e3fbf3c
clean up headers; remove early revision 2100 workarounds
1998-12-28 19:11:32 +00:00
mjacob
e5e787230b
clean up headers; move uninit/watch to outer layers
1998-12-28 19:10:43 +00:00
mjacob
9ccf227085
clean up header
1998-12-28 19:07:38 +00:00
augustss
c9cf2c5601
Fix typo.
1998-12-28 16:41:11 +00:00
augustss
1256add6be
Update for new name in usb.h
1998-12-28 16:13:44 +00:00
hannken
bf9e279952
Prepare for wsconsctrl:
...
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.
1998-12-28 13:48:24 +00:00
augustss
020a909cba
Add a lot of byte swapping to get the code to work on big endian machines.
...
Patch from Tsubai Masanari <tsubai@iri.co.jp>.
Add an extra controller reset. According to the OHCI spec it shouldn't
be necessary, but without some machines don't work.
1998-12-28 12:56:19 +00:00
augustss
3c6b7ccc2a
Cosmetics.
1998-12-28 12:52:38 +00:00
augustss
f4133e9fae
Update timing again (for bad devices).
1998-12-28 12:35:27 +00:00
mark
058cf2a88c
Apply patch from PR port-arm32/6357 to make the wdc attachment to the
...
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
mark
767af4d82c
Add a check for r8 equal to 0 and do a quick exit if it is.
1998-12-28 09:39:02 +00:00
ross
509315b9e0
We don't call prom_open() here anymore, so don't call prom_close() either!
1998-12-28 09:12:52 +00:00
augustss
be8213d207
Add some isoc defines.
1998-12-28 03:27:00 +00:00
augustss
2e0dbd3cc0
Add another power up wait so that some devices (that do not follow
...
the spec) start up more reliably.
1998-12-28 02:23:25 +00:00
augustss
cd36ca65dd
Fix typos.
1998-12-28 02:20:28 +00:00
augustss
8fe37fa62c
Cosmetics.
1998-12-28 02:06:25 +00:00
tsubai
2ad7314a82
Configure only one wskbd/wsmouse.
1998-12-28 00:50:44 +00:00
tsubai
e7e9a2e0e1
Use "interrupt" property if "AAPL,interrupt" is not found.
1998-12-28 00:38:18 +00:00
nisimura
fe061a7ae4
- Eliminate dead code in TLB miss handler. Fortunately it has never been
...
executed. Once execunted, the result would be castrophic because it has
addressing error.
1998-12-28 00:31:03 +00:00
augustss
6afab47ac5
Be more careful when forming the TD endpoint field.
1998-12-27 23:40:52 +00:00
augustss
5c3f51a42a
Add quirk for bad version no. in audio control descriptor.
1998-12-27 23:38:13 +00:00
augustss
33f1482ece
Make sure recording is started before we return EWOULDBLOCK in a read().
1998-12-27 23:25:32 +00:00
augustss
496387c419
Fold lines to 80 chars.
1998-12-27 22:52:23 +00:00
thorpej
89a7b98a55
Defopt POOL_DIAGNOSTIC and POOL_LOGSIZE.
1998-12-27 21:14:56 +00:00
thorpej
e1315a2447
Make this compile with POOL_DIAGNOSTIC, and add a POOL_LOGSIZE option.
...
Defopt these.
1998-12-27 21:13:43 +00:00
thorpej
f079e8d39c
Simplify the rttimer code somewhat; use TAILQs instead of CIRCLEQs (we
...
didn't really need to traverse the queues backwards anyhow), and other
minor code simplification.
1998-12-27 18:27:48 +00:00
augustss
da39a16267
Fold lines to 80 chars.
1998-12-27 13:03:58 +00:00
veego
50cc03465e
Fix kern/6658 from Martin Husemann:
...
After booting a current kernel and receiving a few arp requests on the
network it panics (data modified on free list). The panic message is wrong,
as code inspection shows the memory pool for routing entries is intialized
twice, while the routing timer memory pool is never initialized.
1998-12-27 11:44:41 +00:00
dbj
ba3bedf25e
After some experimentation, now allow dma start alignment to be 4.
...
Removed separate alignment constant for ethernet since it appears to
be unnecessary.
1998-12-27 09:03:14 +00:00
is
bc72f5a29c
Make it table-driven. Besides making adding more devices easier, the resulting
...
code is 14% smaller (alas, for this file only).
1998-12-26 22:22:58 +00:00
augustss
e0c228ae9c
Merge changes to make the USB stack work with FreeBSD. The original
...
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00
marc
e21b4568e2
When a reference is made to a hole in a swap file, panic. The optimal
...
thing would be to allocate the block, but I don't know how to do this.
The panic is preferable to the random memory corruption the old code
was causing.
1998-12-26 06:25:59 +00:00
dbj
ea8f01b987
Continued experimentation on SCSI driver.
...
Added nextdma_debug variable to control debug printouts in nextdma driver
when ND_DEBUG is defined.
1998-12-26 06:17:44 +00:00
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