Commit Graph

221 Commits

Author SHA1 Message Date
thorpej
7ca3fb9ef0 Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
bjh21
2e61c1bdb7 Correct spelling and capitalisation of "EtherLan".
Add EtherLan 100Lk (8-bit mini-podule).
2000-07-22 15:05:47 +00:00
mrg
b564830503 remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:44:03 +00:00
mrg
d726c1dfc5 remove redundant vm includes. 2000-06-27 09:09:51 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
bjh21
6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
drochner
5e990a7f7c implement bus_space_vaddr() 2000-04-17 17:39:17 +00:00
tsutsui
9100212ef0 Add a "sc_rev" member to ncr5380_softc and handle CXD1180 quirk
in MI ncr5380sbc.
2000-03-25 15:27:54 +00:00
thorpej
b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
mycroft
e1a7dc9b2a Fix line wrapping. 2000-03-18 16:16:12 +00:00
mycroft
0af581a1a1 Add a ncr5380_attach() routine which does part of the initialization, attaches
the scsibus, and does the addref/delref dance.
2000-03-18 16:13:22 +00:00
thorpej
d0bb9fdf22 Remove one line of junk. 2000-01-18 19:36:58 +00:00
mark
62645f43ba Add support for a boot argument podule?=mmmmpppp to enable the manufacturer
and product IDs for a podule to be overriden. The IDs are specified in hex.
A value of "ffff" means disable and replaces the podule?.disable option.
This allows podules whose IDs have been changed e.g. by PowerROMs to still
have the correct driver attached.
Based on my original patch but tided up and debugged by Stephen Hobbs.
2000-01-10 04:01:17 +00:00
tron
b226b8aa37 Increase packet counter before passing packets to BPF. 1999-11-30 17:02:39 +00:00
tron
8f0521d4a1 Increase packet counter before calling the input routine like all the
other ethernet interface drivers do.
1999-11-30 00:05:56 +00:00
tron
a260687a14 Increase packet counter if a packet is received. This might fix
PR port-arm32/8527.
1999-11-30 00:02:51 +00:00
mark
3d347d6d24 Regenerate from podules. 1999-11-12 07:38:51 +00:00
mark
9d919b7239 Add EtherI and EtherN podule ID's
From Mike Pumford, part of PR/8765.
1999-11-12 07:37:21 +00:00
cgd
c9c2181ed9 provide an __ELF__ version of _C_FUNC and _C_LABEL, convert the assembly
#defines in asm.h to use them, and convert code which needs to use C labels
to use _C_LABEL as well.  (I can't see any reason why the label vs. function
differentiation shouldn't be GC'd; i only added uses of _C_LABEL.)  This
should help if this port is converted to use ELF, and was checked by
compiling all kernels in arm32/conf (with some driver removals and some
MI header fixups re: common blocks) with an arm-linux ELF toolchain.
1999-10-26 06:53:41 +00:00
mark
1d1283b4c0 Make this build again. 1999-10-24 22:19:47 +00:00
thorpej
e6c88a7686 Update for SCSIPI changes. 1999-09-30 22:59:52 +00:00
tron
5f94d21164 Fix typo in "#ifdef" in ie_read_frame() which prevented Berkeley Packet
Filters from working correctly. Fixes PR port-arm32/8343 by
Richard Earnshaw.
1999-09-13 20:17:35 +00:00
thorpej
3ebbe095e0 Change the pmap_extract() interface to:
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
thorpej
87a9ee7804 Copy alignment fix from dev/ic/i82586.c (Um, this copy of the driver
needs to die, pretty please.)
1999-05-21 21:31:37 +00:00
thorpej
f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
587eda7c3f Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
1999-03-25 23:11:51 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
mark
34a92d6f82 Fix addressing problem for the aux status register. Whilst reads of this
read appear to be aliased in the address space, writes are not thus the
correct address is important in order to reset drives.
1999-03-22 10:14:12 +00:00
mark
3aca0028f1 Fix else ambiguity. 1999-02-28 10:01:08 +00:00
mark
8b41c31868 Fix compiler warning. 1999-02-28 09:59:33 +00:00
mark
444401c526 Fix `void *' arithmetic. 1999-01-09 21:18:54 +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
mycroft
b3c9835be1 r13-r15 -> sp, lr, pc 1998-12-12 17:28:05 +00:00
mjacob
74bc9f26d5 Update HBAs to incorporate the new max_lun property. 1998-12-05 19:43:33 +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
drochner
1e2b2f29f2 one more (last?) wdc_channels adaption 1998-11-22 14:55:29 +00:00
drochner
e1244719fd oops - forget update for wdc_channels definition change 1998-11-22 14:36:38 +00:00
thorpej
5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
thorpej
56066ad5fb Add media list, media list count, and default media arguments to
ne2000_attach().
1998-10-28 00:13:47 +00:00
bouyer
19fddaeeb5 Merge bouyer-ide 1998-10-12 16:09:10 +00:00
thorpej
29d472f53d Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
1998-10-10 00:28:28 +00:00
mark
7af1966350 Regenerate from podules. 1998-09-26 03:30:50 +00:00
mark
a96d8e733a Add EESOX manufacturer ID and SCSI2 podule ID. 1998-09-26 03:29:36 +00:00
mark
a77e995d18 This file is no longer needed with the rewritten attachment to use the
MI wdc driver.
1998-09-22 00:42:40 +00:00
mark
071b4fc4d2 Re-written the wdc attachments to attach to the MI wdc driver instead
of the MD one.
1998-09-22 00:40:37 +00:00
mark
9f474557fe Allow boot arguments to override the host id on a per instance basis. 1998-09-18 03:23:19 +00:00
mark
7115a4f53e Updated several comments and acknowledgements. 1998-09-05 01:12:14 +00:00
mark
edb737d09d Initial commit of a Cumana SCSI II driver using the sfas chip driver. 1998-09-01 02:24:11 +00:00
mark
25ae95328f Use kernel_pmap->pm_pdir instead of PAGE_DIRS_BASE when mapping podule
space.
1998-08-28 03:19:34 +00:00
mark
61bd706797 Include machine/vmparam.h 1998-08-25 21:56:14 +00:00