Commit 7886130
committed
Pull up following revision(s) (requested by jmcneill in ticket NetBSD#69):
sys/dev/ic/bwi.c: revision 1.45
sys/dev/ic/bwireg.h: revision 1.6
sys/dev/ic/bwivar.h: revision 1.12
bwi: AMRR fix, PCI/cardbus interrupt fix, and other enhancements.
- Fix AMRR by passing the correct "retry count" to _bwi_txeof() from
bwi_txeof(). While here, cleanup parsing of BWI_TXSTATUS_0 fields to
make the code more readable.
- IPL_SOFTNET is enough for PIO locks and workqueues, no need for IPL_NET
- Extend the SDIO bus intr_mask fix to all busses, I'd be amazed if
PCI or Cardbus devices worked at all with the old code.
- Since we only load firmware from disk once, only log the firmware
revision once. Previously it was being printed every time bwi_init was
called.1 parent 6077deb commit 7886130
3 files changed
+33
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
| 722 | + | |
| 723 | + | |
723 | 724 | | |
724 | 725 | | |
725 | 726 | | |
| |||
735 | 736 | | |
736 | 737 | | |
737 | 738 | | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | 739 | | |
745 | 740 | | |
746 | 741 | | |
| |||
894 | 889 | | |
895 | 890 | | |
896 | 891 | | |
897 | | - | |
| 892 | + | |
898 | 893 | | |
899 | 894 | | |
900 | 895 | | |
901 | 896 | | |
902 | 897 | | |
903 | 898 | | |
904 | | - | |
| 899 | + | |
905 | 900 | | |
906 | 901 | | |
907 | 902 | | |
| |||
2142 | 2137 | | |
2143 | 2138 | | |
2144 | 2139 | | |
2145 | | - | |
2146 | | - | |
2147 | | - | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
2148 | 2146 | | |
2149 | 2147 | | |
2150 | 2148 | | |
| |||
7596 | 7594 | | |
7597 | 7595 | | |
7598 | 7596 | | |
7599 | | - | |
| 7597 | + | |
| 7598 | + | |
7600 | 7599 | | |
7601 | 7600 | | |
7602 | 7601 | | |
| |||
8057 | 8056 | | |
8058 | 8057 | | |
8059 | 8058 | | |
8060 | | - | |
| 8059 | + | |
8061 | 8060 | | |
8062 | 8061 | | |
8063 | 8062 | | |
| |||
10017 | 10016 | | |
10018 | 10017 | | |
10019 | 10018 | | |
10020 | | - | |
| 10019 | + | |
| 10020 | + | |
10021 | 10021 | | |
10022 | 10022 | | |
10023 | 10023 | | |
10024 | 10024 | | |
10025 | 10025 | | |
10026 | 10026 | | |
10027 | 10027 | | |
10028 | | - | |
| 10028 | + | |
10029 | 10029 | | |
10030 | | - | |
| 10030 | + | |
| 10031 | + | |
10031 | 10032 | | |
| 10033 | + | |
10032 | 10034 | | |
10033 | | - | |
| 10035 | + | |
10034 | 10036 | | |
10035 | 10037 | | |
| 10038 | + | |
| 10039 | + | |
| 10040 | + | |
10036 | 10041 | | |
10037 | 10042 | | |
10038 | 10043 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
693 | 696 | | |
694 | 697 | | |
695 | 698 | | |
| |||
0 commit comments