Commit Graph

24586 Commits

Author SHA1 Message Date
thorpej b2097ee74d Regen. 1998-08-15 18:58:32 +00:00
thorpej 9314c120f7 Add the Trust Combo EthernetCard product ID, from Dante Profeta. 1998-08-15 18:58:05 +00:00
thorpej cb7214f1a4 Regen. 1998-08-15 18:56:16 +00:00
thorpej 81f67879f9 Add vendor ID for Socket Communications, and product ID for the
Socket Communcations Dual RS232 card.
1998-08-15 18:55:25 +00:00
mycroft d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
thorpej 7ce9726a7d Oops, don't forget to tick the MII once a second. 1998-08-15 17:04:52 +00:00
bouyer 1bbc572701 Fix typos in last commit. 1998-08-15 16:58:53 +00:00
thorpej c2f2b0d431 RoadRunner has a bit in Reset Options that must be set to enable the MII.
Define that bit.
1998-08-15 16:50:07 +00:00
bouyer 53d231dae3 correct indent. 1998-08-15 16:49:33 +00:00
thorpej a0aca43d11 Reset Options is in Window 3; correct a comment. 1998-08-15 16:47:30 +00:00
thorpej 479d8b25bf The 3c515 (Corkscrew) and 3c574 (RoadRunner) have their Window 1 registers
offset!  Define an inline function to compute the Window 1 register offset
and use it.
1998-08-15 16:20:51 +00:00
thorpej 31a3d86b80 Define the Corkscrew chipset - used by the 3c515 ISA 10/100mbps cards. 1998-08-15 16:15:40 +00:00
thorpej 3ca5e496cc Fix a brain'o that caused the 3c589 to not match. 1998-08-15 16:09:46 +00:00
rvb 305a943ba7 Use scsi style geometry printout 1998-08-15 15:05:22 +00:00
mycroft 62b1bf3e2e Assign my copyrights to TNF. 1998-08-15 10:51:16 +00:00
mycroft 228f894ea2 This code was written by Jason. 1998-08-15 10:38:03 +00:00
mycroft 530fef3c8d Assign my copyrights to TNF. 1998-08-15 10:34:43 +00:00
mycroft 6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
thorpej 7d0d0346fa Define the RoadRunner FIFO count registers. 1998-08-15 08:28:22 +00:00
scottr 4b02e4134c Initialize and enable an interrupt handler, which currently doesn't
actually do anything.
1998-08-15 07:42:50 +00:00
thorpej ccf620bfab Define the 3Com "RoadRunner" chipset; like the Boomerang, but for PCMCIA.
No DMA is wired up, it has a shared memory interface, and a FIFO buffer
which can be used to speed up PIO transfers.  (The latter two are
PCMCIA-specific speed hacks to deal hide the performance lossage from
using a PCMCIA->PCI bridge internally.)
1998-08-15 07:28:04 +00:00
thorpej 4c88513d7d Look up the PCMCIA 3Com products in a table-driven fashion, like the
PCI products.
1998-08-15 07:25:15 +00:00
thorpej d5b735ae79 In the NewMedia callback, make sure we have a LAN Node ID tuple. 1998-08-15 06:56:12 +00:00
thorpej 2be6d344ab Use the symbolic name for the tuple code used to find the Ethernet
address.
1998-08-15 06:46:33 +00:00
mycroft bf886f2029 Assign my copyrights to TNF. 1998-08-15 05:19:50 +00:00
mycroft 129cbf95ee Minor edit. 1998-08-15 05:16:41 +00:00
mycroft c9a799adf6 Assign my copyrights to TNF. 1998-08-15 04:57:50 +00:00
mycroft cc8a78e783 Assign my copyrights to TNF. 1998-08-15 04:42:42 +00:00
mycroft cdf829a998 Assign copyrights to TNF. 1998-08-15 04:22:45 +00:00
mycroft b2827b9d36 Assign copyright to TNF. 1998-08-15 04:16:55 +00:00
eeh 239bc62b37 Add a makefile. 1998-08-15 03:57:58 +00:00
mycroft df9baf2311 Assign copyrights to TNF. 1998-08-15 03:51:30 +00:00
mycroft 08ab3f8338 I didn't write any of this. 1998-08-15 03:36:34 +00:00
thorpej 06b7eb9001 Explicitly dereference the route timer expiration function pointer. 1998-08-15 03:17:21 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
thorpej 2b869a383f Use _CS_OFISA_MD_* callbacks for old, broken OpenFirmware builds. 1998-08-15 02:59:01 +00:00
mark 2a48768678 Debug inst_unconditional_flow_transfer and next_instr_address
macros so that single stepping works correctly.
1998-08-15 02:57:28 +00:00
mycroft dd769acbfb Name some constants consistently between drivers. 1998-08-15 02:37:50 +00:00
mycroft cc84859459 Map the EISA registers correctly! 1998-08-15 02:30:56 +00:00
mycroft 196dfd7597 Always map the EISA configuration registers. 1998-08-15 02:26:31 +00:00
thorpej e9c5407d64 Only map the amount of space the device actually occupies.
Part of PR #5279, Martin Musemann.
1998-08-15 01:59:25 +00:00
thorpej 93eb06f9f2 Don't bother with the num_memspace check. It makes some otherwise-working
cards (e.g. Xircom CM33) fail needlessly.

From Jan van Doorn <jdoorn@nc.com>, PR #5580.
1998-08-15 01:41:31 +00:00
thorpej 582d4a7856 Should not use SCSI_POLL if the system is not cold. 1998-08-15 01:32:55 +00:00
thorpej 9646d7f100 Add support for the D-Link DE-660. From Tero Kivinen <kivinen@ssh.fi>,
PR #5691.
1998-08-15 01:20:05 +00:00
thorpej 7ea79f1cb2 Regen. 1998-08-15 01:18:06 +00:00
thorpej be8a202a21 Add the D-Link DE-660. From Tero Kivinen <kivinen@ssh.fi>, PR #5691. 1998-08-15 01:17:51 +00:00
thorpej b3b533c44d Keep track if the disk has had done i/o, making it dirty. On last close,
or at shutdown, flush the cache if the disk is still dirty and it support
cache flushing.  Fixes PRs #5588 (Jim Bernard) and #5589 (Justin Gibbs).
1998-08-15 01:10:54 +00:00
ross c291189ae9 Have to fix the `(int)curproc' lossage now; kernel builds die here on alpha.
BTW, KNF requires the additional, not-technically-need `!= NULL'.
1998-08-15 00:04:00 +00:00
thorpej 1f4b4ceda6 Add support for the NewMedia BASICS Ethernet. Device info provided by
Stefan Grefen in PR #5902.
1998-08-14 23:31:22 +00:00
thorpej 5fa0fd5087 Regen. 1998-08-14 22:59:54 +00:00
thorpej 924090ec6d Add vendor ID for NewMedia Corporation, and product ID for NewMedia
BASICS Ethernet.  From Stefan Grefen, PR 5902.
1998-08-14 22:59:35 +00:00
drochner cea8e0a23f explicitely select the master before trying to access its registers 1998-08-14 20:39:04 +00:00
drochner a8d0a43ffa 2 changes to pciide_probe_wdc() (used in compatibility mode to check
if i drive is responding):
-if the reset succeeds, check some registers to make sure there is really
 a drive (and not a chipset which echoes back the last written value)
-explicitely select the master before trying to read the master's status
1998-08-14 20:35:40 +00:00
rvb a5f4270a21 Print program name when entering the debugger 1998-08-14 19:57:01 +00:00
mark a124d362a5 Minor code cleanups, KNF a couple of bits that got missed and remove
register keywords.
1998-08-14 18:04:04 +00:00
thorpej d5df55112a vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t 1998-08-14 16:50:00 +00:00
thorpej 97e83f6e0b Change the "vm_offset_t"s to "u_long"s for now; eventually, we can make
them vaddr_t and paddr_t, as appropriate (after scouring the RPB docs
to know which are phys and virt addresses).
1998-08-14 16:46:09 +00:00
augustss 308117258b Add filecorefs so we get the header files installed. 1998-08-14 13:05:37 +00:00
scottr e3e7e1673f Fix the NEXT_IA_WITH_SAME_ADDR macro introduced in 1.27: it was finding
the first in_ifaddr structure with a different internet address!  Reverse
the sense of the test.  Spotted by and fix from Eric Haszlakiewicz.
1998-08-14 06:57:54 +00:00
mark 170eadd04c Add FILECORE filesystem. 1998-08-14 03:56:21 +00:00
mark 0641969cd0 Added a vnode type for filecore fs (VT_FILECORE). 1998-08-14 03:31:16 +00:00
mark 10198359c6 Define filecore mount and filecore node memory types. 1998-08-14 03:29:49 +00:00
mark 922fa73143 Define the filecore filesystem MOUNT_FILECORE. 1998-08-14 03:28:56 +00:00
mark 69244872a4 deffs FILECORE
Added filecorefs files.
1998-08-14 03:27:51 +00:00
mark faf4eed3e3 Initial commit of Andrew McMurry's Acorn Filecore filesystem.
This is a read only implementation of the filecore filesystem found
on Acorn RiscPC machines (arm32).
1998-08-14 03:26:12 +00:00
rvb 4283228f33 Make message less confusing 1998-08-14 02:20:07 +00:00
mycroft 183442fe73 Emulate ulinear_be using slinear_be on later chips. 1998-08-14 00:49:23 +00:00
thorpej ae8bdb1e72 Make sure CIMDIS is set and FLINK is clear in the PCR. 1998-08-14 00:23:26 +00:00
thorpej f41c00629b Garbage-collect vm_offset_t and vm_size_t. 1998-08-13 21:36:27 +00:00
thorpej 330d142f16 vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t 1998-08-13 21:36:02 +00:00
thorpej aedf80a6e9 Oops, lots of missed vm_offset_t -> vaddr_t changes. 1998-08-13 21:20:47 +00:00
thorpej 057d49dba3 Second arg of vm_map_insert() is/was a vm_object_t. 1998-08-13 21:12:15 +00:00
thorpej 09efdbb42d Oops, this got missed in the vm_offset_t -> vaddr_t change. 1998-08-13 19:15:33 +00:00
rvb e829016cba Keep d_ncylinders correct 1998-08-13 18:18:54 +00:00
rvb 48bf26949f Report "true" disk geometry; like sd disks do 1998-08-13 18:16:53 +00:00
rvb d0153a96fe The sense of the pccons_is_console test is backwards 1998-08-13 18:00:05 +00:00
rvb 0430a2cf75 Include db_dbgregs.s for ddb 1998-08-13 17:55:41 +00:00
rvb 1ae4d7da86 Allow inb/outb and friends to be called from debugger.
Crude access to x86 hdw "debug" registers.
1998-08-13 17:54:15 +00:00
rvb 67390e1ee2 Make serial line debugging easier to enable and use 1998-08-13 17:41:10 +00:00
drochner 9b25897ec0 minor consistency nit: the page index into an anon object is always
assigned to from integer types, and it is compared to integers. So
let it be an integer instead of vsize_t.
1998-08-13 17:32:46 +00:00
augustss 523a2c670a Make sure to turn off timeout flag when doing untimeout(). 1998-08-13 15:50:57 +00:00
augustss 33a864ee58 Fix typo. 1998-08-13 15:15:28 +00:00
nathanw 55491ea367 Rototill match algorithim. New scheme:
1. Does the function claim to be a serial port?
2. Does the function's configuration table present all four
   standard ISA com port ranges?
3. Is the device in our table?

New serial devices do not need to be added to the table unless they
fail both (1) and (2).
1998-08-13 15:08:54 +00:00
nathanw a461703d7f Use PCMCIA_FUNCTION definitions.
Initialize function ID in new pcmcia_function structures to
PCMCIA_FUNCTION_UNSPEC, not PCMCIA_FUNCTION_MULTIFUNCTION (0).
1998-08-13 15:03:06 +00:00
nathanw 5417a1681d Add PCMCIA_FUNCTION_* macros, for function types defined by
PCMCIA_CISTPL_FUNCID.
1998-08-13 15:00:02 +00:00
scottr 18b4602fd5 Add a comment regarding the broken behavior of the DAFB v7. 1998-08-13 13:45:33 +00:00
augustss dd1665ce4b Fix typo in SYSEX code. 1998-08-13 12:40:20 +00:00
kleink 5350df2953 Per POSIX, fail with EINVAL if advisory locking is attempted on a file type
that doesn't support it, rather than using a homegrown EBADF or EOPNOTSUPP.
1998-08-13 10:06:31 +00:00
kleink bf1863d17b Add genfs_einval(), which does the obvious thing. 1998-08-13 09:59:52 +00:00
mrg 7165d3f691 change the value of audio_prinfo.seek from u_long to u_int before it causes
too much damange.  everything else here is the same in a 64bit vs. 32bit
world, so keep it all simple.  the alpha was the only port to have any real
affect for this, and it only very recently begun to support some audio
devices so it doesn't really apply here.  1.3/alpha did not support audio..
1998-08-13 06:28:41 +00:00
tsubai 0acc329dad Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now. 1998-08-13 06:21:38 +00:00
tsubai a750861e5d Mask interrupt by hardware register if possible. 1998-08-13 06:18:27 +00:00
kim f750a7d47e device ess was listed twice 1998-08-13 04:53:18 +00:00
eeh a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
augustss c987d23146 Remove some leftover fluff.
Make sure there is no outstanding timeout when the sequencer is closed.
1998-08-13 00:13:56 +00:00
augustss 331bfdf5a0 Fix byte order bug I accidentally introduced. 1998-08-13 00:08:53 +00:00
thorpej 798cb235bc Oops, I forgot aliases for some old names (10baseT/UTP, 10base2/BNC,
and 10base5/AUI).
1998-08-12 23:23:29 +00:00
thorpej 94e489e277 If the autonegotiation is enabled, the PAR doesn't indicate duplex mode
properly!  Work around this by determing current active media by taking
the highest-order common bit of our advertised capabilites and the link
partner's.

If the link partner doens't do autonegotiation, then parallel detection will
pick up the media type, which will never be full-duplex, so reading the PAR
is ok in this case.

Bug pointed out by Matthias Drochner, work-around inspired by reading
the dp83840 manual, section 3.9 (IEEE 802.3u auto-negotiation).
1998-08-12 22:41:21 +00:00
thorpej d95a6e9dec Make a variable name reflect a register name. 1998-08-12 22:27:42 +00:00
thorpej d4a5a3d0ef Run the shutdown hook w/ SCSI_AUTOCONF. 1998-08-12 22:15:57 +00:00