toshii
b2cb6de80e
Use sa11x0_bs_tag instead of mainbus_bs_tag.
2001-03-10 13:34:34 +00:00
briggs
0828a1bcd0
Make this work on a PowerPC system:
...
- Load the DMA address a byte at a time, and
- Use bus_space_read_stream_2() instead of bus_space_read_2() when reading
the byte-stream of configuration data from the card.
Sanity-checked on both i386 and sandpoint. Reviewed by ad.
2001-03-10 13:30:55 +00:00
toshii
a62d9f6fa0
Handle the offset argument in bus_space_{read,write}* correctly.
2001-03-10 13:29:38 +00:00
toshii
4333644371
Copy bus_space_map() function from arm/mainbus/mainbus_io.c.
2001-03-10 13:27:53 +00:00
minoura
8cba02bdf9
Turn off options JUPITER temporarily.
...
This may cause problems on some newer accelerators.
We might have to write a more accurate detect code.
2001-03-10 03:23:09 +00:00
leo
b44e732ff6
Expand bus_dma implementation. It will now handle the bounce buffer
...
extensions needed to make the isa floppy driver on the Milan work.
2001-03-09 20:55:46 +00:00
thorpej
85868e3c09
Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE.
2001-03-09 20:05:39 +00:00
toshii
9224009c5d
Fix bugs in delay().
...
- it could wait infinitely.
- large roundoff error.
2001-03-09 18:55:29 +00:00
bjh21
1f9f430e03
Patch from Richard Earnshaw:
...
Add some calls to drain the write buffers -- these are particularly
important when we are trying to synchronize I$ and D$.
2001-03-09 16:24:51 +00:00
bjh21
5a6e5a05e3
Increase the size of regions for which we use the single line flush
...
commands -- profiling shows this to be a major win over flushing the
entire cache (since the likelihood is that such lines won't be in the
cache anyway).
Patch supplied by Richard Earnshaw.
2001-03-09 16:17:19 +00:00
briggs
8f833ca839
Goes along with rev. 1.25/1.26 of if_sip.c -- forgot to commit.
2001-03-09 16:12:29 +00:00
explorer
b12c43f70a
Only lock the pack in if the disk device is a removable one. This fixes a
...
problem with Hitachi SCA drives
2001-03-09 16:07:39 +00:00
briggs
75a60f539a
More fixes for the DP83815...
...
- Set the destination address register properly for "perfect match" mode
in the receive filter setup.
- Do not enable multicast receipt unless we are configured for some multicast.
- Use the "recommended settings" (which set undocumented registers and
documented-as-reserved fields) for the silicon revision 302h (not 203h,
as documented in one of the two places in the manual) because the
documentation is unclear and because those settings fix the card's
behavior in "perfect match" mode. Without those settings, the card
was generating random CRC/invalid symbol errors and generally not
working unless it was set to be promiscuous.
With these changes, this week's version of the Netgear FA311 works for me.
2001-03-09 16:07:20 +00:00
tsutsui
d507b847c6
Declare constty extern.
2001-03-09 13:35:50 +00:00
toshii
aa76b5208c
Make it compile again after arm, arm32 changes.
2001-03-09 12:13:15 +00:00
pk
1b84e6fb33
pasto: sc_maddr => sc_mem
2001-03-09 10:19:54 +00:00
sato
80214041c7
support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
...
lcd on/off
2001-03-09 08:54:18 +00:00
briggs
77a57bede4
Add a variant hook to read the ethernet MAC address from EEPROM differently
...
for the SiS 900 and the DP83815. Also add some configuration suggested by
the DP83815 documentation for one model of the DP83815.
2001-03-09 07:42:24 +00:00
chs
83d071a318
add UBC memory-usage balancing. we track the number of pages in use for
...
each of the basic types (anonymous data, executable image, cached files)
and prevent the pagedaemon from reusing a given page if that would reduce
the count of that type of page below a sysctl-setable minimum threshold.
the thresholds are controlled via three new sysctl tunables:
vm.anonmin, vm.vnodemin, and vm.vtextmin. these tunables are the
percentages of pageable memory reserved for each usage, and we do not allow
the sum of the minimums to be more than 95% so that there's always some
memory that can be reused.
2001-03-09 01:02:10 +00:00
bjh21
f6c36838ae
Use the same undefined-instuction handler on both arm26 and arm32. The handler
...
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.
arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.
2001-03-08 21:30:35 +00:00
bjh21
c0aee693f5
Add a missing part of FPU support.
2001-03-08 21:12:48 +00:00
is
6288edb5bd
Add rcsid.
2001-03-08 19:21:53 +00:00
thorpej
32a284db3a
Make sure data after the header is aligned, so that this works on
...
systems with strict alignment constraints.
kern/12356, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:33:43 +00:00
thorpej
09cc55c97c
Add additional padding to the status record, needed by the AIR-PCM342.
...
kern/12357, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:30:50 +00:00
uch
736e48bc36
enable CF slot.
2001-03-08 15:21:31 +00:00
uch
c567a80bdc
CF memory mapped addressing mode. http://www.compactflash.org/cfspc1_4.pdf
2001-03-08 15:20:57 +00:00
uch
41207e71d6
channel 1 interface don't provide fake pcmcia io space tag.
2001-03-08 15:13:14 +00:00
ichiro
69243771db
Fix powerhook routine.
...
support resume/suspend.
2001-03-08 12:54:45 +00:00
ichiro
1aba32dc5e
it wait until busy flag disappears.
...
it was able to prevent some cards with late initializing faling in wi_reset().
2001-03-08 11:07:08 +00:00
itojun
27a0af5865
nd6_storelladdr() was not consistent about m_freem() policy.
...
do not touch RTF_STATIC entries (static ND entries) on ND cache update.
couple of costmetic sync. sync with kame
2001-03-08 10:49:32 +00:00
itojun
7695280d34
more missing splx. from kame
2001-03-08 10:48:40 +00:00
thorpej
c46615a68b
Config glue for the CardBus front-end for the Advansys SCSI driver.
...
kern/12431, takashi.yamamoto@bigfoot.com .
2001-03-08 06:56:22 +00:00
thorpej
37208e0bb3
Add a CardBus front-end for the Advansys SCSI driver.
...
Provided by takashi.yamamoto@bigfoot.com , kern/12341.
2001-03-08 06:55:38 +00:00
thorpej
54bb0eddd9
Preliminary support for detaching an "adv" instance. This
...
could use some more work.
Derived from kern/12341, takashi.yamamoto@bigfoot.com .
2001-03-08 06:49:49 +00:00
thorpej
4fc2dd570b
Regen; added Advansys Ultra SCSI.
2001-03-08 04:25:04 +00:00
thorpej
daa88b6a11
Add Advansys Ultra SCSI. Modified from kern/12341, from
...
takashi.yamamoto@bigfoot.com .
2001-03-08 04:24:41 +00:00
thorpej
21a0f1ac65
advlib.c and advmcode.c should be built for all adv, not
...
just adv_pci. From takashi.yamamoto@bigfoot.com , kern/12341.
2001-03-08 04:18:17 +00:00
enami
d189c89a19
- lineup comment.
...
- fix typo in comment.
2001-03-08 03:22:28 +00:00
thorpej
6665b106a3
Add BUS_DMA_STREAMING to data transfer map loads.
2001-03-08 02:36:35 +00:00
thorpej
c8f050a7f1
Use bus_dmamap_load(), not bus_dmamap_load_raw(), and add
...
BUS_DMA_STREAMING to data transfer map loads.
2001-03-08 02:21:44 +00:00
thorpej
00ddf90164
Use bus_dmamap_load(), not bus_dmamap_load_raw().
2001-03-08 02:20:39 +00:00
thorpej
5dedbd1c97
Duh, don't forget the proc argument.
2001-03-08 01:46:18 +00:00
thorpej
3423154d78
Use bus_dmamap_load(), not bus_dmamap_load_raw().
2001-03-08 01:38:57 +00:00
itojun
912f42ecda
remove bogus rtfree. sync with kame. inspired by openbsd PR 1706.
2001-03-08 00:19:03 +00:00
itojun
5a30bafe14
Remove a bogus rtfree(); OpenBSD PR 1706.
2001-03-08 00:17:05 +00:00
thorpej
fd7ed72be1
Add BUS_DMA_STREAMING to data transfer maps.
2001-03-07 23:07:12 +00:00
itojun
4e45315377
missing splx. from aaron@openbsd. sync with kame
2001-03-07 22:50:14 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
tsubai
5e917b9c4d
Add another CPU ID for G4; PowerBook G4 has different PVR value.
2001-03-07 12:44:05 +00:00
tsubai
83eac66533
Cosmetics.
2001-03-07 08:18:45 +00:00