Commit Graph

3 Commits

Author SHA1 Message Date
itojun 5f1c4bb519 use memory mapped address, instead of i/o memory access, for control
registers.  rationale:
- Netwave cards choke if we map i/o memory to >= 0x400
- even though, CIS tuple talks nothing about it
- it is not possible to specify range in pcmcia_io_map
- it would be very bad to do a try-and-error bus_space allocation for
  i/o memory regions < 0x400
- we can have exactly the same functionality with memory mapped access
this should correct PR 10139.

the memory mapped access idea was from WIDE wildboar/bsdi cnw code.
2000-07-05 18:42:19 +00:00
itojun 1b6504a175 improve cnw driver, looking at bsdi/freebsd-pao cnw driver by wide+prb@bsdi.
- implement ioctls compatible with bsdi/freebsd-pao.  stat type is
  changed from u_int to u_quad_t to avoid overflows.  now it is possible
  to switch domain/encryption key from the userland, using cnwctl(8).
- implement multicast/promiscuous mode.  tested with IPv6.
1999-11-29 12:53:59 +00:00
christos 512db6124c Add Xircom Netwave driver from Michael Eriksson 1999-01-01 19:30:03 +00:00